Searched refs:CMAC_MODE (Results 1 – 6 of 6) sorted by relevance
107 if ((ctx->cbc_flags & CMAC_MODE) == 0 && in cbc_encrypt_contiguous_blocks()125 if ((ctx->cbc_flags & CMAC_MODE) == 0) { in cbc_encrypt_contiguous_blocks()328 uint32_t modeval = mode & (CBC_MODE|CMAC_MODE); in cbc_cmac_alloc_ctx()331 VERIFY(modeval == CBC_MODE || modeval == CMAC_MODE); in cbc_cmac_alloc_ctx()358 return (cbc_cmac_alloc_ctx(kmflag, CMAC_MODE)); in cmac_alloc_ctx()390 cbc_ctx->cbc_flags |= CMAC_MODE; in cmac_init_ctx()
177 switch (common_ctx->cc_flags & (ECB_MODE|CBC_MODE|CMAC_MODE|CTR_MODE| in crypto_free_mode_ctx()188 case CMAC_MODE: in crypto_free_mode_ctx()
52 #define CMAC_MODE 0x00000080 macro
425 if (((aes_ctx->ac_flags & (CMAC_MODE|CTR_MODE|CCM_MODE| in aes_encrypt()436 switch (aes_ctx->ac_flags & (CMAC_MODE|CCM_MODE|GCM_MODE|GMAC_MODE)) { in aes_encrypt()443 case CMAC_MODE: in aes_encrypt()519 } else if (aes_ctx->ac_flags & CMAC_MODE) { in aes_encrypt()678 if ((aes_ctx->ac_flags & CMAC_MODE) == 0 && in aes_encrypt_update()839 } else if (aes_ctx->ac_flags & CMAC_MODE) { in aes_encrypt_final()
113 } else if (aes_ctx->ac_flags & (CBC_MODE|CMAC_MODE)) { in aes_encrypt_contiguous_blocks()
348 !(aes_ctx->ac_flags & (CCM_MODE|GCM_MODE|CMAC_MODE))) { in soft_aes_encrypt()1622 } else if (ctx->ac_flags & (CBC_MODE|CMAC_MODE)) { in soft_aes_free_ctx()