Commit 2baa48b
committed
[nrf noup] bootutil: set RSA key bits for PSA OAEP decrypt
PSA Core Lite does not infer key size from imported DER. Set
psa_set_key_bits() before psa_import_key() so bootutil_rsa_oaep_decrypt
accepts RSA-2048 ciphertext when validating encrypted firmware images.
Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>1 parent 65ada4b commit 2baa48b
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
0 commit comments