DP-3T / gaenlib

0 stars 1 forks source link

Include the crypto library, with test-vectors #4

Closed ineiti closed 4 years ago

ineiti commented 4 years ago

Use the file from

https://github.com/CoraLibre/CoraLibre-android-sdk/blob/master/sdk/src/main/java/org/coralibre/android/sdk/internal/crypto/CryptoModule.java or https://github.com/mh-/exposure-notification-ble-python/blob/master/lib/en_crypto.py (converting to java) or https://github.com/DP-3T/gaenlib/tree/master/impl-python (converting to java)

to implement the crypto-specification.

Is part of the implementation of #3

Some test-vectors are here: https://github.com/corona-warn-app/cwa-app-android/issues/75#issuecomment-640114705

Might be good to verify they match the impl-python, too.

cgrigis commented 4 years ago

Closed in favor of #9