Lines Matching refs:CURVE25519_KEY_SIZE
22 asmlinkage void curve25519_neon(u8 mypublic[CURVE25519_KEY_SIZE],
23 const u8 secret[CURVE25519_KEY_SIZE],
24 const u8 basepoint[CURVE25519_KEY_SIZE]);
28 void curve25519_arch(u8 out[CURVE25519_KEY_SIZE], in curve25519_arch() argument
29 const u8 scalar[CURVE25519_KEY_SIZE], in curve25519_arch() argument
30 const u8 point[CURVE25519_KEY_SIZE]) in curve25519_arch() argument
42 void curve25519_base_arch(u8 pub[CURVE25519_KEY_SIZE], in curve25519_base_arch() argument
43 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch() argument
56 else if (len == CURVE25519_KEY_SIZE && in curve25519_set_secret()
57 crypto_memneq(buf, curve25519_null_point, CURVE25519_KEY_SIZE)) in curve25519_set_secret()
58 memcpy(secret, buf, CURVE25519_KEY_SIZE); in curve25519_set_secret()
68 u8 public_key[CURVE25519_KEY_SIZE]; in curve25519_compute_value()
69 u8 buf[CURVE25519_KEY_SIZE]; in curve25519_compute_value()
76 CURVE25519_KEY_SIZE), in curve25519_compute_value()
77 public_key, CURVE25519_KEY_SIZE); in curve25519_compute_value()
78 if (copied != CURVE25519_KEY_SIZE) in curve25519_compute_value()
88 nbytes = min_t(size_t, CURVE25519_KEY_SIZE, req->dst_len); in curve25519_compute_value()
99 return CURVE25519_KEY_SIZE; in curve25519_max_size()
107 .base.cra_ctxsize = CURVE25519_KEY_SIZE,