Lines Matching refs:BN_BYTES
91 num_words = ((len - 1) / BN_BYTES) + 1; in BN_bin2bn()
92 m = (len - 1) % BN_BYTES; in BN_bin2bn()
111 m = BN_BYTES - 1; in BN_bin2bn()
127 l = in->d[i / BN_BYTES]; in BN_bn2bin()
128 *(out++) = (unsigned char)(l >> (8 * (i % BN_BYTES))) & 0xff; in BN_bn2bin()
174 if ((size_t)in->top > (len + (BN_BYTES - 1)) / BN_BYTES) { in BN_bn2bin_padded()
177 if ((len % BN_BYTES) != 0) { in BN_bn2bin_padded()
178 l = read_word_padded(in, len / BN_BYTES); in BN_bn2bin_padded()
179 if (l >> (8 * (len % BN_BYTES)) != 0) { in BN_bn2bin_padded()
193 l = read_word_padded(in, i / BN_BYTES); in BN_bn2bin_padded()
194 *(out++) = (uint8_t)(l >> (8 * (i % BN_BYTES))) & 0xff; in BN_bn2bin_padded()
211 buf = (char *)OPENSSL_malloc(bn->top * BN_BYTES * 2 + 2); in BN_bn2hex()
256 int todo = BN_BYTES * 2; in decode_hex()