Lines Matching refs:kdf1
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
1760 || !TEST_ptr(kdf1 = EVP_KDF_fetch(NULL, OSSL_KDF_NAME_PBKDF2, NULL)) in test_kdf_get_kdf()
1763 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1765 EVP_KDF_free(kdf1); in test_kdf_get_kdf()
1766 kdf1 = NULL; in test_kdf_get_kdf()
1770 if (!TEST_ptr(kdf1 = EVP_KDF_fetch(NULL, SN_tls1_prf, NULL)) in test_kdf_get_kdf()
1772 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1779 || !test_kdfs_same(kdf1, kdf2)) in test_kdf_get_kdf()
1781 EVP_KDF_free(kdf1); in test_kdf_get_kdf()
1782 kdf1 = NULL; in test_kdf_get_kdf()