Lines Matching refs:bn_ctx

587                            BN_CTX *bn_ctx)  in dsa_create_pkey()  argument
596 || !TEST_ptr(p_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey()
605 || !TEST_ptr(q_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey()
611 if (!TEST_ptr(g_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey()
629 if (!TEST_ptr(pub_bn = BN_CTX_get(bn_ctx)) in dsa_create_pkey()
654 BN_CTX *bn_ctx = NULL; in dsa_pqver_test() local
659 if (!TEST_ptr(bn_ctx = BN_CTX_new_ex(libctx)) in dsa_pqver_test()
665 bn_ctx)) in dsa_pqver_test()
673 BN_CTX_free(bn_ctx); in dsa_pqver_test()
762 BN_CTX *bn_ctx = NULL; in dsa_sigver_test() local
765 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in dsa_sigver_test()
769 bn_ctx))) in dsa_sigver_test()
799 BN_CTX_free(bn_ctx); in dsa_sigver_test()
1078 BN_CTX *bn_ctx, int pass) in dh_create_pkey() argument
1094 if (!TEST_ptr(pub_bn = BN_CTX_get(bn_ctx)) in dh_create_pkey()
1101 if (!TEST_ptr(priv_bn = BN_CTX_get(bn_ctx)) in dh_create_pkey()
1162 BN_CTX *bn_ctx = NULL; in dh_safe_prime_keyver_test() local
1167 if (!TEST_ptr(bn_ctx = BN_CTX_new_ex(libctx)) in dh_safe_prime_keyver_test()
1170 tst->priv, tst->priv_len, bn_ctx, 1)) in dh_safe_prime_keyver_test()
1179 BN_CTX_free(bn_ctx); in dh_safe_prime_keyver_test()
1189 BN_CTX *bn_ctx) in rsa_create_pkey() argument
1198 || !TEST_ptr(n_bn = BN_CTX_get(bn_ctx)) in rsa_create_pkey()
1204 if (!TEST_ptr(e_bn = BN_CTX_get(bn_ctx)) in rsa_create_pkey()
1211 if (!TEST_ptr(d_bn = BN_CTX_get(bn_ctx)) in rsa_create_pkey()
1392 BN_CTX *bn_ctx = NULL; in rsa_sigver_test() local
1410 if (!TEST_ptr(bn_ctx = BN_CTX_new()) in rsa_sigver_test()
1412 tst->e, tst->e_len, NULL, 0, bn_ctx)) in rsa_sigver_test()
1429 BN_CTX_free(bn_ctx); in rsa_sigver_test()
1443 BN_CTX *bn_ctx = NULL; in rsa_decryption_primitive_test() local
1466 BN_CTX_free(bn_ctx); in rsa_decryption_primitive_test()