diff options
author | Pauli <paul.dale@oracle.com> | 2018-09-05 12:18:22 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2018-09-12 08:40:47 +1000 |
commit | 95eda4f09a37382393cfec7933bac4deb613cdec (patch) | |
tree | 283cd1052842397e9ac6bfaa2c498cccbbb9d53e /test | |
parent | a4a90a8a3bdcb9336b5c9c15da419e99a87bc6ed (diff) |
FIPS 140-2 IG A.9 XTS key check.
Add a check that the two keys used for AES-XTS are different.
One test case uses the same key for both of the AES-XTS keys. This causes
a failure under FIP 140-2 IG A.9. Mark the test as returning a failure.
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7120)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/30-test_evp_data/evpciph.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/30-test_evp_data/evpciph.txt b/test/recipes/30-test_evp_data/evpciph.txt index d117455052..d1086b7241 100644 --- a/test/recipes/30-test_evp_data/evpciph.txt +++ b/test/recipes/30-test_evp_data/evpciph.txt @@ -1184,6 +1184,7 @@ Key = 0000000000000000000000000000000000000000000000000000000000000000 IV = 00000000000000000000000000000000 Plaintext = 0000000000000000000000000000000000000000000000000000000000000000 Ciphertext = 917cf69ebd68b2ec9b9fe9a3eadda692cd43d2f59598ed858c02c2652fbf922e +Result = CIPHERUPDATE_ERROR Cipher = aes-128-xts Key = 1111111111111111111111111111111122222222222222222222222222222222 |