Commit 23363d7
committed
Address review: set keyInstalled in FREESCALE_LTC/MMCAU key setup (F-6151)
The keyInstalled guard added to the shared aes.c mode functions is set by
every in-aes.c key-schedule branch except FREESCALE_LTC and FREESCALE_MMCAU.
Their wc_AesSetKeyLocal installs the key but left keyInstalled at 0, so any
guarded AES mode that falls through to a shared aes.c path returned an error
after a valid key setup on those ports.
Set keyInstalled at the key-install point in both branches, matching the
other ports fixed earlier in this PR.1 parent 5482e84 commit 23363d7
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4650 | 4650 | | |
4651 | 4651 | | |
4652 | 4652 | | |
| 4653 | + | |
4653 | 4654 | | |
4654 | 4655 | | |
4655 | 4656 | | |
| |||
5158 | 5159 | | |
5159 | 5160 | | |
5160 | 5161 | | |
| 5162 | + | |
| 5163 | + | |
5161 | 5164 | | |
5162 | 5165 | | |
5163 | 5166 | | |
| |||
0 commit comments