/external/openssl/crypto/rsa/ |
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/openssl/crypto/dh/ |
p192.c | 76 dh->p=BN_bin2bn(data,sizeof(data),NULL);
|
p512.c | 81 dh->p=BN_bin2bn(data,sizeof(data),NULL);
|
p1024.c | 88 dh->p=BN_bin2bn(data,sizeof(data),NULL);
|
/external/openssh/ |
rsa.c | 94 if (BN_bin2bn(outbuf, len, out) == NULL) 95 fatal("rsa_public_encrypt: BN_bin2bn failed"); 120 if (BN_bin2bn(outbuf, len, out) == NULL) 121 fatal("rsa_private_decrypt: BN_bin2bn failed");
|
bufbn.c | 121 if (BN_bin2bn(bin, bytes, value) == NULL) { 122 error("buffer_get_bignum_ret: BN_bin2bn failed"); 209 if (BN_bin2bn(bin, len, value) == NULL) { 210 error("buffer_get_bignum2_ret: BN_bin2bn failed");
|
ssh-dss.c | 166 if ((BN_bin2bn(sigblob, INTBLOB_LEN, sig->r) == NULL) || 167 (BN_bin2bn(sigblob+ INTBLOB_LEN, INTBLOB_LEN, sig->s) == NULL)) 168 fatal("ssh_dss_verify: BN_bin2bn failed");
|
kexdhc.c | 125 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) 126 fatal("kexdh_client: BN_bin2bn failed");
|
kexdhs.c | 118 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) 119 fatal("kexdh_server: BN_bin2bn failed");
|
kexecdhc.c | 123 if (BN_bin2bn(kbuf, klen, shared_secret) == NULL) 124 fatal("%s: BN_bin2bn failed", __func__);
|
/external/openssl/crypto/bn/ |
bn_mpi.c | 120 if (BN_bin2bn(d,(int)len,a) == NULL)
|
bn_rand.c | 199 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
|
/external/openssl/crypto/srp/ |
srp_vfy.c | 231 if (NULL == (vinfo->v = BN_bin2bn(tmp, len, NULL)) ) 234 return ((vinfo->s = BN_bin2bn(tmp, len, NULL)) != NULL) ; 294 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) 513 if (SRP_user_pwd_set_sv_BN(user, BN_bin2bn(digs,SHA_DIGEST_LENGTH,NULL), BN_bin2bn(digv,SHA_DIGEST_LENGTH, NULL))) 544 N_bn = BN_bin2bn(tmp, len, NULL); 546 g_bn = BN_bin2bn(tmp, len, NULL); 563 s = BN_bin2bn(tmp2, SRP_RANDOM_SALT_LEN, NULL); 569 s = BN_bin2bn(tmp2, len, NULL); 630 *salt = BN_bin2bn(tmp2,SRP_RANDOM_SALT_LEN,NULL) [all...] |
srp_lib.c | 105 return BN_bin2bn(digest, sizeof(digest), NULL); 135 if (!(u = BN_bin2bn(cu, sizeof(cu), NULL))) 232 return BN_bin2bn(dig, sizeof(dig), NULL);
|
/external/openssl/apps/ |
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_g,sizeof(dsa1024_g),NULL) [all...] |
/external/openssl/crypto/asn1/ |
x_bignum.c | 132 if(!BN_bin2bn(cont, len, bn)) {
|
a_enum.c | 178 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
|
/libcore/luni/src/main/java/java/math/ |
NativeBN.java | 53 public static native boolean BN_bin2bn(byte[] s, int len, boolean neg, int ret); 55 // BIGNUM * BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_openssl.c | 225 bn_base = BN_bin2bn(base, base_len, NULL); 226 bn_exp = BN_bin2bn(power, power_len, NULL); 227 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL);
|
/external/openssl/crypto/ec/ |
ec_print.c | 82 ret = BN_bin2bn(buf, buf_len, ret);
|
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/ |
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/openssl/crypto/dsa/ |
dsa_gen.c | 235 if (!BN_bin2bn(md, qsize, q)) 282 if (!BN_bin2bn(md, qsize, r0))
|
/external/openssl/crypto/pkcs12/ |
p12_key.c | 179 if (!BN_bin2bn (B, v, Bpl1)) goto err; 182 if (!BN_bin2bn (I + j, v, Ij)) goto err;
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 52 return BN_bin2bn(RFC3526_PRIME_1536, sizeof(RFC3526_PRIME_1536), NULL); 269 bn_base = BN_bin2bn(base, base_len, NULL); 270 bn_exp = BN_bin2bn(power, power_len, NULL); 271 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL); 467 pub_key = BN_bin2bn(wpabuf_head(peer_public), wpabuf_len(peer_public),
|