pkcs7: parser support SM2 and SM3 algorithms combination
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Mon, 27 Jun 2022 09:21:41 +0000 (17:21 +0800)
committerJarkko Sakkinen <jarkko@kernel.org>
Wed, 3 Aug 2022 20:56:20 +0000 (23:56 +0300)
commit3fb8e3f532df608dd6f29940281138352f5b6369
tree0241b11a1ac1e8e3d22eeb6d8a95c25c7fcc433c
parent1a83950270684f860b15430394ea8df540d71353
pkcs7: parser support SM2 and SM3 algorithms combination

Support parsing the message signature of the SM2 and SM3 algorithm
combination. This group of algorithms has been well supported. One
of the main users is module signature verification.

Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Vitaly Chikunov <vt@altlinux.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
crypto/asymmetric_keys/pkcs7_parser.c