Symbol: CURVE25519_KEY_SIZE
drivers/net/wireguard/messages.h
18
NOISE_PUBLIC_KEY_LEN = CURVE25519_KEY_SIZE,
include/crypto/curve25519.h
16
void curve25519_generic(u8 out[at_least CURVE25519_KEY_SIZE],
include/crypto/curve25519.h
17
const u8 scalar[at_least CURVE25519_KEY_SIZE],
include/crypto/curve25519.h
18
const u8 point[at_least CURVE25519_KEY_SIZE]);
include/crypto/curve25519.h
21
curve25519(u8 mypublic[at_least CURVE25519_KEY_SIZE],
include/crypto/curve25519.h
22
const u8 secret[at_least CURVE25519_KEY_SIZE],
include/crypto/curve25519.h
23
const u8 basepoint[at_least CURVE25519_KEY_SIZE]);
include/crypto/curve25519.h
26
curve25519_generate_public(u8 pub[at_least CURVE25519_KEY_SIZE],
include/crypto/curve25519.h
27
const u8 secret[at_least CURVE25519_KEY_SIZE]);
include/crypto/curve25519.h
30
curve25519_clamp_secret(u8 secret[at_least CURVE25519_KEY_SIZE])
include/crypto/curve25519.h
37
curve25519_generate_secret(u8 secret[at_least CURVE25519_KEY_SIZE])
include/crypto/curve25519.h
39
get_random_bytes_wait(secret, CURVE25519_KEY_SIZE);
lib/crypto/arm/curve25519.h
17
asmlinkage void curve25519_neon(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/arm/curve25519.h
18
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/arm/curve25519.h
19
const u8 basepoint[CURVE25519_KEY_SIZE]);
lib/crypto/arm/curve25519.h
23
static void curve25519_arch(u8 out[CURVE25519_KEY_SIZE],
lib/crypto/arm/curve25519.h
24
const u8 scalar[CURVE25519_KEY_SIZE],
lib/crypto/arm/curve25519.h
25
const u8 point[CURVE25519_KEY_SIZE])
lib/crypto/arm/curve25519.h
35
static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE],
lib/crypto/arm/curve25519.h
36
const u8 secret[CURVE25519_KEY_SIZE])
lib/crypto/curve25519-fiat32.c
756
void curve25519_generic(u8 out[CURVE25519_KEY_SIZE],
lib/crypto/curve25519-fiat32.c
757
const u8 scalar[CURVE25519_KEY_SIZE],
lib/crypto/curve25519-fiat32.c
758
const u8 point[CURVE25519_KEY_SIZE])
lib/crypto/curve25519-hacl64.c
757
void curve25519_generic(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/curve25519-hacl64.c
758
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/curve25519-hacl64.c
759
const u8 basepoint[CURVE25519_KEY_SIZE])
lib/crypto/curve25519.c
19
static const u8 curve25519_null_point[CURVE25519_KEY_SIZE] __aligned(32) = { 0 };
lib/crypto/curve25519.c
20
static const u8 curve25519_base_point[CURVE25519_KEY_SIZE] __aligned(32) = { 9 };
lib/crypto/curve25519.c
25
static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
26
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
27
const u8 basepoint[CURVE25519_KEY_SIZE])
lib/crypto/curve25519.c
32
static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
33
const u8 secret[CURVE25519_KEY_SIZE])
lib/crypto/curve25519.c
40
curve25519(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
41
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
42
const u8 basepoint[CURVE25519_KEY_SIZE])
lib/crypto/curve25519.c
46
CURVE25519_KEY_SIZE);
lib/crypto/curve25519.c
51
curve25519_generate_public(u8 pub[CURVE25519_KEY_SIZE],
lib/crypto/curve25519.c
52
const u8 secret[CURVE25519_KEY_SIZE])
lib/crypto/curve25519.c
55
CURVE25519_KEY_SIZE)))
lib/crypto/curve25519.c
58
return crypto_memneq(pub, curve25519_null_point, CURVE25519_KEY_SIZE);
lib/crypto/powerpc/curve25519.h
175
static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/powerpc/curve25519.h
176
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/powerpc/curve25519.h
177
const u8 basepoint[CURVE25519_KEY_SIZE])
lib/crypto/powerpc/curve25519.h
182
static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE],
lib/crypto/powerpc/curve25519.h
183
const u8 secret[CURVE25519_KEY_SIZE])
lib/crypto/tests/curve25519_kunit.c
11
u8 private[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
12
u8 public[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
1290
u8 out[CURVE25519_KEY_SIZE] = {};
lib/crypto/tests/curve25519_kunit.c
13
u8 result[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
1305
u8 in[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
1306
u8 out[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
1307
u8 out2[CURVE25519_KEY_SIZE];
lib/crypto/tests/curve25519_kunit.c
1312
ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 });
lib/crypto/tests/curve25519_kunit.c
1314
"in=%*phN", CURVE25519_KEY_SIZE, in);
lib/crypto/tests/curve25519_kunit.c
1315
KUNIT_EXPECT_MEMEQ_MSG(test, out, out2, CURVE25519_KEY_SIZE,
lib/crypto/tests/curve25519_kunit.c
1316
"in=%*phN", CURVE25519_KEY_SIZE, in);
lib/crypto/tests/curve25519_kunit.c
1326
u8 out[CURVE25519_KEY_SIZE];
lib/crypto/x86/curve25519.h
1589
static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE],
lib/crypto/x86/curve25519.h
1590
const u8 secret[CURVE25519_KEY_SIZE],
lib/crypto/x86/curve25519.h
1591
const u8 basepoint[CURVE25519_KEY_SIZE])
lib/crypto/x86/curve25519.h
1599
static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE],
lib/crypto/x86/curve25519.h
1600
const u8 secret[CURVE25519_KEY_SIZE])