Home
last modified time | relevance | path

Searched refs:ecc_swap_digits (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/crypto/
H A Decdsa.c71 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()
H A Decc.c1504 ecc_swap_digits(priv, privkey, ndigits); in ecc_gen_privkey()
1523 ecc_swap_digits(private_key, priv, ndigits); in ecc_make_pub_key()
1539 ecc_swap_digits(pk->x, public_key, ndigits); in ecc_make_pub_key()
1540 ecc_swap_digits(pk->y, &public_key[ndigits], ndigits); in ecc_make_pub_key()
1636 ecc_swap_digits(public_key, pk->x, ndigits); in crypto_ecdh_shared_secret()
1637 ecc_swap_digits(&public_key[ndigits], pk->y, ndigits); in crypto_ecdh_shared_secret()
1642 ecc_swap_digits(private_key, priv, ndigits); in crypto_ecdh_shared_secret()
1657 ecc_swap_digits(product->x, secret, ndigits); in crypto_ecdh_shared_secret()
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c527 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/include/crypto/internal/
H A Decc.h50 static inline void ecc_swap_digits(const void *in, u64 *out, unsigned int ndigits) in ecc_swap_digits() function