+150
−0
+141
−0
+63
−0
+57
−0
+82
−0
Loading
- The enc_context needs to initialize.
boot_enc_load seems to always be used to start the process, so calling
init inside makes sense.
- Handle boot_encrypt getting called with size of 0.
- No need to free contexts because Zephyr sets MBEDTLS_PLATFORM_NO_STD_FUNCTIONS.
I don't quite like this because it's implicit and will leak memory on
other ports.
Signed-off-by:
Blaž Hrastnik <blaz@mxxn.io>
CRA Git | Maintained and supported by SUSTech CRA and CCSE