Index: src/platform/vboot_reference/include/rsa_utility.h |
diff --git a/src/platform/vboot_reference/include/rsa_utility.h b/src/platform/vboot_reference/include/rsa_utility.h |
index 62665bd67291b762e686f44ac116621117425df0..d3c3e5c79ae2f3619a1bfc7233a6ab85dbaa2f63 100644 |
--- a/src/platform/vboot_reference/include/rsa_utility.h |
+++ b/src/platform/vboot_reference/include/rsa_utility.h |
@@ -48,4 +48,11 @@ int RSAVerifyBinary_f(const uint8_t* key_blob, |
const uint8_t* sig, |
int algorithm); |
+/* Version of RSAVerifyBinary_f() where instead of the raw binary blob |
+ * of data, its digest is passed as the argument. */ |
+int RSAVerifyBinaryWithDigest_f(const uint8_t* key_blob, |
+ const RSAPublicKey* key, |
+ const uint8_t* digest, |
+ const uint8_t* sig, |
+ int algorithm); |
#endif /* VBOOT_REFERENCE_RSA_UTILITY_H_ */ |