tests(pki): add torture tests for pki_sk functions

Signed-off-by: Praneeth Sarode <praneethsarode@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Eshan Kelkar <eshankelkar@galorithm.com>
This commit is contained in:
Praneeth Sarode
2025-10-23 22:31:46 +05:30
parent 5937b5ba4e
commit c128cf8807
4 changed files with 562 additions and 0 deletions

View File

@@ -1 +1,6 @@
leak:libcrypto.so
## sk-dummy.so
# The sk-dummy.so enroll function allocates 1-byte memory for the signature, but marks the signature length as 0.
# Since, we use burn_free to free the signature, it skips the freeing because the size is 0, which results in a memory leak.
leak:sk-dummy.so