Searched refs:boot_enc_set_key (Results 1 – 4 of 4) sorted by relevance
/mcuboot-3.6.0/boot/bootutil/include/bootutil/ |
D | enc_key.h | 53 int boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot,
|
/mcuboot-3.6.0/boot/boot_serial/src/ |
D | boot_serial_encryption.c | 47 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/ |
D | loader.c | 518 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)) {
|
D | encrypted.c | 351 boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot, in boot_enc_set_key() function
|