Lines Matching refs:CURVE25519_KEY_SIZE
16 else if (len == CURVE25519_KEY_SIZE && in curve25519_set_secret()
17 crypto_memneq(buf, curve25519_null_point, CURVE25519_KEY_SIZE)) in curve25519_set_secret()
18 memcpy(secret, buf, CURVE25519_KEY_SIZE); in curve25519_set_secret()
28 u8 public_key[CURVE25519_KEY_SIZE]; in curve25519_compute_value()
29 u8 buf[CURVE25519_KEY_SIZE]; in curve25519_compute_value()
36 CURVE25519_KEY_SIZE), in curve25519_compute_value()
37 public_key, CURVE25519_KEY_SIZE); in curve25519_compute_value()
38 if (copied != CURVE25519_KEY_SIZE) in curve25519_compute_value()
48 nbytes = min_t(size_t, CURVE25519_KEY_SIZE, req->dst_len); in curve25519_compute_value()
59 return CURVE25519_KEY_SIZE; in curve25519_max_size()
67 .base.cra_ctxsize = CURVE25519_KEY_SIZE,