HomeSort by relevance Sort by last modified time
    Searched refs:BN_bin2bn (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /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/chromium_org/net/quic/crypto/
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/
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/
poloutil.cc 25 BIGNUM* bn = BN_bin2bn(bytes, length, NULL);
66 BIGNUM* bn = BN_bin2bn(bytes, 4, NULL);
  /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/chromium_org/third_party/boringssl/src/crypto/ecdsa/
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/
bn_mpi.c 120 if (BN_bin2bn(d,(int)len,a) == NULL)
bn_rand.c 200 if (!BN_bin2bn(buf,bytes,rnd)) goto err;
364 if (!BN_bin2bn(k_bytes, num_k_bytes, out))
  /libcore/luni/src/main/java/java/math/
NativeBN.java 42 public static native void BN_bin2bn(byte[] s, int len, boolean neg, long ret);
43 // BIGNUM * BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret);
  /external/openssl/crypto/srp/
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(tmp2,SRP_RANDOM_SALT_LEN,NULL)
    [all...]
  /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/chromium_org/third_party/boringssl/src/crypto/bn/
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/
x_bignum.c 131 if(!BN_bin2bn(cont, len, bn)) {
a_enum.c 177 if ((ret=BN_bin2bn(ai->data,ai->length,bn)) == NULL)
  /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)
  /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/chromium_org/content/child/webcrypto/openssl/
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/
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))
184 if (!BN_bin2bn(I + j, v, Ij))
  /external/wpa_supplicant_8/src/crypto/
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(val + len, len, NULL)
    [all...]

Completed in 423 milliseconds

1 2 3 4