Home
last modified time | relevance | path

Searched refs:boot_enc_set_key (Results 1 – 4 of 4) sorted by relevance

/mcuboot-3.6.0/boot/bootutil/include/bootutil/
Denc_key.h53 int boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot,
/mcuboot-3.6.0/boot/boot_serial/src/
Dboot_serial_encryption.c47 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs); in boot_image_validate_encrypted()
252 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 0, bs)) { in decrypt_image_inplace()
/mcuboot-3.6.0/boot/bootutil/src/
Dloader.c518 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs)) { in boot_image_check()
1182 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs)) { in boot_copy_image()
1300 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 0, bs); in boot_swap_image()
1324 rc = boot_enc_set_key(BOOT_CURR_ENC(state), 1, bs); in boot_swap_image()
1364 boot_enc_set_key(BOOT_CURR_ENC(state), slot, bs); in boot_swap_image()
2683 if (rc == 0 && boot_enc_set_key(BOOT_CURR_ENC(state), slot, &bs)) {
Dencrypted.c351 boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot, in boot_enc_set_key() function