Home
last modified time | relevance | path

Searched refs:BN_bn2bin (Results 1 – 25 of 50) sorted by relevance

12

/external/wpa_supplicant_8/src/eap_peer/
Deap_pwd.c424 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/
Deap_server_pwd.c261 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/
Dp12_key.c184 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/
Ddsatest.c184 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/
Dsrp_lib.c90 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/
Drsa.c88 BN_bn2bin(in, inbuf); in rsa_public_encrypt()
114 BN_bn2bin(in, inbuf); in rsa_private_decrypt()
Dbufbn.c68 oi = BN_bn2bin(value, buf); in buffer_put_bignum_ret()
166 oi = BN_bn2bin(value, buf+1); in buffer_put_bignum2_ret()
Dssh-dss.c81 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()
Dauth-rsa.c109 BN_bn2bin(challenge, buf + 32 - len); in auth_rsa_verify_response()
/external/ipsec-tools/src/racoon/
Dplainrsa-gen.c94 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/
Ddsaparam.c367 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()
Ddh.c292 l=BN_bn2bin(dh->p,data); in MAIN()
301 l=BN_bn2bin(dh->g,data); in MAIN()
Ddhparam.c478 l=BN_bn2bin(dh->p,data); in MAIN()
487 l=BN_bn2bin(dh->g,data); in MAIN()
/external/wpa_supplicant_8/src/eap_common/
Deap_pwd_common.c311 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/
Dt_pkey.c94 n=BN_bn2bin(num,&buf[1]); in ASN1_bn_print()
Dx_bignum.c121 BN_bn2bin(bn, cont); in bn_i2c()
Da_enum.c167 ret->length=BN_bn2bin(bn,ret->data); in BN_to_ASN1_ENUMERATED()
/external/openssl/crypto/ecdsa/
Decdsatest.c171 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/
Dbn_mpi.c85 num=BN_bn2bin(a,&(d[4+ext])); in BN_bn2mpi()
/external/openssl/crypto/ec/
Dec2_oct.c247 skip = BN_bn2bin(x, buf + i); in ec_GF2m_simple_point2oct()
268 skip = BN_bn2bin(y, buf + i); in ec_GF2m_simple_point2oct()
Decp_oct.c278 skip = BN_bn2bin(x, buf + i); in ec_GFp_simple_point2oct()
299 skip = BN_bn2bin(y, buf + i); in ec_GFp_simple_point2oct()
Dec_print.c103 if (!BN_bn2bin(bn, buf)) in EC_POINT_bn2point()
/external/openssl/crypto/rsa/
Drsa_eay.c236 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/
Dech_ossl.c185 if (len != (size_t)BN_bn2bin(x, buf + buflen - len)) in ecdh_compute_key()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_openssl.c334 *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()

12