Lines Matching refs:bn_len
295 unsigned int sig_len, degree, r_len, s_len, bn_len, buf_len;
432 bn_len = (degree + 7) / 8;
433 if ((r_len > bn_len) || (s_len > bn_len)) {
437 buf_len = 2 * bn_len;
442 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len);
450 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) ||
451 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL))
464 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) ||
465 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL))