Home
last modified time | relevance | path

Searched refs:bn_ctx (Results 1 – 8 of 8) sorted by relevance

/openssl/crypto/srp/
H A Dsrp_lib.c80 BN_CTX *bn_ctx; in SRP_Calc_server_key() local
101 BN_CTX_free(bn_ctx); in SRP_Calc_server_key()
111 BN_CTX *bn_ctx; in SRP_Calc_B_ex() local
131 BN_CTX_free(bn_ctx); in SRP_Calc_B_ex()
198 BN_CTX *bn_ctx; in SRP_Calc_A() local
208 BN_CTX_free(bn_ctx); in SRP_Calc_A()
218 BN_CTX *bn_ctx; in SRP_Calc_client_key_ex() local
251 BN_CTX_free(bn_ctx); in SRP_Calc_client_key_ex()
269 BN_CTX *bn_ctx; in SRP_Verify_B_mod_N() local
278 if (!BN_nnmod(r, B, N, bn_ctx)) in SRP_Verify_B_mod_N()
[all …]
H A Dsrp_vfy.c729 BN_CTX *bn_ctx = BN_CTX_new_ex(libctx); in SRP_create_verifier_BN_ex() local
736 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL)) in SRP_create_verifier_BN_ex()
758 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex()
771 BN_CTX_free(bn_ctx); in SRP_create_verifier_BN_ex()
/openssl/apps/lib/
H A Dtlssrp_depr.c29 BN_CTX *bn_ctx = BN_CTX_new(); in srp_Verify_N_and_g() local
33 g != NULL && N != NULL && bn_ctx != NULL && BN_is_odd(N) && in srp_Verify_N_and_g()
34 BN_check_prime(N, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g()
37 BN_check_prime(p, bn_ctx, NULL) == 1 && in srp_Verify_N_and_g()
40 BN_mod_exp(r, g, p, N, bn_ctx) && in srp_Verify_N_and_g()
45 BN_CTX_free(bn_ctx); in srp_Verify_N_and_g()
/openssl/test/
H A Dacvp_test.c717 BN_CTX *bn_ctx = NULL; in dsa_pqver_test() local
736 BN_CTX_free(bn_ctx); in dsa_pqver_test()
825 BN_CTX *bn_ctx = NULL; in dsa_sigver_test() local
828 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in dsa_sigver_test()
862 BN_CTX_free(bn_ctx); in dsa_sigver_test()
1225 BN_CTX *bn_ctx = NULL; in dh_safe_prime_keyver_test() local
1242 BN_CTX_free(bn_ctx); in dh_safe_prime_keyver_test()
1453 BN_CTX *bn_ctx = NULL; in rsa_sigver_test() local
1490 BN_CTX_free(bn_ctx); in rsa_sigver_test()
1504 BN_CTX *bn_ctx = NULL; in rsa_decryption_primitive_test() local
[all …]
H A Dectest.c1509 BN_CTX *bn_ctx = NULL; in check_named_curve_test() local
1683 BN_CTX_free(bn_ctx); in check_named_curve_test()
1831 BN_CTX *bn_ctx = NULL; in check_named_curve_from_ecparameters() local
1845 BN_CTX_start(bn_ctx); in check_named_curve_from_ecparameters()
2008 BN_CTX_end(bn_ctx); in check_named_curve_from_ecparameters()
2009 BN_CTX_free(bn_ctx); in check_named_curve_from_ecparameters()
2068 BN_CTX *bn_ctx = NULL; in ossl_parameter_test() local
2098 BN_CTX_start(bn_ctx); in ossl_parameter_test()
2099 p = BN_CTX_get(bn_ctx); in ossl_parameter_test()
2160 BN_CTX_end(bn_ctx); in ossl_parameter_test()
[all …]
/openssl/crypto/bn/
H A Dbuild.info104 $COMMON=bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \
/openssl/providers/
H A Dfips.module.sources87 crypto/bn/bn_ctx.c
H A Dfips-sources.checksums87 f53d3804456b787be45ace2b33b7a323e5e4fb6cfbe3aa3b6696e3ce0a640baa crypto/bn/bn_ctx.c

Completed in 29 milliseconds