]> git.dujemihanovic.xyz Git - u-boot.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)
commit05329fa4c0c7774d01945d94ad2e9079a338baa8
tree82932afa0bcee0879d93b037e9ef294b74ff412e
parent063499e38e41bd23563fb6f98438ddd1ce0f7e6a
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