On 08/12/2025 22.32, Zhuoying Cai wrote:
Introduce helper functions to support signature verification required by
DIAG 508 subcode 1:

qcrypto_pkcs7_convert_sig_pem() – converts a signature from DER to PEM format
qcrypto_x509_verify_sig() – verifies the provided data against the given 
signature

These functions enable basic signature verification support.

Signed-off-by: Zhuoying Cai <[email protected]>
---
  crypto/x509-utils.c         | 108 ++++++++++++++++++++++++++++++++++++
  include/crypto/x509-utils.h |  41 ++++++++++++++
  2 files changed, 149 insertions(+)

Reviewed-by: Thomas Huth <[email protected]>


Reply via email to