|
Add additional sanity checks to RSA verification code.
Also, make algorithm unsigned int in most places.
BUG= chrome-os-partner:701
TEST=existing RSA verification tests still pass
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+61 lines, -37 lines) |
Patch |
|
M |
firmware/lib/cryptolib/include/rsa.h
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
firmware/lib/cryptolib/rsa.c
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
firmware/lib/cryptolib/rsa_utility.c
|
View
|
|
7 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
|
M |
firmware/lib/vboot_common.c
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
firmware/version.c
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
host/include/file_keys.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
host/include/signature_digest.h
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
host/lib/file_keys.c
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
host/lib/host_key.c
|
View
|
|
7 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
host/lib/signature_digest.c
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|