Lines Matching refs:in_len
243 static int decode_hex(BIGNUM *bn, const char *in, int in_len) { in decode_hex() argument
244 if (in_len > INT_MAX/4) { in decode_hex()
249 if (bn_expand(bn, in_len * 4) == NULL) { in decode_hex()
254 while (in_len > 0) { in decode_hex()
257 if (todo > in_len) { in decode_hex()
258 todo = in_len; in decode_hex()
264 char c = in[in_len - j]; in decode_hex()
282 in_len -= todo; in decode_hex()
290 static int decode_dec(BIGNUM *bn, const char *in, int in_len) { in decode_dec() argument
295 j = BN_DEC_NUM - (in_len % BN_DEC_NUM); in decode_dec()
300 for (i = 0; i < in_len; i++) { in decode_dec()
315 typedef int (*decode_func) (BIGNUM *bn, const char *in, int in_len);
572 const size_t in_len = ((size_t)in[0] << 24) | in BN_mpi2bn() local
576 if (in_len != len - 4) { in BN_mpi2bn()
589 if (in_len == 0) { in BN_mpi2bn()
595 if (BN_bin2bn(in, in_len, out) == NULL) { in BN_mpi2bn()