commit | 834caec71923c1a74c7ca2579928be670e288d7f | [log] [tgz] |
---|---|---|
author | Georgios Vasilakis <georgios.vasilakis@nordicsemi.no> | Fri Mar 11 10:36:47 2022 +0100 |
committer | Antonio de Angelis <Antonio.deAngelis@arm.com> | Wed Mar 16 10:07:27 2022 +0100 |
tree | a47390bf47f1a4907b1703742645a56cde123512 | |
parent | 87ab5542a56db2eebab5d11ff789d0a3d0d22553 [diff] |
CC3XX: Fix importing RSA keys in PSA driver The CryptoCell representation of RSA keys parameters does not use the DER encoding as the PSA APIs are using. The DER encoding adds a leading zero when the MSb of a number is set. This fix removes the leading zero from the RSA parameters before they are used by the CyrptoCell functions. Signed-off-by: Georgios Vasilakis <georgios.vasilakis@nordicsemi.no> Change-Id: Id55c1718764ad8c85a1788c243606047c96fe19c