Home
last modified time | relevance | path

Searched refs:CURVE25519_KEY_SIZE (Results 1 – 9 of 9) sorted by relevance

/linux/lib/crypto/
H A Dcurve25519.c19 static const u8 curve25519_null_point[CURVE25519_KEY_SIZE] __aligned(32) = { 0 };
20 static const u8 curve25519_base_point[CURVE25519_KEY_SIZE] __aligned(32) = { 9 };
25 static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519_arch() argument
26 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_arch() argument
27 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519_arch() argument
32 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch() argument
33 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch() argument
40 curve25519(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519() argument
41 const u8 secret[CURVE25519_KEY_SIZE], in curve25519() argument
42 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519() argument
[all …]
H A Dcurve25519-hacl64.c757 void curve25519_generic(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519_generic() argument
758 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_generic() argument
759 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519_generic() argument
H A Dcurve25519-fiat32.c756 void curve25519_generic(u8 out[CURVE25519_KEY_SIZE], in curve25519_generic() argument
757 const u8 scalar[CURVE25519_KEY_SIZE], in curve25519_generic() argument
758 const u8 point[CURVE25519_KEY_SIZE]) in curve25519_generic() argument
/linux/include/crypto/
H A Dcurve25519.h13 CURVE25519_KEY_SIZE = 32 enumerator
16 void curve25519_generic(u8 out[at_least CURVE25519_KEY_SIZE],
17 const u8 scalar[at_least CURVE25519_KEY_SIZE],
18 const u8 point[at_least CURVE25519_KEY_SIZE]);
21 curve25519(u8 mypublic[at_least CURVE25519_KEY_SIZE],
22 const u8 secret[at_least CURVE25519_KEY_SIZE],
23 const u8 basepoint[at_least CURVE25519_KEY_SIZE]);
26 curve25519_generate_public(u8 pub[at_least CURVE25519_KEY_SIZE],
27 const u8 secret[at_least CURVE25519_KEY_SIZE]);
30 curve25519_clamp_secret(u8 secret[at_least CURVE25519_KEY_SIZE]) in curve25519_clamp_secret() argument
[all …]
/linux/lib/crypto/arm/
H A Dcurve25519.h17 asmlinkage void curve25519_neon(u8 mypublic[CURVE25519_KEY_SIZE],
18 const u8 secret[CURVE25519_KEY_SIZE],
19 const u8 basepoint[CURVE25519_KEY_SIZE]);
23 static void curve25519_arch(u8 out[CURVE25519_KEY_SIZE], in curve25519_arch() argument
24 const u8 scalar[CURVE25519_KEY_SIZE], in curve25519_arch() argument
25 const u8 point[CURVE25519_KEY_SIZE]) in curve25519_arch() argument
35 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch() argument
36 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch() argument
/linux/lib/crypto/tests/
H A Dcurve25519_kunit.c11 u8 private[CURVE25519_KEY_SIZE];
12 u8 public[CURVE25519_KEY_SIZE];
13 u8 result[CURVE25519_KEY_SIZE];
1290 u8 out[CURVE25519_KEY_SIZE] = {}; in test_curve25519()
1305 u8 in[CURVE25519_KEY_SIZE]; in test_curve25519_basepoint()
1306 u8 out[CURVE25519_KEY_SIZE]; in test_curve25519_basepoint()
1307 u8 out2[CURVE25519_KEY_SIZE]; in test_curve25519_basepoint()
1312 ret2 = curve25519(out2, in, (u8[CURVE25519_KEY_SIZE]){ 9 }); in test_curve25519_basepoint()
1314 "in=%*phN", CURVE25519_KEY_SIZE, in); in test_curve25519_basepoint()
1315 KUNIT_EXPECT_MEMEQ_MSG(test, out, out2, CURVE25519_KEY_SIZE, in test_curve25519_basepoint()
[all …]
/linux/lib/crypto/powerpc/
H A Dcurve25519.h175 static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519_arch() argument
176 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_arch() argument
177 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519_arch() argument
182 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch() argument
183 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch() argument
/linux/lib/crypto/x86/
H A Dcurve25519.h1589 static void curve25519_arch(u8 mypublic[CURVE25519_KEY_SIZE], in curve25519_arch() argument
1590 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_arch() argument
1591 const u8 basepoint[CURVE25519_KEY_SIZE]) in curve25519_arch() argument
1599 static void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch() argument
1600 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch() argument
/linux/drivers/net/wireguard/
H A Dmessages.h18 NOISE_PUBLIC_KEY_LEN = CURVE25519_KEY_SIZE,