Lines Matching defs:key
80 * for testing only. Use a minimum key size of 2048 for security purposes.
537 static int test_unprotected_via_DER(const char *type, EVP_PKEY *key, int fips)
539 return test_encode_decode(__FILE__, __LINE__, type, key,
559 static int test_unprotected_via_PEM(const char *type, EVP_PKEY *key, int fips)
561 return test_encode_decode(__FILE__, __LINE__, type, key,
610 static int test_params_via_DER(const char *type, EVP_PKEY *key)
612 return test_encode_decode(__FILE__, __LINE__, type, key, OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS,
619 static int test_params_via_PEM(const char *type, EVP_PKEY *key)
621 return test_encode_decode(__FILE__, __LINE__, type, key, OSSL_KEYMGMT_SELECT_DOMAIN_PARAMETERS,
642 static int test_unprotected_via_legacy_PEM(const char *type, EVP_PKEY *key)
647 return test_encode_decode(__FILE__, __LINE__, type, key,
667 static int test_unprotected_via_MSBLOB(const char *type, EVP_PKEY *key)
669 return test_encode_decode(__FILE__, __LINE__, type, key,
688 static int test_unprotected_via_PVK(const char *type, EVP_PKEY *key)
690 return test_encode_decode(__FILE__, __LINE__, type, key,
714 static int test_protected_via_DER(const char *type, EVP_PKEY *key, int fips)
716 return test_encode_decode(__FILE__, __LINE__, type, key,
737 static int test_protected_via_PEM(const char *type, EVP_PKEY *key, int fips)
739 return test_encode_decode(__FILE__, __LINE__, type, key,
763 static int test_protected_via_legacy_PEM(const char *type, EVP_PKEY *key)
768 return test_encode_decode(__FILE__, __LINE__, type, key,
778 static int test_protected_via_PVK(const char *type, EVP_PKEY *key)
785 ret = test_encode_decode(__FILE__, __LINE__, type, key,
807 static int test_public_via_DER(const char *type, EVP_PKEY *key, int fips)
809 return test_encode_decode(__FILE__, __LINE__, type, key,
829 static int test_public_via_PEM(const char *type, EVP_PKEY *key, int fips)
831 return test_encode_decode(__FILE__, __LINE__, type, key,
852 static int test_public_via_MSBLOB(const char *type, EVP_PKEY *key)
854 return test_encode_decode(__FILE__, __LINE__, type, key, OSSL_KEYMGMT_SELECT_PUBLIC_KEY
1248 "PEM format RSA key file to encode/decode" },
1250 "PEM format RSA-PSS key file to encode/decode" },
1379 TEST_info("Loading RSA key...");
1381 TEST_info("Loading RSA_PSS key...");