1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00

Change the private key format in the NewHope API

This commit is contained in:
Rhys Weatherley
2016-08-24 05:24:51 +10:00
parent ca67bdbae0
commit 824e1c2eb2
3 changed files with 33 additions and 23 deletions

View File

@@ -96,7 +96,7 @@ static struct TestVector const testNewHope2 = { // "torref" variant
0x3c, 0xfb, 0x28, 0xcc, 0xda, 0xe6, 0x36, 0x0c}
};
NewHopePoly alice_private;
NewHopePrivateKey alice_private;
uint8_t alice_public[NEWHOPE_SENDABYTES];
uint8_t alice_shared[NEWHOPE_SHAREDBYTES];
uint8_t bob_public[NEWHOPE_SENDBBYTES];