commit | e9bb4bd1a200e34714bb21dae68535fdc5affbad | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Fri May 12 16:00:02 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri May 12 16:00:02 2023 +0000 |
tree | 36a8203bcf89af38aa9dd0020fb3089a7c813e13 | |
parent | 4a5f6d4a3d7f2282dfcd645eea9d684ff7d6c24d [diff] |
Add a missing LazyInitProdBcc call. With the introduction of the generateCertificateRequestV2 call, there was a new code path introduce in android_keymaster to handle this additional HAL method. The underlying code this HAL called in the pure software provisioning context did not also trigger generation of the BCC and device private key for the new HAL method. This is now fixed by initializing the Bcc in BuildCsr Fixes: 270522174 Test: N/A (cherry picked from https://android-review.googlesource.com/q/commit:84260d0c6c50675b006113178796a6a0021116b2) Merged-In: Ic49008d832e6b1fdc846817a8e7dcda07657983a Change-Id: Ic49008d832e6b1fdc846817a8e7dcda07657983a