Searched refs:ecc_swap_digits (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/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.c | 1502 ecc_swap_digits(priv, privkey, ndigits); in ecc_gen_privkey() 1521 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1537 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1538 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1634 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret() 1635 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret() 1640 ecc_swap_digits(private_key, priv, ndigits); in crypto_ecdh_shared_secret() 1655 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
|
/linux-6.1.9/drivers/crypto/keembay/ |
D | keembay-ocs-ecc.c | 532 ecc_swap_digits(priv, privkey, curve->g.ndigits); in kmb_ecc_gen_privkey() 568 ecc_swap_digits((const u64 *)params.key, tctx->private_key, in kmb_ocs_ecdh_set_secret() 608 ecc_swap_digits(pubk_buf, pk->x, curve->g.ndigits); in kmb_ecc_do_shared_secret() 609 ecc_swap_digits(&pubk_buf[curve->g.ndigits], pk->y, curve->g.ndigits); in kmb_ecc_do_shared_secret() 639 ecc_swap_digits(result->x, shared_secret, result->ndigits); in kmb_ecc_do_shared_secret() 693 ecc_swap_digits(pk->x, pubk_buf, pk->ndigits); in kmb_ecc_do_public_key() 694 ecc_swap_digits(pk->y, &pubk_buf[pk->ndigits], pk->ndigits); in kmb_ecc_do_public_key()
|
/linux-6.1.9/include/crypto/internal/ |
D | ecc.h | 50 static inline void ecc_swap_digits(const void *in, u64 *out, unsigned int ndigits) in ecc_swap_digits() function
|