Vadim Bendebury
2341692a8f
common: add TPM vendor command to support RMA authentication
...
The new vendor command operates in two modes: when received with a
zero size payload, it triggers the Cr50 to generate a new RMA
authentication challenge and the expected authentication code value.
When receive with the payload, it compares the received payload with
the pre-calculate authentication code, and returns to the host the
comparison result (passed/not passed).
A care is taken not to accept payload until at least there is a valid
calculated auth code present (to avoid reporting a match on a payload
of all zeros).
Test config needed to be modified to allow compiling of the ccprintf
wrapper.
BRANCH=cr50
BUG=b:37952913
TEST=with the rest of the patches applied observed expected behavior
of generating challenge/response and verifying the auth code.
Change-Id: I30638b0ceef68830565f222dd1f4af17cfc8d7ef
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org >
Reviewed-on: https://chromium-review.googlesource.com/690992
2017-10-02 23:28:24 -07:00
..
2017-09-29 11:24:37 -07:00
2017-08-30 03:58:28 -07:00
2016-08-24 16:30:10 +00:00
2017-08-08 14:56:13 -07:00
2016-08-24 16:30:10 +00:00
2013-09-27 23:07:21 +00:00
2017-09-12 16:17:03 -07:00
2016-08-24 16:30:10 +00:00
2016-08-11 14:46:33 -07:00
2016-08-24 16:30:10 +00:00
2016-11-16 19:04:31 -08:00
2017-09-26 18:24:07 -07:00
2017-08-07 13:50:47 -07:00
2016-04-18 17:32:40 -07:00
2017-09-01 16:41:55 -07:00
2017-09-13 19:28:29 -07:00
2017-09-28 11:18:54 -07:00
2017-08-08 14:56:13 -07:00
2017-09-22 08:08:55 -07:00
2017-02-10 19:02:55 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-05-19 02:46:27 +00:00
2016-10-01 03:13:43 +00:00
2017-08-08 14:56:13 -07:00
2016-03-18 22:16:53 -07:00
2014-08-08 03:11:38 +00:00
2017-07-03 21:44:34 -07:00
2017-07-03 21:44:34 -07:00
2017-06-30 03:08:42 -07:00
2017-08-08 17:34:09 -07:00
2017-02-14 14:50:36 -08:00
2017-08-30 03:58:28 -07:00
2015-07-17 03:17:50 +00:00
2017-08-02 15:02:34 -07:00
2017-06-16 21:10:54 -07:00
2016-09-02 07:11:33 -07:00
2016-08-24 16:30:10 +00:00
2017-07-13 19:45:57 -07:00
2017-07-13 19:45:57 -07:00
2017-09-21 01:07:55 -07:00
2017-04-11 20:22:32 -07:00
2016-11-15 17:41:53 -08:00
2016-08-31 17:20:26 +00:00
2017-06-11 23:17:19 -07:00
2017-09-01 16:41:55 -07:00
2016-08-24 16:30:10 +00:00
2017-08-08 14:56:13 -07:00
2017-08-30 03:58:28 -07:00
2017-06-09 21:44:03 -07:00
2017-09-13 19:28:30 -07:00
2017-04-26 13:37:04 -07:00
2016-08-24 16:30:10 +00:00
2017-08-17 20:41:57 -07:00
2016-04-18 17:32:40 -07:00
2017-05-18 18:07:29 -07:00
2017-08-12 22:58:43 -07:00
2017-07-28 17:45:14 -07:00
2017-08-08 14:56:13 -07:00
2013-03-22 11:24:29 -07:00
2017-09-11 11:14:24 -07:00
2017-05-02 17:45:16 -07:00
2017-04-13 12:55:33 -07:00
2016-03-02 13:39:47 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2015-10-13 05:28:54 -07:00
2017-09-11 11:14:24 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2017-06-19 15:33:09 -07:00
2016-10-01 00:02:01 -07:00
2017-07-28 15:04:24 -07:00
2017-07-13 08:32:58 -07:00
2017-08-30 03:58:29 -07:00
2017-06-02 10:38:57 -07:00
2017-02-27 18:50:12 -08:00
2017-02-23 01:19:07 -08:00
2013-08-02 18:22:57 -07:00
2016-10-01 03:14:07 +00:00
2017-08-02 15:02:34 -07:00
2017-09-12 16:17:05 -07:00
2017-09-12 16:17:08 -07:00
2017-08-08 14:56:13 -07:00
2016-08-24 16:30:10 +00:00
2017-02-11 13:06:38 -08:00
2017-01-03 15:13:58 -08:00
2016-08-24 16:30:10 +00:00
2016-09-08 17:57:51 -07:00
2015-06-11 00:08:49 +00:00
2015-07-15 21:57:36 +00:00
2017-10-02 23:28:24 -07:00
2017-06-14 01:19:31 -07:00
2016-11-10 21:28:28 -08:00
2017-09-26 18:24:07 -07:00
2017-08-08 14:56:13 -07:00
2017-02-11 13:06:38 -08:00
2014-05-17 20:14:17 +00:00
2017-09-11 04:42:59 -07:00
2016-08-31 17:20:26 +00:00
2017-01-05 21:13:09 -08:00
2016-03-21 16:35:33 -07:00
2016-08-24 16:30:10 +00:00
2017-05-12 20:58:09 -07:00
2016-10-05 20:58:37 -07:00
2017-02-09 05:04:56 +00:00
2017-05-09 23:20:07 -07:00
2017-09-21 01:07:55 -07:00
2017-01-04 18:07:12 -08:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2017-09-01 14:41:52 -07:00
2017-08-10 22:47:24 -07:00
2017-08-23 12:19:07 -07:00
2017-08-03 19:23:22 -07:00
2017-05-12 13:09:54 -07:00
2017-09-15 10:50:27 -07:00
2016-06-16 12:27:42 -07:00
2017-07-31 21:39:39 -07:00
2017-08-11 20:10:20 -07:00
2017-09-21 11:54:26 -07:00
2017-08-08 14:56:13 -07:00
2017-05-01 21:54:10 -07:00
2017-08-28 15:24:10 -07:00
2017-09-15 10:50:27 -07:00
2017-08-18 14:27:23 -07:00
2017-09-29 23:25:38 -07:00
2015-10-13 05:28:54 -07:00
2017-04-06 03:29:38 -07:00
2017-09-25 21:06:52 -07:00
2016-01-25 21:46:48 -08:00
2017-09-22 10:18:50 -07:00
2016-08-24 16:30:10 +00:00