Searched refs:ecc_swap_digits (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 527 ecc_swap_digits(priv, privkey, curve->g.ndigits); in kmb_ecc_gen_privkey() 563 ecc_swap_digits((const u64 *)params.key, tctx->private_key, in kmb_ocs_ecdh_set_secret() 603 ecc_swap_digits(pubk_buf, pk->x, curve->g.ndigits); in kmb_ecc_do_shared_secret() 604 ecc_swap_digits(&pubk_buf[curve->g.ndigits], pk->y, curve->g.ndigits); in kmb_ecc_do_shared_secret() 634 ecc_swap_digits(result->x, shared_secret, result->ndigits); in kmb_ecc_do_shared_secret() 688 ecc_swap_digits(pk->x, pubk_buf, pk->ndigits); in kmb_ecc_do_public_key() 689 ecc_swap_digits(pk->y, &pubk_buf[pk->ndigits], pk->ndigits); in kmb_ecc_do_public_key()
|
/openbmc/linux/crypto/ |
H A D | ecc.c | 87 ecc_swap_digits(in, out, ndigits); in ecc_digits_from_bytes() 1526 ecc_swap_digits(priv, privkey, ndigits); in ecc_gen_privkey() 1545 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key() 1561 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1562 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1658 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret() 1659 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret() 1664 ecc_swap_digits(private_key, priv, ndigits); in crypto_ecdh_shared_secret() 1679 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
|
H A D | ecdsa.c | 165 ecc_swap_digits((u64 *)rawhash, hash, ctx->curve->g.ndigits); in ecdsa_verify()
|
/openbmc/linux/include/crypto/internal/ |
H A D | ecc.h | 50 static inline void ecc_swap_digits(const void *in, u64 *out, unsigned int ndigits) in ecc_swap_digits() function
|