/external/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); \
|
/external/chromium_org/net/quic/crypto/ |
H A D | channel_id_openssl.cc | 53 if (BN_bin2bn(key_bytes + 0, 32, x.get()) == NULL || 54 BN_bin2bn(key_bytes + 32, 32, y.get()) == NULL || 55 BN_bin2bn(signature_bytes + 0, 32, sig.r) == NULL || 56 BN_bin2bn(signature_bytes + 32, 32, sig.s) == NULL) {
|
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
H A D | rsa_test.c | 67 key->n = BN_bin2bn(n, sizeof(n) - 1, key->n); \ 68 key->e = BN_bin2bn(e, sizeof(e) - 1, key->e); \ 69 key->d = BN_bin2bn(d, sizeof(d) - 1, key->d); \ 70 key->p = BN_bin2bn(p, sizeof(p) - 1, key->p); \ 71 key->q = BN_bin2bn(q, sizeof(q) - 1, key->q); \ 72 key->dmp1 = BN_bin2bn(dmp1, sizeof(dmp1) - 1, key->dmp1); \ 73 key->dmq1 = BN_bin2bn(dmq1, sizeof(dmq1) - 1, key->dmq1); \ 74 key->iqmp = BN_bin2bn(iqmp, sizeof(iqmp) - 1, key->iqmp); \
|
/external/google-tv-pairing-protocol/cpp/src/polo/util/ |
H A D | poloutil.cc | 25 BIGNUM* bn = BN_bin2bn(bytes, length, NULL); 66 BIGNUM* bn = BN_bin2bn(bytes, 4, NULL);
|
/external/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);
|
/external/chromium_org/third_party/boringssl/src/crypto/ecdsa/ |
H A D | ecdsa_test.c | 226 if (BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL || 227 BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL) { 239 if (BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL || 240 BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL) {
|
/external/openssl/crypto/bn/ |
H A D | bn_mpi.c | 120 if (BN_bin2bn(d,(int)len,a) == NULL)
|
H A D | bn_rand.c | 200 if (!BN_bin2bn(buf,bytes,rnd)) goto err; 364 if (!BN_bin2bn(k_bytes, num_k_bytes, out))
|
/external/openssl/crypto/srp/ |
H A D | srp_vfy.c | 234 if (NULL == (vinfo->v = BN_bin2bn(tmp, len, NULL)) ) 237 return ((vinfo->s = BN_bin2bn(tmp, len, NULL)) != NULL) ; 297 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) 516 if (SRP_user_pwd_set_sv_BN(user, BN_bin2bn(digs,SHA_DIGEST_LENGTH,NULL), BN_bin2bn(digv,SHA_DIGEST_LENGTH, NULL))) 547 N_bn = BN_bin2bn(tmp, len, NULL); 549 g_bn = BN_bin2bn(tmp, len, NULL); 566 s = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL); 572 s = BN_bin2bn(tmp2, len, NULL); 634 *salt = BN_bin2bn(tmp [all...] |
/external/openssl/apps/ |
H A D | testdsa.h | 44 dsa->priv_key=BN_bin2bn(dsa512_priv,sizeof(dsa512_priv),NULL); 45 dsa->pub_key=BN_bin2bn(dsa512_pub,sizeof(dsa512_pub),NULL); 46 dsa->p=BN_bin2bn(dsa512_p,sizeof(dsa512_p),NULL); 47 dsa->q=BN_bin2bn(dsa512_q,sizeof(dsa512_q),NULL); 48 dsa->g=BN_bin2bn(dsa512_g,sizeof(dsa512_g),NULL); 108 dsa->priv_key=BN_bin2bn(dsa1024_priv,sizeof(dsa1024_priv),NULL); 109 dsa->pub_key=BN_bin2bn(dsa1024_pub,sizeof(dsa1024_pub),NULL); 110 dsa->p=BN_bin2bn(dsa1024_p,sizeof(dsa1024_p),NULL); 111 dsa->q=BN_bin2bn(dsa1024_q,sizeof(dsa1024_q),NULL); 112 dsa->g=BN_bin2bn(dsa1024_ [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
H A D | random.c | 163 if (!BN_bin2bn(buf, bytes, rnd)) { 310 if (!BN_bin2bn(k_bytes, num_k_bytes, out)) {
|
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
H A D | x_bignum.c | 131 if(!BN_bin2bn(cont, len, bn)) {
|
H A D | a_enum.c | 177 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
|
/external/openssl/crypto/asn1/ |
H A D | x_bignum.c | 132 if(!BN_bin2bn(cont, len, bn)) {
|
H A D | a_enum.c | 178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
|
/external/openssl/crypto/ec/ |
H A D | ec_print.c | 82 ret = BN_bin2bn(buf, buf_len, ret);
|
H A D | ec2_oct.c | 361 if (!BN_bin2bn(buf + 1, field_len, x)) goto err; 374 if (!BN_bin2bn(buf + 1 + field_len, field_len, y)) goto err;
|
/external/openssl/crypto/ecdsa/ |
H A D | ecdsatest.c | 465 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) || 466 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL)) 478 if ((BN_bin2bn(raw_buf, bn_len, ecdsa_sig->r) == NULL) || 479 (BN_bin2bn(raw_buf + bn_len, bn_len, ecdsa_sig->s) == NULL))
|
/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | aes_ctr_openssl.cc | 101 // If the counter is a multiple of 8 bits then can call BN_bin2bn() directly. 104 return crypto::ScopedBIGNUM(BN_bin2bn( 111 // BN_bin2bn() can be called with a byte stream. 119 BN_bin2bn(&counter.front(), counter.size(), NULL));
|
/external/openssl/crypto/dsa/ |
H A D | dsa_gen.c | 235 if (!BN_bin2bn(md, qsize, q)) 282 if (!BN_bin2bn(md, qsize, r0))
|
/external/openssl/crypto/pkcs12/ |
H A D | p12_key.c | 179 if (!BN_bin2bn (B, v, Bpl1)) 184 if (!BN_bin2bn(I + j, v, Ij))
|
/external/wpa_supplicant_8/hostapd/src/crypto/ |
H A D | crypto_openssl.c | 62 return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), NULL); 329 bn_base = BN_bin2bn(base, base_len, NULL); 330 bn_exp = BN_bin2bn(power, power_len, NULL); 331 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL); 533 dh->priv_key = BN_bin2bn(wpabuf_head(priv), wpabuf_len(priv), NULL); 537 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); 564 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public), 840 BIGNUM *bn = BN_bin2bn(buf, len, NULL); 1159 x = BN_bin2bn(val, len, NULL); 1160 y = BN_bin2bn(va [all...] |
/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_openssl.c | 62 return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), NULL); 329 bn_base = BN_bin2bn(base, base_len, NULL); 330 bn_exp = BN_bin2bn(power, power_len, NULL); 331 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL); 533 dh->priv_key = BN_bin2bn(wpabuf_head(priv), wpabuf_len(priv), NULL); 537 dh->pub_key = BN_bin2bn(wpabuf_head(publ), wpabuf_len(publ), NULL); 564 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public), 840 BIGNUM *bn = BN_bin2bn(buf, len, NULL); 1159 x = BN_bin2bn(val, len, NULL); 1160 y = BN_bin2bn(va [all...] |