crypto/heimdal/kdc/pkinit.c
315
bn = BN_bin2bn((const unsigned char *)f->data, f->length, NULL);
crypto/heimdal/lib/hx509/crypto.c
228
bn = BN_bin2bn(i->data, i->length, NULL);
crypto/heimdal/lib/hx509/ks_keychain.c
295
BN_bin2bn(data, kc->keysize, rsa->n);
crypto/heimdal/lib/hx509/ks_p11.c
619
bn = BN_bin2bn(query.pValue, query.ulValueLen, NULL);
crypto/heimdal/lib/krb5/pkinit.c
122
bn = BN_bin2bn((const unsigned char *)f->data, f->length, NULL);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3817
r = BN_bin2bn(p11sig, p11siglen / 2, NULL);
crypto/krb5/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
3818
s = BN_bin2bn(p11sig + p11siglen / 2, p11siglen / 2, NULL);
crypto/krb5/src/plugins/preauth/spake/openssl.c
155
if (BN_bin2bn(wbytes, reg->mult_len, w) &&
crypto/krb5/src/plugins/preauth/spake/openssl.c
228
priv = BN_bin2bn(ourpriv, reg->mult_len, NULL);
crypto/openssh/kexdh.c
100
BN_bin2bn(kbuf, kout, shared_secret) == NULL) {
crypto/openssh/kexecdh.c
180
BN_bin2bn(kbuf, klen, shared_secret) == NULL) {
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
162
if (BN_bin2bn(ptr, 32, x) == NULL ||
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
163
BN_bin2bn(ptr + 32, 32, y) == NULL) {
crypto/openssh/sk-usbhid.c
634
if (BN_bin2bn(ptr, 32, x) == NULL ||
crypto/openssh/sk-usbhid.c
635
BN_bin2bn(ptr + 32, 32, y) == NULL) {
crypto/openssh/ssh-dss.c
378
if ((BN_bin2bn(sigblob, INTBLOB_LEN, sig_r) == NULL) ||
crypto/openssh/ssh-dss.c
379
(BN_bin2bn(sigblob + INTBLOB_LEN, INTBLOB_LEN, sig_s) == NULL)) {
crypto/openssh/ssh-keygen.c
477
if (BN_bin2bn(sshbuf_ptr(b), bytes, value) == NULL)
crypto/openssh/ssh-pkcs11.c
558
if ((r = BN_bin2bn(sig, bnlen, NULL)) == NULL ||
crypto/openssh/ssh-pkcs11.c
559
(s = BN_bin2bn(sig+bnlen, bnlen, NULL)) == NULL) {
crypto/openssh/ssh-pkcs11.c
890
rsa_n = BN_bin2bn(key_attr[1].pValue, key_attr[1].ulValueLen, NULL);
crypto/openssh/ssh-pkcs11.c
891
rsa_e = BN_bin2bn(key_attr[2].pValue, key_attr[2].ulValueLen, NULL);
crypto/openssh/sshbuf-getput-crypto.c
49
BN_bin2bn(d, len, v) == NULL) {
crypto/openssl/apps/testdsa.h
1461
priv_key = BN_bin2bn(dsa_t.priv, dsa_t.priv_l, NULL);
crypto/openssl/apps/testdsa.h
1462
pub_key = BN_bin2bn(dsa_t.pub, dsa_t.pub_l, NULL);
crypto/openssl/apps/testdsa.h
1463
p = BN_bin2bn(dsa_t.p, dsa_t.p_l, NULL);
crypto/openssl/apps/testdsa.h
1464
q = BN_bin2bn(dsa_t.q, dsa_t.q_l, NULL);
crypto/openssl/apps/testdsa.h
1465
g = BN_bin2bn(dsa_t.g, dsa_t.g_l, NULL);
crypto/openssl/crypto/asn1/a_int.c
519
ret = BN_bin2bn(ai->data, ai->length, bn);
crypto/openssl/crypto/asn1/x_bignum.c
122
if (!BN_bin2bn(cont, len, bn)) {
crypto/openssl/crypto/asn1_dsa.c
211
if (BN_bin2bn(PACKET_data(&contpkt),
crypto/openssl/crypto/bn/bn_const.c
124
return BN_bin2bn(RFC2409_PRIME_768, sizeof(RFC2409_PRIME_768), bn);
crypto/openssl/crypto/bn/bn_const.c
268
return BN_bin2bn(RFC2409_PRIME_1024, sizeof(RFC2409_PRIME_1024), bn);
crypto/openssl/crypto/bn/bn_lib.c
675
return BN_bin2bn(s, len, ret);
crypto/openssl/crypto/bn/bn_mont.c
473
if (BN_bin2bn(rr, rrlen, &ctx->RR) == NULL)
crypto/openssl/crypto/bn/bn_mpi.c
74
if (BN_bin2bn(d, (int)len, a) == NULL) {
crypto/openssl/crypto/bn/bn_rand.c
368
if (!BN_bin2bn(k_bytes, num_k_bytes, out))
crypto/openssl/crypto/bn/bn_rand.c
89
if (!BN_bin2bn(buf, bytes, rnd))
crypto/openssl/crypto/bn/bn_s390x.c
125
if (BN_bin2bn(crt.outputdata, crt.outputdatalength, r) != NULL)
crypto/openssl/crypto/bn/bn_s390x.c
48
if (BN_bin2bn(me.outputdata, size, r) != NULL)
crypto/openssl/crypto/deterministic_nonce.c
34
if (BN_bin2bn(in, (int)inlen, out) == NULL)
crypto/openssl/crypto/deterministic_nonce.c
61
if (BN_bin2bn(in, (int)inlen, out) == NULL)
crypto/openssl/crypto/dh/dh_check.c
375
if (BN_bin2bn(bytes, len, pub_key) == NULL)
crypto/openssl/crypto/dh/dh_key.c
396
if ((pubkey = BN_bin2bn(buf, len, NULL)) == NULL)
crypto/openssl/crypto/dsa/dsa_key.c
100
if (BN_bin2bn(bytes, len, pub_key2) != NULL)
crypto/openssl/crypto/dsa/dsa_ossl.c
129
if (BN_bin2bn(dgst, dlen, m) == NULL)
crypto/openssl/crypto/dsa/dsa_ossl.c
414
if (BN_bin2bn(dgst, dgst_len, u1) == NULL)
crypto/openssl/crypto/ec/ec2_oct.c
331
if (!BN_bin2bn(buf + 1, field_len, x))
crypto/openssl/crypto/ec/ec2_oct.c
342
if (!BN_bin2bn(buf + 1 + field_len, field_len, y))
crypto/openssl/crypto/ec/ec_asn1.c
539
a = BN_bin2bn(params->curve->a->data, params->curve->a->length, NULL);
crypto/openssl/crypto/ec/ec_asn1.c
544
b = BN_bin2bn(params->curve->b->data, params->curve->b->length, NULL);
crypto/openssl/crypto/ec/ec_curve.c
3074
if ((p = BN_bin2bn(params + 0 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ec_curve.c
3075
|| (a = BN_bin2bn(params + 1 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ec_curve.c
3076
|| (b = BN_bin2bn(params + 2 * param_len, param_len, NULL)) == NULL) {
crypto/openssl/crypto/ec/ec_curve.c
3110
if ((x = BN_bin2bn(params + 3 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ec_curve.c
3111
|| (y = BN_bin2bn(params + 4 * param_len, param_len, NULL)) == NULL) {
crypto/openssl/crypto/ec/ec_curve.c
3119
if ((order = BN_bin2bn(params + 5 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ec_deprecated.c
34
ret = BN_bin2bn(buf, buf_len, ret);
crypto/openssl/crypto/ec/ec_key.c
1051
if (BN_bin2bn(buf, len, eckey->priv_key) == NULL) {
crypto/openssl/crypto/ec/ec_key.c
278
&& BN_bin2bn(bytes, len, pub_key2->X) == NULL)
crypto/openssl/crypto/ec/ecdsa_ossl.c
330
if (!BN_bin2bn(dgst, dgst_len, m)) {
crypto/openssl/crypto/ec/ecdsa_ossl.c
504
if (!BN_bin2bn(dgst, dgst_len, m)) {
crypto/openssl/crypto/ec/ecp_nistp224.c
1296
BN_bin2bn(nistp224_curve_params[0], sizeof(felem_bytearray), curve_p);
crypto/openssl/crypto/ec/ecp_nistp224.c
1297
BN_bin2bn(nistp224_curve_params[1], sizeof(felem_bytearray), curve_a);
crypto/openssl/crypto/ec/ecp_nistp224.c
1298
BN_bin2bn(nistp224_curve_params[2], sizeof(felem_bytearray), curve_b);
crypto/openssl/crypto/ec/ecp_nistp224.c
1613
BN_bin2bn(nistp224_curve_params[3], sizeof(felem_bytearray), x);
crypto/openssl/crypto/ec/ecp_nistp224.c
1614
BN_bin2bn(nistp224_curve_params[4], sizeof(felem_bytearray), y);
crypto/openssl/crypto/ec/ecp_nistp256.c
1915
BN_bin2bn(nistp256_curve_params[0], sizeof(felem_bytearray), curve_p);
crypto/openssl/crypto/ec/ecp_nistp256.c
1916
BN_bin2bn(nistp256_curve_params[1], sizeof(felem_bytearray), curve_a);
crypto/openssl/crypto/ec/ecp_nistp256.c
1917
BN_bin2bn(nistp256_curve_params[2], sizeof(felem_bytearray), curve_b);
crypto/openssl/crypto/ec/ecp_nistp256.c
2240
BN_bin2bn(nistp256_curve_params[3], sizeof(felem_bytearray), x);
crypto/openssl/crypto/ec/ecp_nistp256.c
2241
BN_bin2bn(nistp256_curve_params[4], sizeof(felem_bytearray), y);
crypto/openssl/crypto/ec/ecp_nistp384.c
1639
BN_bin2bn(nistp384_curve_params[0], sizeof(felem_bytearray), curve_p);
crypto/openssl/crypto/ec/ecp_nistp384.c
1640
BN_bin2bn(nistp384_curve_params[1], sizeof(felem_bytearray), curve_a);
crypto/openssl/crypto/ec/ecp_nistp384.c
1641
BN_bin2bn(nistp384_curve_params[2], sizeof(felem_bytearray), curve_b);
crypto/openssl/crypto/ec/ecp_nistp384.c
1952
BN_bin2bn(nistp384_curve_params[3], sizeof(felem_bytearray), x);
crypto/openssl/crypto/ec/ecp_nistp384.c
1953
BN_bin2bn(nistp384_curve_params[4], sizeof(felem_bytearray), y);
crypto/openssl/crypto/ec/ecp_nistp521.c
1729
BN_bin2bn(nistp521_curve_params[0], sizeof(felem_bytearray), curve_p);
crypto/openssl/crypto/ec/ecp_nistp521.c
1730
BN_bin2bn(nistp521_curve_params[1], sizeof(felem_bytearray), curve_a);
crypto/openssl/crypto/ec/ecp_nistp521.c
1731
BN_bin2bn(nistp521_curve_params[2], sizeof(felem_bytearray), curve_b);
crypto/openssl/crypto/ec/ecp_nistp521.c
2051
BN_bin2bn(nistp521_curve_params[3], sizeof(felem_bytearray), x);
crypto/openssl/crypto/ec/ecp_nistp521.c
2052
BN_bin2bn(nistp521_curve_params[4], sizeof(felem_bytearray), y);
crypto/openssl/crypto/ec/ecp_nistz256.c
1468
if ((p = BN_bin2bn(params + 0 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ecp_nistz256.c
1469
|| (a = BN_bin2bn(params + 1 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ecp_nistz256.c
1470
|| (b = BN_bin2bn(params + 2 * param_len, param_len, NULL)) == NULL) {
crypto/openssl/crypto/ec/ecp_nistz256.c
1511
if ((x = BN_bin2bn(params + 3 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ecp_nistz256.c
1512
|| (y = BN_bin2bn(params + 4 * param_len, param_len, NULL)) == NULL) {
crypto/openssl/crypto/ec/ecp_nistz256.c
1520
if ((order = BN_bin2bn(params + 5 * param_len, param_len, NULL)) == NULL
crypto/openssl/crypto/ec/ecp_oct.c
331
if (!BN_bin2bn(buf + 1, field_len, x))
crypto/openssl/crypto/ec/ecp_oct.c
342
if (!BN_bin2bn(buf + 1 + field_len, field_len, y))
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
110
|| BN_bin2bn(param + S390X_OFF_RES_X(len), len, x) == NULL
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
111
|| BN_bin2bn(param + S390X_OFF_RES_Y(len), len, y) == NULL
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
213
if (BN_bin2bn(param + S390X_OFF_R(len), len, sig->r) == NULL
crypto/openssl/crypto/ec/ecp_s390x_nistp.c
214
|| BN_bin2bn(param + S390X_OFF_S(len), len, sig->s) == NULL) {
crypto/openssl/crypto/ffc/ffc_params_generate.c
173
|| (BN_bin2bn(md, mdsize, tmp) == NULL)
crypto/openssl/crypto/ffc/ffc_params_generate.c
245
|| (BN_bin2bn(md, mdsize, tmp) == NULL)
crypto/openssl/crypto/ffc/ffc_params_generate.c
359
if (!BN_bin2bn(pmd, qsize, q))
crypto/openssl/crypto/ffc/ffc_params_generate.c
429
if (!BN_bin2bn(md, (int)qsize, q))
crypto/openssl/crypto/rsa/rsa_ossl.c
155
if (BN_bin2bn(buf, num, f) == NULL)
crypto/openssl/crypto/rsa/rsa_ossl.c
347
if (BN_bin2bn(buf, num, f) == NULL)
crypto/openssl/crypto/rsa/rsa_ossl.c
567
if (BN_bin2bn(from, (int)flen, f) == NULL)
crypto/openssl/crypto/rsa/rsa_ossl.c
747
if (BN_bin2bn(from, flen, f) == NULL)
crypto/openssl/crypto/sm2/sm2_sign.c
196
e = BN_bin2bn(z, md_size, NULL);
crypto/openssl/crypto/sm2/sm2_sign.c
473
e = BN_bin2bn(dgst, dgstlen, NULL);
crypto/openssl/crypto/sm2/sm2_sign.c
527
e = BN_bin2bn(dgst, dgstlen, NULL);
crypto/openssl/crypto/srp/srp_lib.c
180
res = BN_bin2bn(dig, sizeof(dig), NULL);
crypto/openssl/crypto/srp/srp_lib.c
48
res = BN_bin2bn(digest, sizeof(digest), NULL);
crypto/openssl/crypto/srp/srp_vfy.c
235
if (NULL == (vinfo->v = BN_bin2bn(tmp, len, NULL)))
crypto/openssl/crypto/srp/srp_vfy.c
240
vinfo->s = BN_bin2bn(tmp, len, NULL);
crypto/openssl/crypto/srp/srp_vfy.c
327
if ((newgN->bn = BN_bin2bn(tmp, len, NULL)))
crypto/openssl/crypto/srp/srp_vfy.c
597
BN_bin2bn(digs, SHA_DIGEST_LENGTH, NULL),
crypto/openssl/crypto/srp/srp_vfy.c
598
BN_bin2bn(digv, SHA_DIGEST_LENGTH, NULL)))
crypto/openssl/crypto/srp/srp_vfy.c
630
N_bn_alloc = BN_bin2bn(tmp, len, NULL);
crypto/openssl/crypto/srp/srp_vfy.c
636
g_bn_alloc = BN_bin2bn(tmp, len, NULL);
crypto/openssl/crypto/srp/srp_vfy.c
654
s = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL);
crypto/openssl/crypto/srp/srp_vfy.c
658
s = BN_bin2bn(tmp2, len, NULL);
crypto/openssl/crypto/srp/srp_vfy.c
734
salttmp = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL);
crypto/openssl/demos/pkey/EVP_PKEY_DSA_paramfromdata.c
31
p = BN_bin2bn(dsa_p, sizeof(dsa_p), NULL);
crypto/openssl/demos/pkey/EVP_PKEY_DSA_paramfromdata.c
32
q = BN_bin2bn(dsa_q, sizeof(dsa_q), NULL);
crypto/openssl/demos/pkey/EVP_PKEY_DSA_paramfromdata.c
33
g = BN_bin2bn(dsa_g, sizeof(dsa_g), NULL);
crypto/openssl/engines/e_capi.c
630
if (!BN_bin2bn(bin, binlen, bn))
crypto/openssl/fuzz/bignum.c
65
OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1);
crypto/openssl/fuzz/bignum.c
67
OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2);
crypto/openssl/fuzz/bignum.c
68
OPENSSL_assert(BN_bin2bn(buf + l1 + l2, l3, b3) == b3);
crypto/openssl/fuzz/bndiv.c
72
OPENSSL_assert(BN_bin2bn(buf, l1, b1) == b1);
crypto/openssl/fuzz/bndiv.c
74
OPENSSL_assert(BN_bin2bn(buf + l1, l2, b2) == b2);
crypto/openssl/include/openssl/bn.h
242
BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
crypto/openssl/providers/fips/self_test_kats.c
175
|| (BN_bin2bn(p->data, p->data_len, bn) == NULL)
crypto/openssl/providers/implementations/kem/ec_kem.c
433
if (BN_bin2bn(privbuf, info->Nsk, priv) == NULL)
crypto/openssl/ssl/statem/statem_clnt.c
2254
if ((s->srp_ctx.N = BN_bin2bn(PACKET_data(&prime),
crypto/openssl/ssl/statem/statem_clnt.c
2257
|| (s->srp_ctx.g = BN_bin2bn(PACKET_data(&generator),
crypto/openssl/ssl/statem/statem_clnt.c
2260
|| (s->srp_ctx.s = BN_bin2bn(PACKET_data(&salt),
crypto/openssl/ssl/statem/statem_clnt.c
2263
|| (s->srp_ctx.B = BN_bin2bn(PACKET_data(&server_pub),
crypto/openssl/ssl/statem/statem_clnt.c
2304
p = BN_bin2bn(PACKET_data(&prime), (int)PACKET_remaining(&prime), NULL);
crypto/openssl/ssl/statem/statem_clnt.c
2305
g = BN_bin2bn(PACKET_data(&generator), (int)PACKET_remaining(&generator),
crypto/openssl/ssl/statem/statem_clnt.c
2307
bnpub_key = BN_bin2bn(PACKET_data(&pub_key),
crypto/openssl/ssl/statem/statem_srvr.c
3211
if ((s->srp_ctx.A = BN_bin2bn(data, i, NULL)) == NULL) {
crypto/openssl/ssl/tls_srp.c
192
s->srp_ctx.b = BN_bin2bn(b, sizeof(b), NULL);
crypto/openssl/ssl/tls_srp.c
435
s->srp_ctx.a = BN_bin2bn(rnd, sizeof(rnd), s->srp_ctx.a);
crypto/openssl/test/acvp_test.c
1172
|| !TEST_ptr(BN_bin2bn(pub, pub_len, pub_bn))
crypto/openssl/test/acvp_test.c
1179
|| !TEST_ptr(BN_bin2bn(priv, priv_len, priv_bn))
crypto/openssl/test/acvp_test.c
1275
|| !TEST_ptr(BN_bin2bn(n, n_len, n_bn))
crypto/openssl/test/acvp_test.c
1281
|| !TEST_ptr(BN_bin2bn(e, e_len, e_bn))
crypto/openssl/test/acvp_test.c
1288
|| !TEST_ptr(BN_bin2bn(d, d_len, d_bn))
crypto/openssl/test/acvp_test.c
1327
|| !TEST_ptr(xp1_bn = BN_bin2bn(tst->xp1, tst->xp1_len, NULL))
crypto/openssl/test/acvp_test.c
1328
|| !TEST_ptr(xp2_bn = BN_bin2bn(tst->xp2, tst->xp2_len, NULL))
crypto/openssl/test/acvp_test.c
1329
|| !TEST_ptr(xp_bn = BN_bin2bn(tst->xp, tst->xp_len, NULL))
crypto/openssl/test/acvp_test.c
1330
|| !TEST_ptr(xq1_bn = BN_bin2bn(tst->xq1, tst->xq1_len, NULL))
crypto/openssl/test/acvp_test.c
1331
|| !TEST_ptr(xq2_bn = BN_bin2bn(tst->xq2, tst->xq2_len, NULL))
crypto/openssl/test/acvp_test.c
1332
|| !TEST_ptr(xq_bn = BN_bin2bn(tst->xq, tst->xq_len, NULL))
crypto/openssl/test/acvp_test.c
1349
|| !TEST_ptr(e_bn = BN_bin2bn(tst->e, tst->e_len, NULL))
crypto/openssl/test/acvp_test.c
323
|| !TEST_ptr(rbn = BN_bin2bn(tst->r, tst->r_len, NULL))
crypto/openssl/test/acvp_test.c
324
|| !TEST_ptr(sbn = BN_bin2bn(tst->s, tst->s_len, NULL))
crypto/openssl/test/acvp_test.c
667
|| !TEST_ptr(BN_bin2bn(p, p_len, p_bn))
crypto/openssl/test/acvp_test.c
676
|| !TEST_ptr(BN_bin2bn(q, q_len, q_bn))
crypto/openssl/test/acvp_test.c
682
|| !TEST_ptr(BN_bin2bn(g, g_len, g_bn))
crypto/openssl/test/acvp_test.c
700
|| !TEST_ptr(BN_bin2bn(pub, pub_len, pub_bn))
crypto/openssl/test/acvp_test.c
844
|| !TEST_ptr(rbn = BN_bin2bn(tst->r, tst->r_len, NULL))
crypto/openssl/test/acvp_test.c
845
|| !TEST_ptr(sbn = BN_bin2bn(tst->s, tst->s_len, NULL))
crypto/openssl/test/bntest.c
2297
zerotest(BN_bin2bn);
crypto/openssl/test/bntest.c
2332
lengthtest(BN_bin2bn, be);
crypto/openssl/test/dhtest.c
596
if (!TEST_ptr(priv_key = BN_bin2bn(td->xA, td->xA_len, NULL))
crypto/openssl/test/dhtest.c
597
|| !TEST_ptr(pub_key = BN_bin2bn(td->yA, td->yA_len, NULL))
crypto/openssl/test/dhtest.c
601
if (!TEST_ptr(priv_key = BN_bin2bn(td->xB, td->xB_len, NULL))
crypto/openssl/test/dhtest.c
602
|| !TEST_ptr(pub_key = BN_bin2bn(td->yB, td->yB_len, NULL))
crypto/openssl/test/dsa_no_digest_size_test.c
103
if (!DSA_set0_pqg(dsa, p = BN_bin2bn(dsap_2048, sizeof(dsap_2048), NULL),
crypto/openssl/test/dsa_no_digest_size_test.c
104
q = BN_bin2bn(dsaq_2048, sizeof(dsaq_2048), NULL),
crypto/openssl/test/dsa_no_digest_size_test.c
105
g = BN_bin2bn(dsag_2048, sizeof(dsag_2048), NULL))) {
crypto/openssl/test/dsatest.c
390
if (!TEST_ptr(p_in = BN_bin2bn(expected_p, sizeof(expected_p), NULL))
crypto/openssl/test/dsatest.c
391
|| !TEST_ptr(q_in = BN_bin2bn(expected_q, sizeof(expected_q), NULL))
crypto/openssl/test/dsatest.c
392
|| !TEST_ptr(g_in = BN_bin2bn(expected_g, sizeof(expected_g), NULL)))
crypto/openssl/test/dsatest.c
500
if (!TEST_ptr(p = BN_bin2bn(out_p, sizeof(out_p), NULL))
crypto/openssl/test/dsatest.c
501
|| !TEST_ptr(q = BN_bin2bn(out_q, sizeof(out_q), NULL))
crypto/openssl/test/dsatest.c
502
|| !TEST_ptr(g = BN_bin2bn(out_g, sizeof(out_g), NULL))
crypto/openssl/test/dsatest.c
503
|| !TEST_ptr(pub = BN_bin2bn(out_pub, sizeof(out_pub), NULL))
crypto/openssl/test/dsatest.c
504
|| !TEST_ptr(priv = BN_bin2bn(out_priv, sizeof(out_priv), NULL))
crypto/openssl/test/dsatest.c
589
if (!TEST_ptr(p = BN_bin2bn(out_p, sizeof(out_p), NULL))
crypto/openssl/test/dsatest.c
590
|| !TEST_ptr(q = BN_bin2bn(out_q, sizeof(out_q), NULL))
crypto/openssl/test/dsatest.c
591
|| !TEST_ptr(g = BN_bin2bn(out_g, sizeof(out_g), NULL))
crypto/openssl/test/dsatest.c
592
|| !TEST_ptr(pub = BN_bin2bn(out_pub, sizeof(out_pub), NULL))
crypto/openssl/test/dsatest.c
593
|| !TEST_ptr(priv = BN_bin2bn(out_priv, sizeof(out_priv), NULL))
crypto/openssl/test/ec_internal_test.c
87
|| !TEST_true(BN_bin2bn(params, len, p))
crypto/openssl/test/ec_internal_test.c
88
|| !TEST_true(BN_bin2bn(params + len, len, a))
crypto/openssl/test/ec_internal_test.c
89
|| !TEST_true(BN_bin2bn(params + 2 * len, len, b))
crypto/openssl/test/endecode_test.c
1152
&& TEST_ptr(BN_bin2bn(prime_data, sizeof(prime_data), prime))
crypto/openssl/test/endecode_test.c
1153
&& TEST_ptr(BN_bin2bn(a_data, sizeof(a_data), a))
crypto/openssl/test/endecode_test.c
1154
&& TEST_ptr(BN_bin2bn(b_data, sizeof(b_data), b))
crypto/openssl/test/endecode_test.c
1155
&& TEST_ptr(BN_bin2bn(order_data, sizeof(order_data), order))
crypto/openssl/test/endecode_test.c
1269
&& TEST_ptr(BN_bin2bn(poly_data, sizeof(poly_data), poly))
crypto/openssl/test/endecode_test.c
1270
&& TEST_ptr(BN_bin2bn(a_data, sizeof(a_data), a))
crypto/openssl/test/endecode_test.c
1271
&& TEST_ptr(BN_bin2bn(b_data, sizeof(b_data), b))
crypto/openssl/test/endecode_test.c
1272
&& TEST_ptr(BN_bin2bn(order_data, sizeof(order_data), order))
crypto/openssl/test/endecode_test.c
1273
&& TEST_ptr(BN_bin2bn(cofactor_data, sizeof(cofactor_data), cofactor))
crypto/openssl/test/enginetest.c
241
if (!RSA_set0_key(rsa, BN_bin2bn(n, sizeof(n) - 1, NULL),
crypto/openssl/test/enginetest.c
242
BN_bin2bn(e, sizeof(e) - 1, NULL), NULL)) {
crypto/openssl/test/evp_extra_test.c
1288
if (!TEST_ptr(priv = BN_bin2bn(ec_priv, sizeof(ec_priv), NULL)))
crypto/openssl/test/evp_extra_test.c
1450
if (!TEST_ptr(priv = BN_bin2bn(ec_priv, sizeof(ec_priv), NULL)))
crypto/openssl/test/evp_extra_test.c
1508
if (!TEST_ptr(priv = BN_bin2bn(ec_priv, sizeof(ec_priv), NULL)))
crypto/openssl/test/evp_extra_test.c
1584
if (!TEST_ptr(priv = BN_bin2bn(ec_priv, sizeof(ec_priv), NULL)))
crypto/openssl/test/evp_extra_test.c
1590
if (!TEST_ptr(x = BN_bin2bn(&ec_pub[1], 32, NULL)))
crypto/openssl/test/evp_extra_test.c
1593
if (!TEST_ptr(y = BN_bin2bn(&ec_pub[33], 32, NULL)))
crypto/openssl/test/evp_pkey_provided_test.c
1202
|| !TEST_ptr(pub = BN_bin2bn(pub_data, sizeof(pub_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1203
|| !TEST_ptr(priv = BN_bin2bn(priv_data, sizeof(priv_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1654
if (!TEST_ptr(ec_priv_bn = BN_bin2bn(ec_priv_keydata,
crypto/openssl/test/evp_pkey_provided_test.c
1993
|| !TEST_ptr(pub = BN_bin2bn(pub_data, sizeof(pub_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1994
|| !TEST_ptr(priv = BN_bin2bn(priv_data, sizeof(priv_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1995
|| !TEST_ptr(p = BN_bin2bn(p_data, sizeof(p_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1996
|| !TEST_ptr(q = BN_bin2bn(q_data, sizeof(q_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
1997
|| !TEST_ptr(g = BN_bin2bn(g_data, sizeof(g_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
589
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
590
|| !TEST_ptr(e = BN_bin2bn(e_data, sizeof(e_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
591
|| !TEST_ptr(d = BN_bin2bn(d_data, sizeof(d_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
592
|| !TEST_ptr(p = BN_bin2bn(p_data, sizeof(p_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
593
|| !TEST_ptr(q = BN_bin2bn(q_data, sizeof(q_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
594
|| !TEST_ptr(dmp1 = BN_bin2bn(dmp1_data, sizeof(dmp1_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
595
|| !TEST_ptr(dmq1 = BN_bin2bn(dmq1_data, sizeof(dmq1_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
596
|| !TEST_ptr(iqmp = BN_bin2bn(iqmp_data, sizeof(iqmp_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
761
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
762
|| !TEST_ptr(e = BN_bin2bn(e_data, sizeof(e_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
763
|| !TEST_ptr(d = BN_bin2bn(d_data, sizeof(d_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
764
|| !TEST_ptr(p = BN_bin2bn(p_data, sizeof(p_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
765
|| !TEST_ptr(q = BN_bin2bn(q_data, sizeof(q_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
766
|| !TEST_ptr(p2 = BN_bin2bn(p2_data, sizeof(p2_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
767
|| !TEST_ptr(exp3 = BN_bin2bn(exp3_data, sizeof(exp3_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
768
|| !TEST_ptr(coeff2 = BN_bin2bn(coeff2_data, sizeof(coeff2_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
769
|| !TEST_ptr(dmp1 = BN_bin2bn(dmp1_data, sizeof(dmp1_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
770
|| !TEST_ptr(dmq1 = BN_bin2bn(dmq1_data, sizeof(dmq1_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
771
|| !TEST_ptr(iqmp = BN_bin2bn(iqmp_data, sizeof(iqmp_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
853
|| !TEST_ptr(n = BN_bin2bn(n_data, sizeof(n_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
854
|| !TEST_ptr(e = BN_bin2bn(e_data, sizeof(e_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
855
|| !TEST_ptr(d = BN_bin2bn(d_data, sizeof(d_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
962
|| !TEST_ptr(pub = BN_bin2bn(pub_data, sizeof(pub_data), NULL))
crypto/openssl/test/evp_pkey_provided_test.c
963
|| !TEST_ptr(priv = BN_bin2bn(priv_data, sizeof(priv_data), NULL))
crypto/openssl/test/ffc_internal_test.c
183
if (!TEST_ptr(p = BN_bin2bn(dsa_2048_224_sha256_p,
crypto/openssl/test/ffc_internal_test.c
187
if (!TEST_ptr(q = BN_bin2bn(dsa_2048_224_sha256_q,
crypto/openssl/test/ffc_internal_test.c
190
if (!TEST_ptr(g = BN_bin2bn(dsa_2048_224_sha256_g,
crypto/openssl/test/ffc_internal_test.c
251
if (!TEST_ptr(p = BN_bin2bn(dsa_2048_224_sha224_p,
crypto/openssl/test/ffc_internal_test.c
255
if (!TEST_ptr(q = BN_bin2bn(dsa_2048_224_sha224_q,
crypto/openssl/test/ffc_internal_test.c
309
if (!TEST_ptr(p = BN_bin2bn(dsa_3072_256_sha512_p,
crypto/openssl/test/ffc_internal_test.c
312
if (!TEST_ptr(q = BN_bin2bn(dsa_3072_256_sha512_q,
crypto/openssl/test/helpers/predefined_dhparams.c
56
p = BN_bin2bn(pdata, plen, NULL);
crypto/openssl/test/helpers/predefined_dhparams.c
57
g = BN_bin2bn(gdata, glen, NULL);
crypto/openssl/test/helpers/predefined_dhparams.c
60
if (qdata != NULL && (q = BN_bin2bn(qdata, qlen, NULL)) == NULL)
crypto/openssl/test/rsa_mp_test.c
132
BN_bin2bn(n, sizeof(n) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
133
BN_bin2bn(e, sizeof(e) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
134
BN_bin2bn(d, sizeof(d) - 1, NULL)),
crypto/openssl/test/rsa_mp_test.c
147
BN_bin2bn(p, sizeof(p) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
148
BN_bin2bn(q, sizeof(q) - 1, NULL)),
crypto/openssl/test/rsa_mp_test.c
153
BN_bin2bn(dmp1, sizeof(dmp1) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
154
BN_bin2bn(dmq1, sizeof(dmq1) - 1, NULL),
crypto/openssl/test/rsa_mp_test.c
155
BN_bin2bn(iqmp, sizeof(iqmp) - 1,
crypto/openssl/test/rsa_mp_test.c
166
pris[0] = BN_bin2bn(ex_prime, sizeof(ex_prime) - 1, NULL);
crypto/openssl/test/rsa_mp_test.c
167
exps[0] = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL);
crypto/openssl/test/rsa_mp_test.c
168
coeffs[0] = BN_bin2bn(ex_coefficient, sizeof(ex_coefficient) - 1, NULL);
crypto/openssl/test/rsa_mp_test.c
203
if (!TEST_ptr(num = BN_bin2bn(p, sizeof(p) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
205
|| !TEST_ptr(num = BN_bin2bn(q, sizeof(q) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
207
|| !TEST_ptr(num = BN_bin2bn(ex_prime, sizeof(ex_prime) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
211
if (!TEST_ptr(num = BN_bin2bn(dmp1, sizeof(dmp1) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
213
|| !TEST_ptr(num = BN_bin2bn(dmq1, sizeof(dmq1) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
215
|| !TEST_ptr(num = BN_bin2bn(ex_exponent, sizeof(ex_exponent) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
219
if (!TEST_ptr(num = BN_bin2bn(iqmp, sizeof(iqmp) - 1, NULL))
crypto/openssl/test/rsa_mp_test.c
221
|| !TEST_ptr(num = BN_bin2bn(ex_coefficient, sizeof(ex_coefficient) - 1, NULL))
crypto/openssl/test/rsa_sp800_56b_test.c
103
BN_bin2bn(data, sz, ret);
crypto/openssl/test/rsa_test.c
34
BN_bin2bn(n, sizeof(n) - 1, NULL), \
crypto/openssl/test/rsa_test.c
35
BN_bin2bn(e, sizeof(e) - 1, NULL), \
crypto/openssl/test/rsa_test.c
36
BN_bin2bn(d, sizeof(d) - 1, NULL)); \
crypto/openssl/test/rsa_test.c
361
if (TEST_true(RSA_set0_key(key, BN_bin2bn(num, bytes, NULL),
crypto/openssl/test/rsa_test.c
362
BN_bin2bn(num, bytes, NULL), NULL))
crypto/openssl/test/rsa_test.c
38
BN_bin2bn(p, sizeof(p) - 1, NULL), \
crypto/openssl/test/rsa_test.c
39
BN_bin2bn(q, sizeof(q) - 1, NULL)); \
crypto/openssl/test/rsa_test.c
41
BN_bin2bn(dmp1, sizeof(dmp1) - 1, NULL), \
crypto/openssl/test/rsa_test.c
42
BN_bin2bn(dmq1, sizeof(dmq1) - 1, NULL), \
crypto/openssl/test/rsa_test.c
43
BN_bin2bn(iqmp, sizeof(iqmp) - 1, NULL)); \
crypto/openssl/test/rsa_test.c
469
ret = (TEST_ptr((p = BN_bin2bn(p_data, sizeof(p_data), NULL)))
crypto/openssl/test/rsa_test.c
470
&& TEST_ptr((q = BN_bin2bn(q_data, sizeof(q_data), NULL)))
crypto/openssl/test/rsa_test.c
471
&& TEST_ptr((n = BN_bin2bn(n_data, sizeof(n_data), NULL)))
crypto/openssl/test/rsa_test.c
472
&& TEST_ptr((d = BN_bin2bn(d_data, sizeof(d_data), NULL)))
crypto/openssl/test/rsa_test.c
473
&& TEST_ptr((e = BN_bin2bn(e_data, sizeof(e_data), NULL)))
crypto/openssl/test/rsa_test.c
541
pn = BN_bin2bn(n, sizeof(n), NULL);
crypto/openssl/test/rsa_test.c
542
pe = BN_bin2bn(e, sizeof(e), NULL);
crypto/openssl/test/rsa_test.c
544
pd = BN_bin2bn(d, sizeof(d), NULL);
crypto/openssl/test/srptest.c
62
b = BN_bin2bn(rand_tmp, sizeof(rand_tmp), NULL);
crypto/openssl/test/srptest.c
76
a = BN_bin2bn(rand_tmp, sizeof(rand_tmp), NULL);
lib/libsecureboot/openpgp/decode.c
234
bn = BN_bin2bn(ptr, mlen, NULL);