Lines Matching refs:secret
181 const u8 secret[CURVE25519_KEY_SIZE], in curve25519_arch()
184 curve25519_fe51(mypublic, secret, basepoint); in curve25519_arch()
189 const u8 secret[CURVE25519_KEY_SIZE]) in curve25519_base_arch()
191 curve25519_fe51(pub, secret, curve25519_base_point); in curve25519_base_arch()
198 u8 *secret = kpp_tfm_ctx(tfm); in curve25519_set_secret() local
201 curve25519_generate_secret(secret); in curve25519_set_secret()
204 memcpy(secret, buf, CURVE25519_KEY_SIZE); in curve25519_set_secret()
213 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_generate_public_key() local
220 curve25519_base_arch(buf, secret); in curve25519_generate_public_key()
235 const u8 *secret = kpp_tfm_ctx(tfm); in curve25519_compute_shared_secret() local
250 curve25519_arch(buf, secret, public_key); in curve25519_compute_shared_secret()