commit | 5cea313b0538a731433cc9725786a1d956612753 | [log] [tgz] |
---|---|---|
author | Robin van der Gracht <robin@protonic.nl> | Wed Sep 13 10:02:38 2023 +0200 |
committer | Robin van der Gracht <robin@protonic.nl> | Wed Sep 13 11:45:22 2023 +0100 |
tree | 811fb7d634e11c18314fb6c011e360cb70444c15 | |
parent | 1832efe9eb36e47247ac6b5f35567febe4b99418 [diff] |
fix(auth): don't overwrite pk with converted pk when rotpk is hash crypto_mod_verify_signature() expects a pointer to the full pk. In case of stm32mp1 crypto_verify_signature() will call get_plain_pk_from_asn1() on the converted pk which fails. Fixes: f1e693a775 Signed-off-by: Robin van der Gracht <robin@protonic.nl> Change-Id: Ia9bdaa10e1b09f9758e5fa608a063b5212c428c3