mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
170620675d
According to the "GB/T 32918.4-2016" section 6.1 encryption, step A5: If result of the "KDF" is all zeros, we should go back to the begin(step A1). section 7.1 decryption, step B4: If result of the "KDF" is all zeros, we should raise error and exit. Signed-off-by: Liu-Ermeng <liuermeng2@huawei.com> Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23210) |
||
---|---|---|
.. | ||
build.info | ||
sm2_crypt.c | ||
sm2_err.c | ||
sm2_key.c | ||
sm2_sign.c |