]> git.dujemihanovic.xyz Git - u-boot.git/commit
pkcs7: move common functions to PKCS7 helper
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 3 Oct 2024 21:50:27 +0000 (14:50 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 14 Oct 2024 23:58:42 +0000 (17:58 -0600)
commitaed1c9a20e0d09f21ce36f8b704c77d7dfa1d26d
tree9a7abb2a8679f19a2529c3b306943628c43bfd20
parentfa1289c5d086fadd3cd3a566bd6a1a038680d5cd
pkcs7: move common functions to PKCS7 helper

Move pkcs7_get_content_data as a helper function that can be
shared by legacy crypto lib and MbedTLS implementation.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/crypto/Makefile
lib/crypto/pkcs7_helper.c [new file with mode: 0644]
lib/crypto/pkcs7_parser.c