Gaurav Shah
9379a7d759
Use SafeMemcmp() in RSAVerify() just to be safe.
...
BUG=chrome-os-partner:832
TEST=make && make runtests
Change-Id: I370021071b2b219c0db89cfaa015f4ff315c9204
Review URL: http://codereview.chromium.org/3216010
2010-08-30 11:41:01 -07:00
Gaurav Shah
47b593d849
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
Review URL: http://codereview.chromium.org/3136017
2010-08-17 15:48:22 -07:00
Gaurav Shah
45a628251f
RSAVerify() - fail on malloc() failure.
...
BUG=chrome-os-partner:702
TEST=exists RSA verification tests still pass
Review URL: http://codereview.chromium.org/3127013
2010-08-16 11:37:59 -07:00
Randall Spangler
e2ec98412e
Add VBDEBUG macro for debug output.
...
Replaced in firmware/ lib; not replaced in host-side utils/tests.
Review URL: http://codereview.chromium.org/2810026
2010-06-23 21:17:07 -07:00
Randall Spangler
d0dae7a438
More cleanup of MSVC errors
...
Review URL: http://codereview.chromium.org/2871019
2010-06-21 18:25:31 -07:00
Randall Spangler
beb5bae09f
Fixes to compiler warnings in MSVC
...
Review URL: http://codereview.chromium.org/2851015
2010-06-21 16:33:26 -07:00
Randall Spangler
620c38cf34
Remove unused files, and tidy the directory structure of the remaining ones.
...
Review URL: http://codereview.chromium.org/2815011
2010-06-17 14:45:22 -07:00