| commit | ec4d7436be0cc3ad25cba2b4c3bd20fd8b1e157f | [log] [tgz] |
|---|---|---|
| author | Benjamin Shai <[email protected]> | Thu Apr 24 22:37:35 2025 |
| committer | Chromeos LUCI <[email protected]> | Fri Apr 25 17:23:12 2025 |
| tree | 969ee85cca3546122a18edaa6fb222c75e2a3f03 | |
| parent | 39f6104b29e18c18bf4382a4c3038fe4a6b6e2c4 [diff] |
vb21: load private key before signing When we load the private key, it calls out to PKCS11 and sets up the modulus and ID of the key. Make sure to do that before signing data, so that PKCS11 keys have the ID copied into the signature block. BUG=b:413430417 BRANCH=None TEST=manual TEST=make runtests Change-Id: Iba05e451827aecb706fb433a3e03c413955c144e Signed-off-by: Benjamin Shai <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/6489297 Reviewed-by: Jakub "Kuba" Czapiga <[email protected]> Commit-Queue: Jakub "Kuba" Czapiga <[email protected]> Tested-by: Jakub "Kuba" Czapiga <[email protected]>