Searched refs:CURVE25519_KEY_SIZE (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/wireguard-tools/ |
H A D | curve25519.h | 13 CURVE25519_KEY_SIZE = 32 enumerator 16 …ypublic[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE25519_KEY_SIZE], const uint8… 17 …e25519_generate_public(uint8_t pub[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE2… 18 static inline void curve25519_clamp_secret(uint8_t secret[static CURVE25519_KEY_SIZE]) in curve25519_clamp_secret() argument
|
H A D | curve25519.c | 88 …e25519_generate_public(uint8_t pub[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE2… in curve25519_generate_public() argument 90 static const uint8_t basepoint[CURVE25519_KEY_SIZE] __aligned(sizeof(uintptr_t)) = { 9 }; in curve25519_generate_public() 95 …ypublic[static CURVE25519_KEY_SIZE], const uint8_t secret[static CURVE25519_KEY_SIZE], const uint8… in curve25519() argument
|
H A D | curve25519-hacl64.h | 755 static void curve25519_generic(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519_generic() argument 756 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_generic() argument 757 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519_generic() argument
|
H A D | curve25519-fiat32.h | 752 static void curve25519_generic(u8 out[CURVE25519_KEY_SIZE], in curve25519_generic() argument 753 const u8 scalar[CURVE25519_KEY_SIZE], in curve25519_generic() argument 754 const u8 point[CURVE25519_KEY_SIZE]) in curve25519_generic() argument
|
/freebsd/sys/crypto/ |
H A D | curve25519.h | 36 #define CURVE25519_KEY_SIZE 32 macro 54 arc4random_buf(secret, CURVE25519_KEY_SIZE); in curve25519_generate_secret()
|
/freebsd/sys/dev/wg/ |
H A D | wg_noise.h | 12 #define NOISE_PUBLIC_KEY_LEN CURVE25519_KEY_SIZE
|