/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_pwd.c | 424 BN_bn2bin(data->my_scalar, scalar + offset); in eap_pwd_perform_commit_exchange() 427 BN_bn2bin(x, element + offset); in eap_pwd_perform_commit_exchange() 429 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); in eap_pwd_perform_commit_exchange() 503 BN_bn2bin(data->k, cruft + offset); in eap_pwd_perform_confirm_exchange() 516 BN_bn2bin(x, cruft + offset); in eap_pwd_perform_confirm_exchange() 520 BN_bn2bin(y, cruft + offset); in eap_pwd_perform_confirm_exchange() 527 BN_bn2bin(data->server_scalar, cruft + offset); in eap_pwd_perform_confirm_exchange() 541 BN_bn2bin(x, cruft + offset); in eap_pwd_perform_confirm_exchange() 545 BN_bn2bin(y, cruft + offset); in eap_pwd_perform_confirm_exchange() 552 BN_bn2bin(data->my_scalar, cruft + offset); in eap_pwd_perform_confirm_exchange() [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_pwd.c | 261 BN_bn2bin(data->my_scalar, scalar + offset); in eap_pwd_build_commit_req() 264 BN_bn2bin(x, element + offset); in eap_pwd_build_commit_req() 266 BN_bn2bin(y, element + BN_num_bytes(data->grp->prime) + offset); in eap_pwd_build_commit_req() 329 BN_bn2bin(data->k, cruft + offset); in eap_pwd_build_confirm_req() 343 BN_bn2bin(x, cruft + offset); in eap_pwd_build_confirm_req() 347 BN_bn2bin(y, cruft + offset); in eap_pwd_build_confirm_req() 354 BN_bn2bin(data->my_scalar, cruft + offset); in eap_pwd_build_confirm_req() 368 BN_bn2bin(x, cruft + offset); in eap_pwd_build_confirm_req() 372 BN_bn2bin(y, cruft + offset); in eap_pwd_build_confirm_req() 379 BN_bn2bin(data->peer_scalar, cruft + offset); in eap_pwd_build_confirm_req() [all …]
|
/external/openssl/crypto/pkcs12/ |
D | p12_key.c | 184 BN_bn2bin (Ij, B); in PKCS12_key_gen_uni() 188 BN_bn2bin (Ij, B); in PKCS12_key_gen_uni() 194 BN_bn2bin(Ij, I + j + v - Ijlen); in PKCS12_key_gen_uni() 196 } else BN_bn2bin (Ij, I + j); in PKCS12_key_gen_uni()
|
/external/openssl/crypto/dsa/ |
D | dsatest.c | 184 i=BN_bn2bin(dsa->q,buf); in main() 192 i=BN_bn2bin(dsa->p,buf); in main() 200 i=BN_bn2bin(dsa->g,buf); in main()
|
/external/openssl/crypto/srp/ |
D | srp_lib.c | 90 BN_bn2bin(N,tmp) ; in srp_Calc_k() 97 longg = BN_bn2bin(g,tmp) ; in srp_Calc_k() 129 EVP_DigestUpdate(&ctxt, cAB + BN_bn2bin(A,cAB+longN), longN); in SRP_Calc_u() 130 EVP_DigestUpdate(&ctxt, cAB + BN_bn2bin(B,cAB+longN), longN); in SRP_Calc_u() 225 BN_bn2bin(s,cs); in SRP_Calc_x()
|
/external/openssh/ |
D | rsa.c | 88 BN_bn2bin(in, inbuf); in rsa_public_encrypt() 114 BN_bn2bin(in, inbuf); in rsa_private_decrypt()
|
D | bufbn.c | 68 oi = BN_bn2bin(value, buf); in buffer_put_bignum_ret() 166 oi = BN_bn2bin(value, buf+1); in buffer_put_bignum2_ret()
|
D | ssh-dss.c | 81 BN_bn2bin(sig->r, sigblob+ SIGBLOB_LEN - INTBLOB_LEN - rlen); in ssh_dss_sign() 82 BN_bn2bin(sig->s, sigblob+ SIGBLOB_LEN - slen); in ssh_dss_sign()
|
D | auth-rsa.c | 109 BN_bn2bin(challenge, buf + 32 - len); in auth_rsa_verify_response()
|
/external/ipsec-tools/src/racoon/ |
D | plainrsa-gen.c | 94 binbuf[0] = BN_bn2bin(key->e, (unsigned char *) &binbuf[1]); in mix_b64_pubkey() 95 ret = BN_bn2bin(key->n, (unsigned char *) (&binbuf[binbuf[0] + 1])); in mix_b64_pubkey()
|
/external/openssl/apps/ |
D | dsaparam.c | 367 l=BN_bn2bin(dsa->p,data); in MAIN() 376 l=BN_bn2bin(dsa->q,data); in MAIN() 385 l=BN_bn2bin(dsa->g,data); in MAIN()
|
D | dh.c | 292 l=BN_bn2bin(dh->p,data); in MAIN() 301 l=BN_bn2bin(dh->g,data); in MAIN()
|
D | dhparam.c | 478 l=BN_bn2bin(dh->p,data); in MAIN() 487 l=BN_bn2bin(dh->g,data); in MAIN()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_pwd_common.c | 311 BN_bn2bin(peer_scalar, cruft + offset); in compute_keys() 315 BN_bn2bin(server_scalar, cruft + offset); in compute_keys() 327 BN_bn2bin(k, cruft + offset); in compute_keys()
|
/external/openssl/crypto/asn1/ |
D | t_pkey.c | 94 n=BN_bn2bin(num,&buf[1]); in ASN1_bn_print()
|
D | x_bignum.c | 121 BN_bn2bin(bn, cont); in bn_i2c()
|
D | a_enum.c | 167 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_ENUMERATED()
|
/external/openssl/crypto/ecdsa/ |
D | ecdsatest.c | 171 if (num != BN_num_bytes(tmp) || !BN_bn2bin(tmp, buf)) in fbytes() 457 BN_bn2bin(ecdsa_sig->r, raw_buf + bn_len - r_len); in test_builtin() 458 BN_bn2bin(ecdsa_sig->s, raw_buf + buf_len - s_len); in test_builtin()
|
/external/openssl/crypto/bn/ |
D | bn_mpi.c | 85 num=BN_bn2bin(a,&(d[4+ext])); in BN_bn2mpi()
|
/external/openssl/crypto/ec/ |
D | ec2_oct.c | 247 skip = BN_bn2bin(x, buf + i); in ec_GF2m_simple_point2oct() 268 skip = BN_bn2bin(y, buf + i); in ec_GF2m_simple_point2oct()
|
D | ecp_oct.c | 278 skip = BN_bn2bin(x, buf + i); in ec_GFp_simple_point2oct() 299 skip = BN_bn2bin(y, buf + i); in ec_GFp_simple_point2oct()
|
D | ec_print.c | 103 if (!BN_bn2bin(bn, buf)) in EC_POINT_bn2point()
|
/external/openssl/crypto/rsa/ |
D | rsa_eay.c | 236 i=BN_bn2bin(ret,&(to[num-j])); in RSA_eay_public_encrypt() 473 i=BN_bn2bin(res,&(to[num-j])); in RSA_eay_private_encrypt() 593 j=BN_bn2bin(ret,p); /* j is only used with no-padding mode */ in RSA_eay_private_decrypt() 703 i=BN_bn2bin(ret,p); in RSA_eay_public_decrypt()
|
/external/openssl/crypto/ecdh/ |
D | ech_ossl.c | 185 if (len != (size_t)BN_bn2bin(x, buf + buflen - len)) in ecdh_compute_key()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_openssl.c | 334 *result_len = BN_bn2bin(bn_result, result); in crypto_mod_exp() 493 BN_bn2bin(dh->pub_key, wpabuf_put(pubkey, publen)); in dh5_init() 494 BN_bn2bin(dh->priv_key, wpabuf_put(privkey, privlen)); in dh5_init()
|