Lines Matching defs:public_key
55 * @public_key: pair's ecc public key.
60 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64],
81 swap_digits((u64 *)public_key, (u64 *)tmp, 4); /* x */
82 swap_digits((u64 *)&public_key[32], (u64 *)&tmp[32], 4); /* y */
164 * @public_key: memory where the computed ecc public key will be saved.
168 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64])
204 swap_digits((u64 *)tmp, (u64 *)public_key, 4); /* x */
205 swap_digits((u64 *)&tmp[32], (u64 *)&public_key[32], 4); /* y */
217 * @public_key: memory where the computed ecc public key will be saved.
221 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64])
229 return generate_ecdh_public_key(tfm, public_key);