/external/chromium_org/third_party/openssl/openssl/crypto/srp/ |
D | srp_lib.c | 146 BN_CTX *bn_ctx; in SRP_Calc_server_key() local 151 if ((bn_ctx = BN_CTX_new()) == NULL || in SRP_Calc_server_key() 158 if (!BN_mod_exp(tmp,v,u,N,bn_ctx)) in SRP_Calc_server_key() 160 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx)) in SRP_Calc_server_key() 162 if (!BN_mod_exp(S,tmp,b,N,bn_ctx)) in SRP_Calc_server_key() 165 BN_CTX_free(bn_ctx); in SRP_Calc_server_key() 174 BN_CTX *bn_ctx; in SRP_Calc_B() local 177 (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_B() 187 if (!BN_mod_exp(gb,g,b,N,bn_ctx) || in SRP_Calc_B() 189 !BN_mod_mul(kv,v,k,N,bn_ctx) || in SRP_Calc_B() [all …]
|
D | srp_vfy.c | 612 BN_CTX *bn_ctx = BN_CTX_new(); in SRP_create_verifier_BN() local 621 (bn_ctx == NULL)) in SRP_create_verifier_BN() 639 if (!BN_mod_exp(*verifier,g,x,N,bn_ctx)) in SRP_create_verifier_BN() 652 BN_CTX_free(bn_ctx); in SRP_create_verifier_BN()
|
/external/openssl/crypto/srp/ |
D | srp_lib.c | 146 BN_CTX *bn_ctx; in SRP_Calc_server_key() local 151 if ((bn_ctx = BN_CTX_new()) == NULL || in SRP_Calc_server_key() 158 if (!BN_mod_exp(tmp,v,u,N,bn_ctx)) in SRP_Calc_server_key() 160 if (!BN_mod_mul(tmp,A,tmp,N,bn_ctx)) in SRP_Calc_server_key() 162 if (!BN_mod_exp(S,tmp,b,N,bn_ctx)) in SRP_Calc_server_key() 165 BN_CTX_free(bn_ctx); in SRP_Calc_server_key() 174 BN_CTX *bn_ctx; in SRP_Calc_B() local 177 (bn_ctx = BN_CTX_new()) == NULL) in SRP_Calc_B() 187 if (!BN_mod_exp(gb,g,b,N,bn_ctx) || in SRP_Calc_B() 189 !BN_mod_mul(kv,v,k,N,bn_ctx) || in SRP_Calc_B() [all …]
|
D | srp_vfy.c | 612 BN_CTX *bn_ctx = BN_CTX_new(); in SRP_create_verifier_BN() local 621 (bn_ctx == NULL)) in SRP_create_verifier_BN() 639 if (!BN_mod_exp(*verifier,g,x,N,bn_ctx)) in SRP_create_verifier_BN() 652 BN_CTX_free(bn_ctx); in SRP_create_verifier_BN()
|
/external/openssh/ |
D | jpake.c | 199 BN_CTX *bn_ctx; in jpake_step1() local 201 if ((bn_ctx = BN_CTX_new()) == NULL) in jpake_step1() 226 if (BN_mod_exp(*g_priv1, grp->g, *priv1, grp->p, bn_ctx) == -1) in jpake_step1() 228 if (BN_mod_exp(*g_priv2, grp->g, *priv2, grp->p, bn_ctx) == -1) in jpake_step1() 241 BN_CTX_free(bn_ctx); in jpake_step1() 255 BN_CTX *bn_ctx; in jpake_step2() local 275 if ((bn_ctx = BN_CTX_new()) == NULL) in jpake_step2() 287 if (BN_mod_mul(exponent, mypriv2, s, grp->q, bn_ctx) != 1) in jpake_step2() 295 if (BN_mod_mul(tmp, mypub1, theirpub1, grp->p, bn_ctx) != 1) in jpake_step2() 298 if (BN_mod_mul(tmp, tmp, theirpub2, grp->p, bn_ctx) != 1) in jpake_step2() [all …]
|
D | schnorr.c | 131 BN_CTX *bn_ctx; in schnorr_sign() local 147 if ((bn_ctx = BN_CTX_new()) == NULL) { in schnorr_sign() 169 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) { in schnorr_sign() 183 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) { in schnorr_sign() 187 if (BN_mod_sub(r, v, tmp, grp_q, bn_ctx) == -1) { in schnorr_sign() 199 BN_CTX_free(bn_ctx); in schnorr_sign() 263 BN_CTX *bn_ctx; in schnorr_verify() local 278 if ((bn_ctx = BN_CTX_new()) == NULL) { in schnorr_verify() 294 if (BN_mod_exp(gx_q, g_x, grp_q, grp_p, bn_ctx) == -1) { in schnorr_verify() 312 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx) == -1) { in schnorr_verify() [all …]
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
D | d1_srvr.c | 1039 BN_CTX *bn_ctx = NULL; in dtls1_send_server_key_exchange() local 1237 bn_ctx = BN_CTX_new(); in dtls1_send_server_key_exchange() 1238 if ((encodedPoint == NULL) || (bn_ctx == NULL)) in dtls1_send_server_key_exchange() 1248 encodedPoint, encodedlen, bn_ctx); in dtls1_send_server_key_exchange() 1256 BN_CTX_free(bn_ctx); bn_ctx=NULL; in dtls1_send_server_key_exchange() 1462 BN_CTX_free(bn_ctx); in dtls1_send_server_key_exchange()
|
D | d1_clnt.c | 973 BN_CTX * bn_ctx = NULL; in dtls1_send_client_key_exchange() local 1386 bn_ctx = BN_CTX_new(); in dtls1_send_client_key_exchange() 1388 (bn_ctx == NULL)) in dtls1_send_client_key_exchange() 1398 encodedPoint, encoded_pt_len, bn_ctx); in dtls1_send_client_key_exchange() 1410 BN_CTX_free(bn_ctx); in dtls1_send_client_key_exchange() 1529 BN_CTX_free(bn_ctx); in dtls1_send_client_key_exchange()
|
D | s3_clnt.c | 1360 BN_CTX *bn_ctx = NULL; in ssl3_get_key_exchange() local 1745 ((bn_ctx = BN_CTX_new()) == NULL)) in ssl3_get_key_exchange() 1756 p, encoded_pt_len, bn_ctx) == 0)) in ssl3_get_key_exchange() 1783 BN_CTX_free(bn_ctx); in ssl3_get_key_exchange() 1784 bn_ctx = NULL; in ssl3_get_key_exchange() 1930 BN_CTX_free(bn_ctx); in ssl3_get_key_exchange() 2315 BN_CTX * bn_ctx = NULL; in ssl3_send_client_key_exchange() local 2747 bn_ctx = BN_CTX_new(); in ssl3_send_client_key_exchange() 2749 (bn_ctx == NULL)) in ssl3_send_client_key_exchange() 2759 encodedPoint, encoded_pt_len, bn_ctx); in ssl3_send_client_key_exchange() [all …]
|
D | s3_srvr.c | 1601 BN_CTX *bn_ctx = NULL; in ssl3_send_server_key_exchange() local 1798 bn_ctx = BN_CTX_new(); in ssl3_send_server_key_exchange() 1799 if ((encodedPoint == NULL) || (bn_ctx == NULL)) in ssl3_send_server_key_exchange() 1809 encodedPoint, encodedlen, bn_ctx); in ssl3_send_server_key_exchange() 1817 BN_CTX_free(bn_ctx); bn_ctx=NULL; in ssl3_send_server_key_exchange() 2051 BN_CTX_free(bn_ctx); in ssl3_send_server_key_exchange() 2176 BN_CTX *bn_ctx = NULL; in ssl3_get_client_key_exchange() local 2649 if ((bn_ctx = BN_CTX_new()) == NULL) in ssl3_get_client_key_exchange() 2666 clnt_ecpoint, p, i, bn_ctx) == 0) in ssl3_get_client_key_exchange() 2697 BN_CTX_free(bn_ctx); in ssl3_get_client_key_exchange() [all …]
|
/external/openssl/ssl/ |
D | d1_srvr.c | 1039 BN_CTX *bn_ctx = NULL; in dtls1_send_server_key_exchange() local 1237 bn_ctx = BN_CTX_new(); in dtls1_send_server_key_exchange() 1238 if ((encodedPoint == NULL) || (bn_ctx == NULL)) in dtls1_send_server_key_exchange() 1248 encodedPoint, encodedlen, bn_ctx); in dtls1_send_server_key_exchange() 1256 BN_CTX_free(bn_ctx); bn_ctx=NULL; in dtls1_send_server_key_exchange() 1462 BN_CTX_free(bn_ctx); in dtls1_send_server_key_exchange()
|
D | d1_clnt.c | 973 BN_CTX * bn_ctx = NULL; in dtls1_send_client_key_exchange() local 1386 bn_ctx = BN_CTX_new(); in dtls1_send_client_key_exchange() 1388 (bn_ctx == NULL)) in dtls1_send_client_key_exchange() 1398 encodedPoint, encoded_pt_len, bn_ctx); in dtls1_send_client_key_exchange() 1410 BN_CTX_free(bn_ctx); in dtls1_send_client_key_exchange() 1529 BN_CTX_free(bn_ctx); in dtls1_send_client_key_exchange()
|
D | s3_srvr.c | 1600 BN_CTX *bn_ctx = NULL; in ssl3_send_server_key_exchange() local 1797 bn_ctx = BN_CTX_new(); in ssl3_send_server_key_exchange() 1798 if ((encodedPoint == NULL) || (bn_ctx == NULL)) in ssl3_send_server_key_exchange() 1808 encodedPoint, encodedlen, bn_ctx); in ssl3_send_server_key_exchange() 1816 BN_CTX_free(bn_ctx); bn_ctx=NULL; in ssl3_send_server_key_exchange() 2050 BN_CTX_free(bn_ctx); in ssl3_send_server_key_exchange() 2175 BN_CTX *bn_ctx = NULL; in ssl3_get_client_key_exchange() local 2648 if ((bn_ctx = BN_CTX_new()) == NULL) in ssl3_get_client_key_exchange() 2665 clnt_ecpoint, p, i, bn_ctx) == 0) in ssl3_get_client_key_exchange() 2696 BN_CTX_free(bn_ctx); in ssl3_get_client_key_exchange() [all …]
|
D | s3_clnt.c | 1359 BN_CTX *bn_ctx = NULL; in ssl3_get_key_exchange() local 1744 ((bn_ctx = BN_CTX_new()) == NULL)) in ssl3_get_key_exchange() 1755 p, encoded_pt_len, bn_ctx) == 0)) in ssl3_get_key_exchange() 1782 BN_CTX_free(bn_ctx); in ssl3_get_key_exchange() 1783 bn_ctx = NULL; in ssl3_get_key_exchange() 1929 BN_CTX_free(bn_ctx); in ssl3_get_key_exchange() 2315 BN_CTX * bn_ctx = NULL; in ssl3_send_client_key_exchange() local 2740 bn_ctx = BN_CTX_new(); in ssl3_send_client_key_exchange() 2742 (bn_ctx == NULL)) in ssl3_send_client_key_exchange() 2752 encodedPoint, encoded_pt_len, bn_ctx); in ssl3_send_client_key_exchange() [all …]
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | s_client.c | 411 BN_CTX *bn_ctx = BN_CTX_new(); in srp_Verify_N_and_g() local 415 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g() 416 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g() 420 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g() 424 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g() 432 if(bn_ctx) in srp_Verify_N_and_g() 433 BN_CTX_free(bn_ctx); in srp_Verify_N_and_g()
|
/external/openssl/apps/ |
D | s_client.c | 412 BN_CTX *bn_ctx = BN_CTX_new(); in srp_Verify_N_and_g() local 416 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g() 417 BN_is_prime_ex(N, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g() 421 BN_is_prime_ex(p, SRP_NUMBER_ITERATIONS_FOR_PRIME, bn_ctx, NULL) && in srp_Verify_N_and_g() 425 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g() 433 if(bn_ctx) in srp_Verify_N_and_g() 434 BN_CTX_free(bn_ctx); in srp_Verify_N_and_g()
|
/external/openssl/ |
D | Crypto-config.mk | 146 crypto/bn/bn_ctx.c \
|
D | openssl.config | 411 crypto/bn/bn_ctx.c \
|
/external/chromium_org/third_party/openssl/openssl/ |
D | Crypto-config.mk | 146 crypto/bn/bn_ctx.c \
|
D | openssl.config | 410 crypto/bn/bn_ctx.c \
|
D | openssl.config.orig | 410 crypto/bn/bn_ctx.c \
|
/external/chromium_org/third_party/openssl/ |
D | openssl.gypi | 132 'openssl/crypto/bn/bn_ctx.c',
|
D | openssl.target.darwin-x86.mk | 145 third_party/openssl/openssl/crypto/bn/bn_ctx.c \
|
D | openssl.target.linux-mips.mk | 148 third_party/openssl/openssl/crypto/bn/bn_ctx.c \
|
D | openssl.target.darwin-mips.mk | 148 third_party/openssl/openssl/crypto/bn/bn_ctx.c \
|