Searched refs:textlen (Results 1 – 5 of 5) sorted by relevance
/drivers/crypto/ |
D | atmel-aes.c | 135 size_t textlen; member 166 size_t textlen; member 1520 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process() 1526 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process() 1548 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length() 1572 bool use_dma = (ctx->textlen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_gcm_data() 1591 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data() 1608 return atmel_aes_dma_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1612 return atmel_aes_cpu_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1636 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init() [all …]
|
D | atmel-authenc.h | 41 unsigned int textlen,
|
D | atmel-sha.c | 2095 u32 textlen; member 2252 unsigned int textlen, in atmel_sha_authenc_init() argument 2269 authctx->textlen = textlen; in atmel_sha_authenc_init() 2301 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
|
/drivers/crypto/mediatek/ |
D | mtk-aes.c | 139 size_t textlen; member 857 info->cmd[cnt++] = AES_GCM_CMD3 | cpu_to_le32(gctx->textlen); in mtk_aes_gcm_info_init() 960 gctx->textlen = req->cryptlen - (enc ? 0 : gctx->authsize); in mtk_aes_gcm_crypt() 963 if (!gctx->textlen && !req->assoclen) in mtk_aes_gcm_crypt()
|
/drivers/crypto/stm32/ |
D | stm32-cryp.c | 470 unsigned int i, textlen; in stm32_cryp_ccm_init() local 486 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init() 488 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init() 489 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()
|