Lines Matching refs:CURVE25519_KEY_SIZE
9 u8 private[CURVE25519_KEY_SIZE];
10 u8 public[CURVE25519_KEY_SIZE];
11 u8 result[CURVE25519_KEY_SIZE];
1287 u8 in[CURVE25519_KEY_SIZE]; in curve25519_selftest()
1288 u8 out[CURVE25519_KEY_SIZE], out2[CURVE25519_KEY_SIZE], in curve25519_selftest()
1289 out3[CURVE25519_KEY_SIZE]; in curve25519_selftest()
1292 memset(out, 0, CURVE25519_KEY_SIZE); in curve25519_selftest()
1297 CURVE25519_KEY_SIZE)) { in curve25519_selftest()
1306 ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in curve25519_selftest()
1307 curve25519_generic(out3, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in curve25519_selftest()
1309 memcmp(out, out2, CURVE25519_KEY_SIZE) || in curve25519_selftest()
1310 memcmp(out, out3, CURVE25519_KEY_SIZE)) { in curve25519_selftest()
1313 for (j = CURVE25519_KEY_SIZE; j-- > 0;) in curve25519_selftest()