Mike Gerow b93151db1f
Preserve error logic in getPrimaryKeyHandle (#296)
In `wrappedTPM20.getPrimaryKeyHandle()`, preserve any error from the
short-circuit `tpm2.ReadPublic()` logic, so that we can return it
alongside any failure in `tpm2.CreatePrimary()`

Co-authored-by: Justin King-Lacroix <justinkl@google.com>
2022-11-04 14:57:37 -07:00
..
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2019-10-09 08:56:19 +11:00
2022-11-01 12:19:57 -07:00
2022-02-14 16:31:48 -08:00
2019-10-09 08:56:19 +11:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2021-09-01 15:39:03 -07:00
2022-11-01 12:19:57 -07:00
2022-11-01 12:19:57 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 12:19:57 -07:00
2022-11-01 12:19:57 -07:00
2019-08-06 16:47:13 -07:00
2022-11-01 13:38:49 -07:00
2022-11-01 13:38:49 -07:00