libcontrac.git
4 years agoAdd initial crypto functionality
David Llewellyn-Jones [Sun, 19 Apr 2020 16:18:30 +0000 (19:18 +0300)]
Add initial crypto functionality

Adds the functionality from the crypto spec:

1. Generate random Tracing Keys.
2. Generate Daily Tracing Keys.
3. Generate Rolling Proximity Identifiers.
4. Match a list of collected beacons (RPIs) with a list of downloaded
diagnosis keys (DTKs).

Includes unit tests, but these don't currently use the official test
vectors because I don't yet know how I can get hold of them.

4 years agoInitial project structure
David Llewellyn-Jones [Sat, 18 Apr 2020 17:26:27 +0000 (20:26 +0300)]
Initial project structure