diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-28 18:49:33 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-30 15:15:54 +0200 |
commit | b594a227178ccd812e5bb196bcb59ebc52d538ab (patch) | |
tree | 324e72e23a120cda5474f09a22645bf4c2d49516 /test/recipes | |
parent | sm2: Cleanup handling of DIGEST and DIGEST_SIZE parameters (diff) | |
download | openssl-b594a227178ccd812e5bb196bcb59ebc52d538ab.tar.xz openssl-b594a227178ccd812e5bb196bcb59ebc52d538ab.zip |
SM2 signatures work correctly only with SM3 digests
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15074)
Diffstat (limited to 'test/recipes')
-rw-r--r-- | test/recipes/30-test_evp_data/evppkey_sm2.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/recipes/30-test_evp_data/evppkey_sm2.txt b/test/recipes/30-test_evp_data/evppkey_sm2.txt index db5f1db627..c32142d833 100644 --- a/test/recipes/30-test_evp_data/evppkey_sm2.txt +++ b/test/recipes/30-test_evp_data/evppkey_sm2.txt @@ -39,6 +39,7 @@ Verify = SM2_key1 Ctrl = digest:SHA512 Input = 40AA1B203C9D8EE150B21C3C7CDA8261492E5420C5F2B9F7380700E094C303B48E62F319C1DA0E32EB40D113C5F1749CC61AEB499167890AB82F2CC9BB706971 Output = 3046022100AE018933B9BA041784380069F2DDF609694DCD299FDBF23D09F4B711FBC103EC0221008440BB1A48C132DE4FB91BE9F43B958142FDD29FB9DABE01B17514023A2F638C +Result = PKEY_CTRL_ERROR Availablein = default Decrypt = SM2_key1 |