Searched refs:BOOT_CURR_ENC (Results 1 – 6 of 6) sorted by relevance
/mcuboot-latest/boot/boot_serial/src/ |
D | boot_serial_encryption.c | 49 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs); in boot_image_validate_encrypted() 186 boot_enc_decrypt(BOOT_CURR_ENC(state), slot, in decrypt_region_inplace() 260 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 0, bs)) { in decrypt_image_inplace()
|
/mcuboot-latest/boot/bootutil/src/ |
D | ram_load.c | 162 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), slot, &bs)) { in boot_decrypt_and_copy_image_to_sram() 183 boot_enc_decrypt(BOOT_CURR_ENC(state), slot, in boot_decrypt_and_copy_image_to_sram()
|
D | bootutil_priv.h | 403 #define BOOT_CURR_ENC(state) ((state)->enc[BOOT_CURR_IMG(state)]) macro 405 #define BOOT_CURR_ENC(state) NULL macro
|
D | loader.c | 808 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs)) { in boot_image_check() 1431 boot_enc_encrypt(BOOT_CURR_ENC(state), source_slot, 1435 boot_enc_decrypt(BOOT_CURR_ENC(state), source_slot, 1557 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs)) { 1686 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 0, bs); 1714 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs); 1753 boot_enc_init(BOOT_CURR_ENC(state), slot); 1756 boot_enc_set_key(BOOT_CURR_ENC(state), slot, bs); 2300 boot_enc_zeroize(BOOT_CURR_ENC(state)); 2394 boot_enc_zeroize(BOOT_CURR_ENC(state));
|
D | image_validate.c | 116 enc_state = BOOT_CURR_ENC(state); in bootutil_img_hash()
|
D | encrypted.c | 643 struct enc_key_data *enc_state = BOOT_CURR_ENC(state); in boot_enc_load()
|