Lines Matching refs:TEST_int_eq

293     if (!TEST_int_eq(EVP_PKEY_todata(key, EVP_PKEY_PUBLIC_KEY, &pub_params), 1)  in do_pkey_tofrom_data_select()
300 if (!TEST_int_eq(EVP_PKEY_todata(key, EVP_PKEY_KEYPAIR, &keypair_params), 1) in do_pkey_tofrom_data_select()
309 || !TEST_int_eq(EVP_PKEY_fromdata_init(fromctx), 1) in do_pkey_tofrom_data_select()
310 || !TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkey, EVP_PKEY_PUBLIC_KEY, in do_pkey_tofrom_data_select()
318 if (!TEST_int_eq(EVP_PKEY_fromdata(fromctx, &fromkeypair, in do_pkey_tofrom_data_select()
384 && TEST_int_eq(EVP_PKEY_param_check(gctx), 1) in test_dh_paramgen()
385 && TEST_int_eq(EVP_PKEY_param_check_quick(gctx), 1); in test_dh_paramgen()
463 || !TEST_int_eq(EVP_PKEY_get_id(pkey), expected_id)) in test_d2i_AutoPrivateKey_ex()
518 && TEST_int_eq(i2d_PKCS8PrivateKey_nid_bio(enc_bio, pkey, nid, in test_pkcs8key_nid_bio()
627 TEST_int_eq(ERR_peek_error(), 0); in test_d2i_PrivateKey_ex()
704 if (!TEST_int_eq(ERR_GET_REASON(ERR_get_error()), PEM_R_PROBLEMS_GETTING_PASSWORD)) in test_PEM_read_bio_negative_wrong_password()
727 && TEST_int_eq(EVP_PKEY_fromdata_init(ctx), 1) in do_fromdata_key_is_equal()
728 && TEST_int_eq(EVP_PKEY_fromdata(ctx, &pkey, in do_fromdata_key_is_equal()
895 && TEST_int_eq(EVP_PKEY_fromdata_init(gen_ctx), 1) in do_check_params()
896 && TEST_int_eq(EVP_PKEY_fromdata(gen_ctx, &pkey, in do_check_params()
900 && TEST_int_eq(EVP_PKEY_param_check(check_ctx), expected); in do_check_params()
930 && TEST_int_eq(val, expected); in do_check_int()
974 || !TEST_int_eq(EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, &to_params), 1) in test_dsa_todata()
1049 || !TEST_int_eq(EVP_PKEY_fromdata_init(ctx), 1) in test_dsa_fromdata_digest_prop()
1050 || !TEST_int_eq(EVP_PKEY_fromdata(ctx, &pkey, EVP_PKEY_KEY_PARAMETERS, params), 1)) in test_dsa_fromdata_digest_prop()
1054 || !TEST_int_eq(EVP_PKEY_paramgen_init(gctx), 1) in test_dsa_fromdata_digest_prop()
1055 || !TEST_int_eq(EVP_PKEY_paramgen(gctx, &pkey2), expected)) in test_dsa_fromdata_digest_prop()
1077 && TEST_int_eq(EVP_PKEY_todata(NULL, EVP_PKEY_KEYPAIR, &params), 0) in test_pkey_todata_null()
1078 && TEST_int_eq(EVP_PKEY_todata(pkey, EVP_PKEY_KEYPAIR, NULL), 0); in test_pkey_todata_null()
1100 && TEST_int_eq(EVP_PKEY_export(NULL, EVP_PKEY_KEYPAIR, in test_pkey_export_null()
1102 && TEST_int_eq(EVP_PKEY_export(pkey, EVP_PKEY_KEYPAIR, NULL, NULL), 0); in test_pkey_export_null()