]> git.baikalelectronics.ru Git - uboot.git/commit
lib: crypto: add pkcs7_digest()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 21 Jul 2020 10:35:20 +0000 (19:35 +0900)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 22 Jul 2020 10:36:29 +0000 (12:36 +0200)
commit0f449f7ff50642ad020825a9c35ed08432ea2ff4
tree82932afa0bcee0879d93b037e9ef294b74ff412e
parent95caccebad1950e54bdc6a9a567f9f0e0263a51a
lib: crypto: add pkcs7_digest()

This function was nullified when the file, pkcs7_verify.c, was imported
because it calls further linux-specific interfaces inside, hence that
could lead to more files being imported from linux.

We need this function in pkcs7_verify_one() and so simply re-implement it
here instead of re-using the code.

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