From b594a227178ccd812e5bb196bcb59ebc52d538ab Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 28 Apr 2021 18:49:33 +0200 Subject: SM2 signatures work correctly only with SM3 digests Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15074) --- test/recipes/30-test_evp_data/evppkey_sm2.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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 -- cgit v1.2.3