Searched refs:aes_ctr (Results 1 – 2 of 2) sorted by relevance
339 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() local575 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 …]
45 bootutil_aes_ctr_context aes_ctr; member