Searched refs:ecc_swap_digits (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/crypto/ |
D | ecdsa.c | 71 ecc_swap_digits((u64 *)rs, dest, ndigits); in ecdsa_get_signature_rs() 178 ecc_swap_digits((u64 *)rawhash, hash, ctx->curve->g.ndigits); in ecdsa_verify() 245 ecc_swap_digits(digits, ctx->pub_key.x, ndigits); in ecdsa_set_pub_key() 246 ecc_swap_digits(&digits[ndigits], ctx->pub_key.y, ndigits); in ecdsa_set_pub_key()
|
D | ecc.h | 50 static inline void ecc_swap_digits(const void *in, u64 *out, unsigned int ndigits) in ecc_swap_digits() function
|
D | ecc.c | 1498 ecc_swap_digits(priv, privkey, ndigits); in ecc_gen_privkey() 1517 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1533 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1534 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1630 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret() 1631 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret() 1636 ecc_swap_digits(private_key, priv, ndigits); in crypto_ecdh_shared_secret() 1651 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
|