]> git.dujemihanovic.xyz Git - u-boot.git/commit
x509: move common functions to x509 helper
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 3 Oct 2024 21:50:26 +0000 (14:50 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 14 Oct 2024 23:58:41 +0000 (17:58 -0600)
commitfa1289c5d086fadd3cd3a566bd6a1a038680d5cd
tree0889c169d7e6771a0b929a2e442234923b2f129f
parentb36a8b891123284f0b07d9ad94024bff5f430658
x509: move common functions to x509 helper

Move x509_check_for_self_signed as a common 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/x509_helper.c [new file with mode: 0644]
lib/crypto/x509_public_key.c