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

Unified Diff: src/platform/vboot_reference/crypto/rsa.c

Issue 661353: Vboot Reference: Refactor Code. (Closed)
Patch Set: Review Fixes. Created 10 years, 10 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/crypto/rsa.c
diff --git a/src/platform/vboot_reference/crypto/rsa.c b/src/platform/vboot_reference/crypto/rsa.c
index d23be89c9b5d60c3cce7ab2dbd663fa6e831c124..c84ae4e8da8094d2080f7c43ff842fc9ae267fb3 100644
--- a/src/platform/vboot_reference/crypto/rsa.c
+++ b/src/platform/vboot_reference/crypto/rsa.c
@@ -127,11 +127,11 @@ static void modpowF4(const RSAPublicKey *key,
/* Verify a RSA PKCS1.5 signature against an expected hash.
* Returns 0 on failure, 1 on success.
*/
-int RSA_verify(const RSAPublicKey *key,
- const uint8_t *sig,
- const int sig_len,
- const uint8_t sig_type,
- const uint8_t *hash) {
+int RSAVerify(const RSAPublicKey *key,
+ const uint8_t *sig,
+ const int sig_len,
+ const uint8_t sig_type,
+ const uint8_t *hash) {
int i;
uint8_t* buf;
const uint8_t* padding;
« no previous file with comments | « src/platform/vboot_reference/common/utility_stub.c ('k') | src/platform/vboot_reference/crypto/rsa_utility.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698