From 988e2af4b7a0c1bc70188674cfde2bf8b2838bd7 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Thu, 12 Oct 2017 14:10:08 +0200 Subject: backports: add signature verification code Uh, this was awful. Because the crypto/ things are completely impossible to backport, I've actually implemented this by using mbedtls and embedding the relevant functions it has... The mbedtls code is taken from mbedtls version 2.6.0 and only minimally modified (mostly to remove and similar). Signed-off-by: Johannes Berg --- copy-list | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'copy-list') diff --git a/copy-list b/copy-list index 0bd232f4..d36caea3 100644 --- a/copy-list +++ b/copy-list @@ -61,6 +61,19 @@ include/net/codel_qdisc.h include/net/fq.h include/net/fq_impl.h +# signature verification code +include/linux/asn1.h +include/linux/asn1_ber_bytecode.h +include/linux/oid_registry.h +lib/build_OID_registry -> compat/build_OID_registry +crypto/asymmetric_keys/pkcs7_parser.c -> compat/verification/pkcs7_parser.c +crypto/asymmetric_keys/pkcs7_parser.h -> compat/verification/pkcs7_parser.h +crypto/asymmetric_keys/pkcs7_trust.c -> compat/verification/pkcs7_trust.c +crypto/asymmetric_keys/pkcs7_verify.c -> compat/verification/pkcs7_verify.c +crypto/asymmetric_keys/x509_cert_parser.c -> compat/verification/x509_cert_parser.c +crypto/asymmetric_keys/x509_parser.h -> compat/verification/x509_parser.h +crypto/asymmetric_keys/x509_public_key.c -> compat/verification/x509_public_key.c + net/Makefile net/Kconfig net/wireless/ -- cgit v1.2.3