Searched refs:CTR_MODE (Results 1 – 5 of 5) sorted by relevance
83 if (aes_ctx->ac_flags & CTR_MODE) { in aes_encrypt_contiguous_blocks()118 if (aes_ctx->ac_flags & CTR_MODE) { in aes_decrypt_contiguous_blocks()
174 (ECB_MODE|CBC_MODE|CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in crypto_free_mode_ctx()191 case CTR_MODE: in crypto_free_mode_ctx()
230 ctr_ctx->ctr_flags |= CTR_MODE; in ctr_init_ctx()247 ctr_ctx->ctr_flags = CTR_MODE; in ctr_alloc_ctx()
45 #define CTR_MODE 0x00000008 macro
420 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_encrypt()536 if (((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) in aes_decrypt()691 if ((aes_ctx->ac_flags & CTR_MODE) && (aes_ctx->ac_remainder_len > 0)) { in aes_encrypt_update()775 if ((aes_ctx->ac_flags & CTR_MODE) && (aes_ctx->ac_remainder_len > 0)) { in aes_decrypt_update()812 if (aes_ctx->ac_flags & CTR_MODE) { in aes_encrypt_final()878 if ((aes_ctx->ac_flags & CTR_MODE) == 0) in aes_decrypt_final()948 if ((aes_ctx->ac_flags & (CTR_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) == 0) { in aes_decrypt_final()