Home
last modified time | relevance | path

Searched refs:rand_z (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Decc.c1602 u64 rand_z[ECC_MAX_DIGITS]; in crypto_ecdh_shared_secret() local
1607 ndigits > ARRAY_SIZE(priv) || ndigits > ARRAY_SIZE(rand_z)) { in crypto_ecdh_shared_secret()
1614 get_random_bytes(rand_z, nbytes); in crypto_ecdh_shared_secret()
1636 ecc_point_mult(product, pk, priv, rand_z, curve, ndigits); in crypto_ecdh_shared_secret()
1647 memzero_explicit(rand_z, sizeof(rand_z)); in crypto_ecdh_shared_secret()
/kernel/linux/linux-6.6/crypto/
H A Decc.c1616 u64 rand_z[ECC_MAX_DIGITS]; in crypto_ecdh_shared_secret() local
1621 ndigits > ARRAY_SIZE(priv) || ndigits > ARRAY_SIZE(rand_z)) { in crypto_ecdh_shared_secret()
1628 get_random_bytes(rand_z, nbytes); in crypto_ecdh_shared_secret()
1650 ecc_point_mult(product, pk, priv, rand_z, curve, ndigits); in crypto_ecdh_shared_secret()
1661 memzero_explicit(rand_z, sizeof(rand_z)); in crypto_ecdh_shared_secret()

Completed in 6 milliseconds