]> git.baikalelectronics.ru Git - uboot.git/commit
lib: crypto: export and enhance pkcs7_verify_one()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 21 Jul 2020 10:35:21 +0000 (19:35 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 10:37:17 +0000 (12:37 +0200)
commit59692c8089f92a9ed4738dec7d583c4ede508856
treebb1fb5d8a2f4165b015201d7803cc530368cced4
parent0f449f7ff50642ad020825a9c35ed08432ea2ff4
lib: crypto: export and enhance pkcs7_verify_one()

The function, pkcs7_verify_one(), will be utilized to rework signature
verification logic aiming to support intermediate certificates in
"chain of trust."

To do that, its function interface is expanded, adding an extra argument
which is expected to return the last certificate in trusted chain.
Then, this last one must further be verified with signature database, db
and/or dbx.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
include/crypto/pkcs7.h
lib/crypto/pkcs7_verify.c