Searched refs:BN_BYTES (Results 1 – 8 of 8) sorted by relevance
84 num_words = ((len - 1) / BN_BYTES) + 1; in BN_bin2bn()85 m = (len - 1) % BN_BYTES; in BN_bin2bn()104 m = BN_BYTES - 1; in BN_bin2bn()129 size_t num_words = ((len - 1) / BN_BYTES) + 1; in BN_le2bn()151 l = in->d[i / BN_BYTES]; in BN_bn2bin()152 *(out++) = (unsigned char)(l >> (8 * (i % BN_BYTES))) & 0xff; in BN_bn2bin()167 size_t num_bytes = in->width * BN_BYTES; in BN_bn2le_padded()185 size_t num_bytes = in->width * BN_BYTES; in BN_bn2bin_padded()
152 #define BN_BYTES 8 in OPENSSL_MSVC_PRAGMA() macro168 #define BN_BYTES 4 in OPENSSL_MSVC_PRAGMA()
862 OPENSSL_memset(&r->d[r->width], 0, (num_words - r->width) * BN_BYTES); in BN_nnmod_pow2()
1124 wvalue = p_bytes[p->width * BN_BYTES - 1]; in BN_mod_exp_mont_consttime()
175 if (bytes.size() != BN_BYTES * P256_LIMBS) { in GetFieldElement()184 out[P256_LIMBS - 1 - (i / BN_BYTES)] <<= 8; in GetFieldElement()185 out[P256_LIMBS - 1 - (i / BN_BYTES)] |= bytes[i]; in GetFieldElement()194 char buf[2 * BN_BYTES + 1]; in FieldElementToString()
89 #define EC_MAX_WORDS ((EC_MAX_BYTES + BN_BYTES - 1) / BN_BYTES)
82 width * BN_BYTES * 2 + 1 /* trailing NUL */); in BN_bn2hex()128 int todo = BN_BYTES * 2; in decode_hex()
2596 *var = vmalloc(bn->top * BN_BYTES);