Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Unified Diff: src/platform/vboot_reference/include/rsa_utility.h

Issue 1430001: VBoot Reference: Fix splicing bugs in Firmware and Kernel verification. (Closed)
Patch Set: . Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_ */

Powered by Google App Engine
This is Rietveld 408576698