Searched refs:ecc_swap_digits (Results 1 – 3 of 3) sorted by relevance
| /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()
|
| /linux/include/crypto/internal/ |
| H A D | ecc.h | 63 static inline void ecc_swap_digits(const void *in, u64 *out, unsigned int ndigits) in ecc_swap_digits() function
|
| /linux/crypto/ |
| H A D | ecc.c | 89 ecc_swap_digits(in, out, ndigits); in ecc_digits_from_bytes() 1583 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key() 1584 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key() 1678 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret() 1679 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret() 1697 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
|