Lines Matching defs:public_key
39 * @public_key: pair's ecc public key.
44 int compute_ecdh_secret(struct crypto_kpp *tfm, const u8 public_key[64],
63 swap_digits((u64 *)public_key, (u64 *)tmp, 4); /* x */
64 swap_digits((u64 *)&public_key[32], (u64 *)&tmp[32], 4); /* y */
141 * @public_key: memory where the computed ecc public key will be saved.
145 int generate_ecdh_public_key(struct crypto_kpp *tfm, u8 public_key[64])
177 swap_digits((u64 *)tmp, (u64 *)public_key, 4); /* x */
178 swap_digits((u64 *)&tmp[32], (u64 *)&public_key[32], 4); /* y */
190 * @public_key: memory where the computed ecc public key will be saved.
194 int generate_ecdh_keys(struct crypto_kpp *tfm, u8 public_key[64])
202 return generate_ecdh_public_key(tfm, public_key);