Lines Matching defs:fips
537 static int test_unprotected_via_DER(const char *type, EVP_PKEY *key, int fips)
545 dump_der, fips ? 0 : FLAG_FAIL_IF_FIPS);
559 static int test_unprotected_via_PEM(const char *type, EVP_PKEY *key, int fips)
567 dump_pem, fips ? 0 : FLAG_FAIL_IF_FIPS);
714 static int test_protected_via_DER(const char *type, EVP_PKEY *key, int fips)
723 dump_der, fips ? 0 : FLAG_FAIL_IF_FIPS);
737 static int test_protected_via_PEM(const char *type, EVP_PKEY *key, int fips)
746 dump_pem, fips ? 0 : FLAG_FAIL_IF_FIPS);
807 static int test_public_via_DER(const char *type, EVP_PKEY *key, int fips)
815 fips ? 0 : FLAG_FAIL_IF_FIPS);
829 static int test_public_via_PEM(const char *type, EVP_PKEY *key, int fips)
837 fips ? 0 : FLAG_FAIL_IF_FIPS);
882 #define IMPLEMENT_TEST_SUITE(KEYTYPE, KEYTYPEstr, fips) \
885 return test_unprotected_via_DER(KEYTYPEstr, key_##KEYTYPE, fips); \
889 return test_unprotected_via_PEM(KEYTYPEstr, key_##KEYTYPE, fips); \
893 return test_protected_via_DER(KEYTYPEstr, key_##KEYTYPE, fips); \
897 return test_protected_via_PEM(KEYTYPEstr, key_##KEYTYPE, fips); \
901 return test_public_via_DER(KEYTYPEstr, key_##KEYTYPE, fips); \
905 return test_public_via_PEM(KEYTYPEstr, key_##KEYTYPE, fips); \
1312 if (strcmp(prov_name, "fips") == 0)