Searched refs:aes_ctr (Results 1 – 2 of 2) sorted by relevance
357 bootutil_aes_ctr_init(&enc_state[slot].aes_ctr); in boot_enc_init()364 bootutil_aes_ctr_drop(&enc_state[slot].aes_ctr); in boot_enc_drop()375 rc = bootutil_aes_ctr_set_key(&enc_state[slot].aes_ctr, bs->enckey[slot]); in boot_enc_set_key()449 bootutil_aes_ctr_context aes_ctr; in boot_decrypt_key() local603 bootutil_aes_ctr_init(&aes_ctr); in boot_decrypt_key()605 bootutil_aes_ctr_drop(&aes_ctr); in boot_decrypt_key()609 rc = bootutil_aes_ctr_set_key(&aes_ctr, derived_key); in boot_decrypt_key()611 bootutil_aes_ctr_drop(&aes_ctr); in boot_decrypt_key()616 …rc = bootutil_aes_ctr_decrypt(&aes_ctr, counter, &buf[EC_CIPHERKEY_INDEX], BOOTUTIL_CRYPTO_AES_CTR… in boot_decrypt_key()618 bootutil_aes_ctr_drop(&aes_ctr); in boot_decrypt_key()[all …]
46 bootutil_aes_ctr_context aes_ctr; member