Home
last modified time | relevance | path

Searched refs:ECC_DIGITS_TO_BYTES_SHIFT (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/crypto/internal/
H A Decc.h38 #define ECC_DIGITS_TO_BYTES_SHIFT 3 macro
40 #define ECC_MAX_BYTES (ECC_MAX_DIGITS << ECC_DIGITS_TO_BYTES_SHIFT)
/openbmc/linux/crypto/
H A Decdh.c62 nbytes = ctx->ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecdh_compute_value()
125 return ctx->ndigits << (ECC_DIGITS_TO_BYTES_SHIFT + 1); in ecdh_max_size()
H A Decdsa.c265 return ctx->pub_key.ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecdsa_max_size()
H A Decc.c1448 nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecc_is_key_valid()
1473 unsigned int nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecc_gen_privkey()
1626 nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in crypto_ecdh_shared_secret()
/openbmc/linux/drivers/crypto/intel/keembay/
H A Dkeembay-ocs-ecc.c71 << ECC_DIGITS_TO_BYTES_SHIFT)
126 return n << ECC_DIGITS_TO_BYTES_SHIFT; in digits_to_bytes()