Home
last modified time | relevance | path

Searched refs:aes_ctr (Results 1 – 2 of 2) sorted by relevance

/mcuboot-3.6.0/boot/bootutil/src/
Dencrypted.c339 bootutil_aes_ctr_init(&enc_state[slot].aes_ctr); in boot_enc_init()
346 bootutil_aes_ctr_drop(&enc_state[slot].aes_ctr); in boot_enc_drop()
356 rc = bootutil_aes_ctr_set_key(&enc_state[slot].aes_ctr, bs->enckey[slot]); in boot_enc_set_key()
431 bootutil_aes_ctr_context aes_ctr; in boot_enc_decrypt() local
575 bootutil_aes_ctr_init(&aes_ctr); in boot_enc_decrypt()
577 bootutil_aes_ctr_drop(&aes_ctr); in boot_enc_decrypt()
581 rc = bootutil_aes_ctr_set_key(&aes_ctr, derived_key); in boot_enc_decrypt()
583 bootutil_aes_ctr_drop(&aes_ctr); in boot_enc_decrypt()
588 …rc = bootutil_aes_ctr_decrypt(&aes_ctr, counter, &buf[EC_CIPHERKEY_INDEX], BOOTUTIL_CRYPTO_AES_CTR… in boot_enc_decrypt()
590 bootutil_aes_ctr_drop(&aes_ctr); in boot_enc_decrypt()
[all …]
/mcuboot-3.6.0/boot/bootutil/include/bootutil/
Denc_key.h45 bootutil_aes_ctr_context aes_ctr; member