New! The DPA contest v2 (2009-2010) is online. Click here to go to the website of the new edition.
Download
In this section, you can download the Python source code of the DPA reference implementation. You can use parts of this code, like the database access or DES internal data computation, to implement your own algorithm. You can get this source code either by using subversion or by downloading the snapshot archive.SVN Repository
The subversion repository is accessible using the username guest with the password guest at the following URL: https://svn.comelec.enst.fr/dpacontest/ You can find there:- the DPA reference implementation, which runs the Paul Kocher's one bit partitioning algorithm on DES first round: https://svn.comelec.enst.fr/dpacontest/code/reference/ and
- the DPA implementations submitted by the participants of the contest.
- you can browse https://svn.comelec.enst.fr/dpacontest/code/reference/ with your web browser (just click on the link), or
- use a subversion client to fetch recursively all files.
For instance, from a command line client, type:
- svn ls https://svn.comelec.enst.fr/dpacontest/code/reference/ to list the directory's content,
- svn co https://svn.comelec.enst.fr/dpacontest/code/reference/ to check-out the directory's content on your local file system.
-
From a GUI-based client,
such as TortoiseSVN,
proceed as follows:
- Check-out the reference attack code by clicking-right in the Windows Explorer:

- Accept the certificate of the https protocol:

- Authenticate with the username guest and the password guest:

- TortoiseSVN now informs you that the check-out is successful.
You have a working copy of the reference DPA software, you can execute with a python interpreter:

- To update, check-in, etc., using the ad hoc menus that fold while clicking right:

- Check-out the reference attack code by clicking-right in the Windows Explorer: