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)
60 nbytes = ctx->ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecdh_compute_value()123 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()
1446 nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecc_is_key_valid()1471 unsigned int nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in ecc_gen_privkey()1624 nbytes = ndigits << ECC_DIGITS_TO_BYTES_SHIFT; in crypto_ecdh_shared_secret()
74 << ECC_DIGITS_TO_BYTES_SHIFT)131 return n << ECC_DIGITS_TO_BYTES_SHIFT; in digits_to_bytes()
Completed in 10 milliseconds