Searched defs:X25519_SIZE (Results 1 – 2 of 2) sorted by relevance
380 int x25519(const u8 k[X25519_SIZE], const u8 u[X25519_SIZE], u8 res[X25519_SIZE]) in x25519()385 int x25519_gen_priv_key(u8 priv_key[X25519_SIZE]) in x25519_gen_priv_key()390 int x25519_init_pub_key(const u8 priv_key[X25519_SIZE], u8 pub_key[X25519_SIZE]) in x25519_init_pub_key()395 int x25519_derive_secret(const u8 priv_key[X25519_SIZE], const u8 peer_pub_key[X25519_SIZE], u8 sha… in x25519_derive_secret()
22 #define X25519_SIZE 32 macro