]> git.baikalelectronics.ru Git - kernel.git/commit
pkcs7: support EC-RDSA/streebog in SignerInfo
authorElvira Khabirova <e.khabirova@omp.ru>
Mon, 27 Jun 2022 09:21:42 +0000 (17:21 +0800)
committerJarkko Sakkinen <jarkko@kernel.org>
Wed, 3 Aug 2022 20:56:20 +0000 (23:56 +0300)
commit1a69ca1c907d7b29ab9353b5a75de8c4275508ef
tree463865713318da27fb3062bf61fedecd6940ca75
parentc62c1d502d5e3b5efd84f6717a85681230fe12e4
pkcs7: support EC-RDSA/streebog in SignerInfo

Allow using EC-RDSA/streebog in pkcs7 certificates in a similar way
to how it's done in the x509 parser.

This is needed e.g. for loading kernel modules signed with EC-RDSA.

Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
Reviewed-by: Vitaly Chikunov <vt@altlinux.org>
Reviewed-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
crypto/asymmetric_keys/pkcs7_parser.c