Lines Matching refs:kdf2
1738 static int test_kdfs_same(EVP_KDF *kdf1, EVP_KDF *kdf2) in test_kdfs_same() argument
1741 if (kdf1 == kdf2) in test_kdfs_same()
1749 return TEST_ptr_eq(EVP_KDF_get0_provider(kdf1), EVP_KDF_get0_provider(kdf2)) in test_kdfs_same()
1750 && TEST_str_eq(EVP_KDF_get0_name(kdf1), EVP_KDF_get0_name(kdf2)); in test_kdfs_same()
1755 EVP_KDF *kdf1 = NULL, *kdf2 = NULL; in test_kdf_get_kdf() local
1761 || !TEST_ptr(kdf2 = EVP_KDF_fetch(NULL, OBJ_nid2sn(OBJ_obj2nid(obj)), in test_kdf_get_kdf()
1763 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1767 EVP_KDF_free(kdf2); in test_kdf_get_kdf()
1768 kdf2 = NULL; in test_kdf_get_kdf()
1771 || !TEST_ptr(kdf2 = EVP_KDF_fetch(NULL, LN_tls1_prf, NULL)) in test_kdf_get_kdf()
1772 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1775 EVP_KDF_free(kdf2); in test_kdf_get_kdf()
1776 kdf2 = NULL; in test_kdf_get_kdf()
1778 if (!TEST_ptr(kdf2 = EVP_KDF_fetch(NULL, OBJ_nid2sn(NID_tls1_prf), NULL)) in test_kdf_get_kdf()
1779 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1783 EVP_KDF_free(kdf2); in test_kdf_get_kdf()
1784 kdf2 = NULL; in test_kdf_get_kdf()