Home
last modified time | relevance | path

Searched refs:enc_key_data (Results 1 – 5 of 5) sorted by relevance

/mcuboot-latest/boot/bootutil/include/bootutil/
Denc_key.h44 struct enc_key_data { struct
66 int boot_enc_init(struct enc_key_data *enc_state, uint8_t slot); argument
67 int boot_enc_drop(struct enc_key_data *enc_state, uint8_t slot);
68 int boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot,
77 bool boot_enc_valid(struct enc_key_data *enc_state, int slot);
78 void boot_enc_encrypt(struct enc_key_data *enc_state, int slot,
80 void boot_enc_decrypt(struct enc_key_data *enc_state, int slot,
82 void boot_enc_zeroize(struct enc_key_data *enc_state);
Dimage.h198 struct enc_key_data;
/mcuboot-latest/boot/bootutil/src/
Dencrypted.c355 boot_enc_init(struct enc_key_data *enc_state, uint8_t slot) in boot_enc_init()
362 boot_enc_drop(struct enc_key_data *enc_state, uint8_t slot) in boot_enc_drop()
370 boot_enc_set_key(struct enc_key_data *enc_state, uint8_t slot, in boot_enc_set_key()
643 struct enc_key_data *enc_state = BOOT_CURR_ENC(state); in boot_enc_load()
698 boot_enc_valid(struct enc_key_data *enc_state, int slot) in boot_enc_valid()
704 boot_enc_encrypt(struct enc_key_data *enc_state, int slot, uint32_t off, in boot_enc_encrypt()
707 struct enc_key_data *enc = &enc_state[slot]; in boot_enc_encrypt()
727 boot_enc_decrypt(struct enc_key_data *enc_state, int slot, uint32_t off, in boot_enc_decrypt()
730 struct enc_key_data *enc = &enc_state[slot]; in boot_enc_decrypt()
753 boot_enc_zeroize(struct enc_key_data *enc_state) in boot_enc_zeroize()
[all …]
Dbootutil_priv.h261 struct enc_key_data enc[BOOT_IMAGE_NUMBER][BOOT_NUM_SLOTS];
Dimage_validate.c88 struct enc_key_data *enc_state; in bootutil_img_hash()