From: Tomas Mraz Date: Wed, 28 Apr 2021 16:49:33 +0000 (+0200) Subject: SM2 signatures work correctly only with SM3 digests X-Git-Tag: openssl-3.0.0-alpha16~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b594a227178ccd812e5bb196bcb59ebc52d538ab;p=thirdparty%2Fopenssl.git SM2 signatures work correctly only with SM3 digests Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15074) --- diff --git a/test/recipes/30-test_evp_data/evppkey_sm2.txt b/test/recipes/30-test_evp_data/evppkey_sm2.txt index db5f1db6271..c32142d8339 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