summaryrefslogtreecommitdiff
path: root/host/lib/include/signature_digest.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/include/signature_digest.h')
-rw-r--r--host/lib/include/signature_digest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/include/signature_digest.h b/host/lib/include/signature_digest.h
index 40c27036..936591a8 100644
--- a/host/lib/include/signature_digest.h
+++ b/host/lib/include/signature_digest.h
@@ -11,7 +11,7 @@
/* Returns a buffer with DigestInfo (which depends on [algorithm])
* prepended to [digest].
*/
-uint8_t* PrependDigestInfo(unsigned int algorithm, uint8_t* digest);
+uint8_t* PrependDigestInfo(enum vb2_hash_algorithm hash_alg, uint8_t* digest);
/* Function that outputs the message digest of the contents of a buffer in a
* format that can be used as input to OpenSSL for an RSA signature.