Lines Matching refs:CURVE25519_SIZE
72 #define CURVE25519_SIZE 32 macro
169 u_char c25519_client_key[CURVE25519_SIZE]; /* 25519 + KEM */
170 u_char c25519_client_pubkey[CURVE25519_SIZE]; /* 25519 */
237 void kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE])
238 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
239 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));
240 int kexc25519_shared_key(const u_char key[CURVE25519_SIZE],
241 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
242 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
243 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));
244 int kexc25519_shared_key_ext(const u_char key[CURVE25519_SIZE],
245 const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int)
246 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
247 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));