/freebsd-10-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_test.c | 22 key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \ 23 key->e = BN_bin2bn(e, sizeof(e)-1, key->e); \ 24 key->d = BN_bin2bn(d, sizeof(d)-1, key->d); \ 25 key->p = BN_bin2bn(p, sizeof(p)-1, key->p); \ 26 key->q = BN_bin2bn(q, sizeof(q)-1, key->q); \ 27 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1)-1, key->dmp1); \ 28 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1)-1, key->dmq1); \ 29 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp)-1, key->iqmp); \
|
/freebsd-10-stable/crypto/openssl/crypto/dh/ |
H A D | p192.c | 76 dh->p = BN_bin2bn(data, sizeof(data), NULL);
|
H A D | p512.c | 81 dh->p = BN_bin2bn(data, sizeof(data), NULL);
|
H A D | p1024.c | 88 dh->p = BN_bin2bn(data, sizeof(data), NULL);
|
/freebsd-10-stable/contrib/unbound/sldns/ |
H A D | keyraw.c | 199 Q = BN_bin2bn(key+offset, SHA_DIGEST_LENGTH, NULL); 202 P = BN_bin2bn(key+offset, (int)length, NULL); 205 G = BN_bin2bn(key+offset, (int)length, NULL); 208 Y = BN_bin2bn(key+offset, (int)length, NULL); 259 (void) BN_bin2bn(key+offset, (int)exp, exponent); 269 (void) BN_bin2bn(key+offset, (int)(len - offset), modulus);
|
/freebsd-10-stable/crypto/openssh/ |
H A D | rsa.c | 102 if (BN_bin2bn(outbuf, len, out) == NULL) { 143 } else if (BN_bin2bn(outbuf, len, out) == NULL) {
|
H A D | sshbuf-getput-crypto.c | 43 if (v != NULL && BN_bin2bn(d, len, v) == NULL) 64 if (v != NULL && BN_bin2bn(d + 2, len_bytes, v) == NULL)
|
H A D | ssh-dss.c | 185 if ((BN_bin2bn(sigblob, INTBLOB_LEN, sig->r) == NULL) || 186 (BN_bin2bn(sigblob+ INTBLOB_LEN, INTBLOB_LEN, sig->s) == NULL)) {
|
/freebsd-10-stable/crypto/openssl/crypto/bn/ |
H A D | bn_mpi.c | 120 if (BN_bin2bn(d, (int)len, a) == NULL)
|
H A D | bn_rand.c | 188 if (!BN_bin2bn(buf, bytes, rnd))
|
/freebsd-10-stable/crypto/openssl/crypto/srp/ |
H A D | srp_vfy.c | 237 if (NULL == (vinfo->v = BN_bin2bn(tmp, len, NULL))) 240 return ((vinfo->s = BN_bin2bn(tmp, len, NULL)) != NULL); 314 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) 556 (user, BN_bin2bn(digs, SHA_DIGEST_LENGTH, NULL), 557 BN_bin2bn(digv, SHA_DIGEST_LENGTH, NULL))) 585 N_bn = BN_bin2bn(tmp, len, NULL); 588 g_bn = BN_bin2bn(tmp, len, NULL); 603 s = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL); 607 s = BN_bin2bn(tmp2, len, NULL); 676 salttmp = BN_bin2bn(tmp [all...] |
H A D | srptest.c | 63 b = BN_bin2bn(rand_tmp, sizeof(rand_tmp), NULL); 78 a = BN_bin2bn(rand_tmp, sizeof(rand_tmp), NULL);
|
H A D | srp_lib.c | 112 return BN_bin2bn(digest, sizeof(digest), NULL); 145 if (!(u = BN_bin2bn(cu, sizeof(cu), NULL))) 241 return BN_bin2bn(dig, sizeof(dig), NULL);
|
/freebsd-10-stable/crypto/openssl/apps/ |
H A D | testdsa.h | 49 dsa->priv_key = BN_bin2bn(dsa512_priv, sizeof(dsa512_priv), NULL); 50 dsa->pub_key = BN_bin2bn(dsa512_pub, sizeof(dsa512_pub), NULL); 51 dsa->p = BN_bin2bn(dsa512_p, sizeof(dsa512_p), NULL); 52 dsa->q = BN_bin2bn(dsa512_q, sizeof(dsa512_q), NULL); 53 dsa->g = BN_bin2bn(dsa512_g, sizeof(dsa512_g), NULL); 118 dsa->priv_key = BN_bin2bn(dsa1024_priv, sizeof(dsa1024_priv), NULL); 119 dsa->pub_key = BN_bin2bn(dsa1024_pub, sizeof(dsa1024_pub), NULL); 120 dsa->p = BN_bin2bn(dsa1024_p, sizeof(dsa1024_p), NULL); 121 dsa->q = BN_bin2bn(dsa1024_q, sizeof(dsa1024_q), NULL); 122 dsa->g = BN_bin2bn(dsa1024_ [all...] |
/freebsd-10-stable/crypto/openssl/crypto/asn1/ |
H A D | x_bignum.c | 148 if (!BN_bin2bn(cont, len, bn)) {
|
H A D | a_enum.c | 176 if ((ret = BN_bin2bn(ai->data, ai->length, bn)) == NULL)
|
/freebsd-10-stable/contrib/ldns/ |
H A D | keys.c | 263 bn = BN_bin2bn(pp, (int)ldns_rdf_size(b64rdf), NULL); 577 rsa->n = BN_bin2bn((const char unsigned*)buf, i, NULL); 587 rsa->e = BN_bin2bn((const char unsigned*)buf, i, NULL); 597 rsa->d = BN_bin2bn((const char unsigned*)buf, i, NULL); 607 rsa->p = BN_bin2bn((const char unsigned*)buf, i, NULL); 617 rsa->q = BN_bin2bn((const char unsigned*)buf, i, NULL); 627 rsa->dmp1 = BN_bin2bn((const char unsigned*)buf, i, NULL); 637 rsa->dmq1 = BN_bin2bn((const char unsigned*)buf, i, NULL); 647 rsa->iqmp = BN_bin2bn((const char unsigned*)buf, i, NULL); 693 dsa->p = BN_bin2bn((cons [all...] |
H A D | dnssec.c | 358 Q = BN_bin2bn(key+offset, SHA_DIGEST_LENGTH, NULL); 361 P = BN_bin2bn(key+offset, (int)length, NULL); 364 G = BN_bin2bn(key+offset, (int)length, NULL); 367 Y = BN_bin2bn(key+offset, (int)length, NULL); 428 (void) BN_bin2bn(key+offset, (int)exp, exponent); 438 (void) BN_bin2bn(key+offset, (int)(len - offset), modulus); 1770 (void) BN_bin2bn((unsigned char *) ldns_rdf_data(sig_rdf) + 1, 1777 (void) BN_bin2bn((unsigned char *) ldns_rdf_data(sig_rdf) + 21, 1846 sig->r = BN_bin2bn((const unsigned char*)ldns_rdf_data(sig_rdf), 1848 sig->s = BN_bin2bn((cons [all...] |
/freebsd-10-stable/crypto/openssl/crypto/ec/ |
H A D | ec_print.c | 79 ret = BN_bin2bn(buf, buf_len, ret);
|
H A D | ec2_oct.c | 358 if (!BN_bin2bn(buf + 1, field_len, x)) 370 if (!BN_bin2bn(buf + 1 + field_len, field_len, y))
|
/freebsd-10-stable/crypto/openssl/crypto/ecdsa/ |
H A D | ecdsatest.c | 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))
|
/freebsd-10-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_key.c | 188 if (!BN_bin2bn(B, v, Bpl1)) 193 if (!BN_bin2bn(I + j, v, Ij))
|
/freebsd-10-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 226 if (!BN_bin2bn(md, qsize, q)) 273 if (!BN_bin2bn(md, qsize, r0))
|
/freebsd-10-stable/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 57 return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), NULL); 322 bn_base = BN_bin2bn(base, base_len, NULL); 323 bn_exp = BN_bin2bn(power, power_len, NULL); 324 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL); 524 dh->priv_key = BN_bin2bn(wpabuf_head(priv), wpabuf_len(priv), NULL); 528 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); 555 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public),
|
/freebsd-10-stable/crypto/openssl/engines/ |
H A D | e_4758cca.c | 468 rtmp->e = BN_bin2bn(exponent, exponentLength, NULL); 469 rtmp->n = BN_bin2bn(modulus, modulusFieldLength, NULL); 539 rtmp->e = BN_bin2bn(exponent, exponentLength, NULL); 540 rtmp->n = BN_bin2bn(modulus, modulusFieldLength, NULL);
|