diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-12-10 19:21:01 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-12-14 16:33:41 +0000 |
commit | 99f2f1dc3e5c95961f57ca41e9fbb76863e69e46 (patch) | |
tree | eae705323c475faff7a5609a734712bf71b03cde /test/evptests.txt | |
parent | a47bc28317081fff10250a4d931821f64cfe191d (diff) |
Add function and reason checking to evp_test
Add options to check the function and reason code matches expected values.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/evptests.txt')
-rw-r--r-- | test/evptests.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/evptests.txt b/test/evptests.txt index 2813b4f783..e480d7cf94 100644 --- a/test/evptests.txt +++ b/test/evptests.txt @@ -2773,11 +2773,15 @@ Output = c09d402423cbf233d26cae21f954547bc43fe80fd41360a0336cfdbe9aedad05bef6fd2 # Illegal RSA key derivation Derive = RSA-2048 Result = KEYOP_INIT_ERROR +Function = EVP_PKEY_derive_init +Reason = operation not supported for this keytype # Invalid ctrl Sign = RSA-2048 Ctrl = rsa_mgf1_md:sha1 Result = PKEY_CTRL_INVALID +Function = pkey_rsa_ctrl +Reason = invalid mgf1 md # EC tests @@ -3733,6 +3737,10 @@ SharedSecret=4A5D9D5BA4CE2DE1728E3BF480350F25E07E21C947D19E3376F09B3C1E161742 Sign=Alice-25519 Result = KEYOP_INIT_ERROR +Function = EVP_PKEY_sign_init +Reason = operation not supported for this keytype Verify=Alice-25519 Result = KEYOP_INIT_ERROR +Function = EVP_PKEY_verify_init +Reason = operation not supported for this keytype |