Searched refs:ECC_DIGITS_TO_BYTES_SHIFT (Results 1 – 5 of 5) sorted by relevance
38 #define ECC_DIGITS_TO_BYTES_SHIFT 3 macro40 #define ECC_MAX_BYTES (ECC_MAX_DIGITS << ECC_DIGITS_TO_BYTES_SHIFT)
62 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()
265 return ctx->pub_key.ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecdsa_max_size()
1448 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()
71 << ECC_DIGITS_TO_BYTES_SHIFT)126 return n << ECC_DIGITS_TO_BYTES_SHIFT; in digits_to_bytes()