Lines Matching defs:CURVE25519_SIZE
65 #define CURVE25519_SIZE 32
174 u_char c25519_client_key[CURVE25519_SIZE]; /* 25519 + KEM */
175 u_char c25519_client_pubkey[CURVE25519_SIZE]; /* 25519 */
260 void kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE])
261 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
262 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));
263 int kexc25519_shared_key(const u_char key[CURVE25519_SIZE],
264 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
265 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
266 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));
267 int kexc25519_shared_key_ext(const u_char key[CURVE25519_SIZE],
268 const u_char pub[CURVE25519_SIZE], struct sshbuf *out, int)
269 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
270 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));