]> git.ipfire.org Git - thirdparty/openssl.git/commit
Extend tests for SM2 decryption
authorMatt Caswell <matt@openssl.org>
Fri, 13 Aug 2021 13:49:47 +0000 (14:49 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 24 Aug 2021 13:22:07 +0000 (14:22 +0100)
commitd07036b98d2ea8b3d9a93181bd8b0cb33a6c8ba1
tree182969d80a0d820d228c1106367756f84f68e15f
parent36cf45ef3ba71e44a8be06ee81cb31aa02cb0010
Extend tests for SM2 decryption

Check the case where C1y < 32 bytes in length (i.e. short overhead), and
also the case with longer plaintext and C1x and C1y > 32 bytes in length
(i.e. long overhead)

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
test/recipes/30-test_evp_data/evppkey_sm2.txt