Randall Spangler
b9be53640e
vboot2: Use more specific error codes
...
Error codes reported by the crypto and storage APIs are now very
specific, and tests verify the proper errors are reported.
More specific error codes coming to other files next, but I don't want
this CL to get too long.
This also changes test_common.c so TEST_EQ() reports mismatched values
in both decimal and hex, and adds TEST_SUCC() to test for a successful
return value.
BUG=chromium:370082
BRANCH=none
TEST=make clean && VBOOT2=1 COV=1 make
Change-Id: I255c8e5769284fbc286b9d94631b19677a71cdd0
Signed-off-by: Randall Spangler <rspangler@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/202778
Reviewed-by: Bill Richardson <wfrichar@chromium.org >
2014-06-07 01:37:21 +00:00
..
2013-01-11 14:20:53 -08:00
2012-07-18 14:53:22 -07:00
2013-04-09 15:55:02 -07:00
2012-03-08 11:12:47 -08:00
2010-09-29 20:25:29 -07:00
2010-09-29 20:25:29 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-07-03 16:02:34 -07:00
2013-03-19 16:55:44 -07:00
2013-02-05 14:36:53 -08:00
2010-06-24 16:19:53 -07:00
2010-05-27 09:20:11 -07:00
2010-10-29 10:59:50 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-01-16 11:22:38 -08:00
2012-03-08 11:12:47 -08:00
2010-03-19 16:19:09 -07:00
2013-01-16 11:22:38 -08:00
2010-06-29 19:46:39 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2012-11-06 23:13:33 -08:00
2014-06-05 23:15:39 +00:00
2013-07-23 12:37:04 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2010-03-31 10:56:49 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-07-16 13:19:03 -07:00
2010-06-17 14:45:22 -07:00
2013-01-03 11:14:51 -08:00
2010-09-29 20:25:29 -07:00
2012-03-20 10:26:44 -07:00
2013-01-03 11:14:51 -08:00
2013-04-02 14:12:52 -07:00
2010-03-31 10:56:49 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2014-06-07 01:37:21 +00:00
2014-06-07 01:37:21 +00:00
2013-01-23 12:40:15 -08:00
2010-02-12 11:21:18 -08:00
2013-03-19 16:55:44 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00
2014-06-05 23:14:31 +00:00
2014-06-05 23:14:31 +00:00
2014-06-05 23:14:31 +00:00
2014-06-05 23:14:27 +00:00
2014-06-07 01:37:21 +00:00
2014-06-07 01:37:21 +00:00
2014-06-05 23:14:23 +00:00
2014-06-07 01:37:21 +00:00
2014-06-07 01:37:21 +00:00
2014-06-07 01:37:21 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2014-06-05 23:15:39 +00:00
2014-01-19 04:14:59 +00:00
2014-02-11 05:30:34 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-09-17 23:17:17 +00:00
2013-08-30 16:47:03 +00:00
2013-04-02 14:12:52 -07:00
2013-04-02 14:12:52 -07:00