mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 09:33:34 +08:00
Add crypto_deinit function for crypto_backend module
Bootloader needs to have a mechanism to de-initialize crypto, in case some HW accelerator is being used. This adds the needed function for it Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Daniel Agar
parent
8497d3388f
commit
b26669b085
@@ -392,6 +392,10 @@ jump_to_app()
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef BOOTLOADER_USE_SECURITY
|
||||
crypto_deinit();
|
||||
#endif
|
||||
|
||||
/* just for paranoia's sake */
|
||||
arch_flash_lock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user