The caam encryption check was only done from fw_env_write and fw_env_read functions, which are not called when using the functions exported as a library. Move the check_caam_encryption() call to fw_env_open(), which is called from all code paths. A similar check for AES encryption cannot be moved because it requires the AES key as an argument. https://jira.digi.com/browse/DEL-3616 Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com> |
||
|---|---|---|
| .. | ||
| ccimx6 | ||
| ccimx6ul | ||
| dey | ||
| 0001-tools-env-implement-support-for-environment-encrypti.patch | ||
| 0002-fw_env-add-support-to-unlock-emmc-boot-partition.patch | ||
| 0004-Implement-U-Boot-environment-access-functions.patch | ||