take a lazy approach to key agreement generation to not hold up boot time for nfc

This commit is contained in:
Conor Patrick
2019-08-20 21:27:52 +08:00
parent adcbd3aeb8
commit a72f0ede05
4 changed files with 18 additions and 7 deletions

View File

@ -26,6 +26,7 @@ void crypto_sha512_final(uint8_t * hash);
void crypto_ecc256_init();
void crypto_ecc256_derive_public_key(uint8_t * data, int len, uint8_t * x, uint8_t * y);
void crypto_ecc256_compute_public_key(uint8_t * privkey, uint8_t * pubkey);
void crypto_ecc256_load_key(uint8_t * data, int len, uint8_t * data2, int len2);
void crypto_ecc256_load_attestation_key();