/external/wpa_supplicant_8/src/eap_peer/ |
eap_pwd.c | 330 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), x); 331 ptr += BN_num_bytes(data->grp->prime); 332 BN_bin2bn(ptr, BN_num_bytes(data->grp->prime), y); 333 ptr += BN_num_bytes(data->grp->prime); 334 BN_bin2bn(ptr, BN_num_bytes(data->grp->order), data->server_scalar); 407 if (((scalar = os_malloc(BN_num_bytes(data->grp->order))) == NULL) || 408 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == 419 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); 420 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); 421 offset = BN_num_bytes(data->grp->order) [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_pwd.c | 244 if (((scalar = os_malloc(BN_num_bytes(data->grp->order))) == NULL) || 245 ((element = os_malloc(BN_num_bytes(data->grp->prime) * 2)) == 256 os_memset(scalar, 0, BN_num_bytes(data->grp->order)); 257 os_memset(element, 0, BN_num_bytes(data->grp->prime) * 2); 258 offset = BN_num_bytes(data->grp->order) - 259 BN_num_bytes(data->my_scalar); 262 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(x); 264 offset = BN_num_bytes(data->grp->prime) - BN_num_bytes(y) [all...] |
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 148 primebytelen = BN_num_bytes(grp->prime); 283 if ((cruft = os_malloc(BN_num_bytes(grp->prime))) == NULL) 293 offset = BN_num_bytes(grp->order) - BN_num_bytes(peer_scalar); 294 os_memset(cruft, 0, BN_num_bytes(grp->prime)); 296 H_Update(&ctx, cruft, BN_num_bytes(grp->order)); 297 offset = BN_num_bytes(grp->order) - BN_num_bytes(server_scalar); 298 os_memset(cruft, 0, BN_num_bytes(grp->prime)); 300 H_Update(&ctx, cruft, BN_num_bytes(grp->order)) [all...] |
/external/openssh/ |
rsa.c | 83 olen = BN_num_bytes(key->n); 86 ilen = BN_num_bytes(in); 109 olen = BN_num_bytes(key->n); 112 ilen = BN_num_bytes(in);
|
ssh-dss.c | 73 rlen = BN_num_bytes(sig->r); 74 slen = BN_num_bytes(sig->s);
|
bufbn.c | 158 bytes = BN_num_bytes(value) + 1; /* extra padding byte */
|
kex.c | 572 len = BN_num_bytes(host_modulus); 578 len = BN_num_bytes(server_modulus);
|
/external/openssl/crypto/ec/ |
eck_prn.c | 250 buf_len = (size_t)BN_num_bytes(p); 251 if (buf_len < (i = (size_t)BN_num_bytes(a))) 253 if (buf_len < (i = (size_t)BN_num_bytes(b))) 255 if (buf_len < (i = (size_t)BN_num_bytes(gen))) 257 if (buf_len < (i = (size_t)BN_num_bytes(order))) 259 if (buf_len < (i = (size_t)BN_num_bytes(cofactor)))
|
ecp_oct.c | 233 field_len = BN_num_bytes(&group->field); 267 skip = field_len - BN_num_bytes(x); 288 skip = field_len - BN_num_bytes(y); 367 field_len = BN_num_bytes(&group->field);
|
ec2_oct.c | 236 skip = field_len - BN_num_bytes(x); 257 skip = field_len - BN_num_bytes(y);
|
ec_print.c | 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL;
|
ec_ameth.c | 462 buf_len = (size_t)BN_num_bytes(pub_key); 468 if (priv_key && (i = (size_t)BN_num_bytes(priv_key)) > buf_len)
|
/external/openssl/crypto/pem/ |
pvkfmt.c | 454 nb = BN_num_bytes(bn); 582 nbyte = BN_num_bytes(rsa->n); 595 if (BN_num_bytes(rsa->d) > nbyte) 597 if ((BN_num_bytes(rsa->iqmp) > hnbyte) 598 || (BN_num_bytes(rsa->p) > hnbyte) 599 || (BN_num_bytes(rsa->q) > hnbyte) 600 || (BN_num_bytes(rsa->dmp1) > hnbyte) 601 || (BN_num_bytes(rsa->dmq1) > hnbyte)) 614 nbyte = BN_num_bytes(rsa->n); 632 nbyte = BN_num_bytes(dsa->p) [all...] |
/external/openssl/crypto/srp/ |
srp_lib.c | 86 int longN = BN_num_bytes(N); 120 longN= BN_num_bytes(N); 214 if ((cs = OPENSSL_malloc(BN_num_bytes(s))) == NULL) 226 EVP_DigestUpdate(&ctxt, cs, BN_num_bytes(s));
|
srp_vfy.c | 576 if (((vf = OPENSSL_malloc(BN_num_bytes(v)*2)) == NULL)) 578 t_tob64(vf, tmp, BN_num_bytes(v));
|
/external/ipsec-tools/src/racoon/ |
plainrsa-gen.c | 91 binlen = 1 + BN_num_bytes(key->e) + BN_num_bytes(key->n);
|
/external/openssl/apps/ |
ecparam.c | 525 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) 527 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) 529 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) 531 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) 533 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) 535 if ((tmp_len = (size_t)BN_num_bytes(ec_cofactor)) > buf_len)
|
/external/openssl/crypto/rsa/ |
rsa_eay.c | 187 num=BN_num_bytes(rsa->n); 235 j=BN_num_bytes(ret); 368 num = BN_num_bytes(rsa->n); 472 j=BN_num_bytes(res); 511 num = BN_num_bytes(rsa->n); 668 num=BN_num_bytes(rsa->n);
|
/external/openssl/crypto/ecdsa/ |
ecdsatest.c | 171 if (num != BN_num_bytes(tmp) || !BN_bn2bin(tmp, buf)) 444 r_len = BN_num_bytes(ecdsa_sig->r); 445 s_len = BN_num_bytes(ecdsa_sig->s);
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 431 publen = BN_num_bytes(dh->pub_key); 435 privlen = BN_num_bytes(dh->priv_key);
|
/external/openssl/crypto/asn1/ |
t_pkey.c | 82 if (BN_num_bytes(num) <= BN_BYTES)
|
x_bignum.c | 123 return pad + BN_num_bytes(bn);
|
/external/openssl/crypto/dsa/ |
dsa_ossl.c | 169 if (dlen > BN_num_bytes(dsa->q)) 173 dlen = BN_num_bytes(dsa->q);
|
/external/openssl/crypto/dh/ |
dh_lib.c | 259 return(BN_num_bytes(dh->p));
|
/external/openssl/crypto/ecdh/ |
ech_ossl.c | 172 len = BN_num_bytes(x);
|