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.c720 BN_CTX *bn_ctx = BN_CTX_new_ex(libctx); in SRP_create_verifier_BN_ex() local
727 (verifier == NULL) || (N == NULL) || (g == NULL) || (bn_ctx == NULL)) in SRP_create_verifier_BN_ex()
749 if (!BN_mod_exp(verif, g, x, N, bn_ctx)) { in SRP_create_verifier_BN_ex()
762 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.c523 BN_CTX *bn_ctx = NULL; in dsa_pqver_test() local
542 BN_CTX_free(bn_ctx); in dsa_pqver_test()
627 BN_CTX *bn_ctx = NULL; in dsa_sigver_test() local
630 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in dsa_sigver_test()
664 BN_CTX_free(bn_ctx); in dsa_sigver_test()
981 BN_CTX *bn_ctx = NULL; in dh_safe_prime_keyver_test() local
998 BN_CTX_free(bn_ctx); in dh_safe_prime_keyver_test()
1205 BN_CTX *bn_ctx = NULL; in rsa_sigver_test() local
1237 BN_CTX_free(bn_ctx); in rsa_sigver_test()
1251 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
1515 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in check_named_curve_test()
1683 BN_CTX_free(bn_ctx); in check_named_curve_test()
1831 BN_CTX *bn_ctx = NULL; in check_named_curve_from_ecparameters() local
1843 if (!TEST_ptr(bn_ctx = BN_CTX_new())) in check_named_curve_from_ecparameters()
1845 BN_CTX_start(bn_ctx); in check_named_curve_from_ecparameters()
1848 !TEST_ptr(group_cofactor = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters()
1849 || !TEST_ptr(other_gen_x = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters()
1850 || !TEST_ptr(other_gen_y = BN_CTX_get(bn_ctx)) in check_named_curve_from_ecparameters()
2008 BN_CTX_end(bn_ctx); in check_named_curve_from_ecparameters()
[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.sources73 crypto/bn/bn_ctx.c
H A Dfips-sources.checksums73 2893b6d03d4850d09c15959941b0759bbb50d8c20e873bed088e7cde4e15a65a crypto/bn/bn_ctx.c

Completed in 38 milliseconds