Searched refs:bn_num_bytes (Results 1 – 1 of 1) sorted by relevance
79 #define bn_num_bytes(bn) (mpz_sizeinbase(bn, 2) + 7) / 8 macro83 if (bn_num_bytes(bn) <= len) \132 #define bn_num_bytes(bn) (gcry_mpi_get_nbits(bn) + 7) / 8 macro150 #define bn_num_bytes(bn) BN_num_bytes(bn) macro184 #define bn_num_bytes(bn) (mbedtls_mpi_bitlen(bn) + 7) / 8 macro227 num_bytes = bn_num_bytes(dh->p) - 1; in dh_generate_key()379 len = bn_num_bytes(dh->pub_key); in ff_dh_write_public_key()