diff options
Diffstat (limited to 'host/lib21/host_signature.c')
-rw-r--r-- | host/lib21/host_signature.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/host/lib21/host_signature.c b/host/lib21/host_signature.c index 01f4f326..5339b075 100644 --- a/host/lib21/host_signature.c +++ b/host/lib21/host_signature.c @@ -17,17 +17,9 @@ #include "host_signature2.h" #include "host_misc.h" -/** - * Get the digest info for a hash algorithm - * - * @param hash_alg Hash algorithm - * @param buf_ptr On success, points to the digest info - * @param size_ptr On success, contains the info size in bytes - * @return VB2_SUCCESS, or non-zero error code on failure. - */ -static int vb2_digest_info(enum vb2_hash_algorithm hash_alg, - const uint8_t **buf_ptr, - uint32_t *size_ptr) +int vb2_digest_info(enum vb2_hash_algorithm hash_alg, + const uint8_t **buf_ptr, + uint32_t *size_ptr) { *buf_ptr = NULL; *size_ptr = 0; |