Lines Matching refs:bytes
207 static int convert_bn_memory(const unsigned char *in, size_t bytes, in convert_bn_memory() argument
210 int n = bytes * 2, i; in convert_bn_memory()
215 hex_convert_memory(in, bytes, out, BN_OUTPUT_SIZE); in convert_bn_memory()
228 if ((in[bytes] & 0xf0) != 0 && BN_is_negative(bn)) { in convert_bn_memory()
272 const size_t bytes = bn_bytes; in test_fail_bignum_common() local
301 len = ((l1 > l2 ? l1 : l2) + bytes - 1) / bytes * bytes; in test_fail_bignum_common()
319 cnt = 8 * (len - bytes); in test_fail_bignum_common()
320 n1 = convert_bn_memory(m1, bytes, b1, &lz1, bn1); in test_fail_bignum_common()
321 n2 = convert_bn_memory(m2, bytes, b2, &lz2, bn2); in test_fail_bignum_common()
351 m1 += bytes; in test_fail_bignum_common()
353 m2 += bytes; in test_fail_bignum_common()
354 len -= bytes; in test_fail_bignum_common()
431 const size_t bytes = (MAX_STRING_WIDTH - 9) / 17 * 8; in test_fail_memory_common() local
459 n1 = l1 > bytes ? bytes : l1; in test_fail_memory_common()
463 n2 = l2 > bytes ? bytes : l2; in test_fail_memory_common()
508 cnt += bytes; in test_fail_memory_common()