Searched refs:textlen (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/crypto/ |
D | atmel-authenc.h | 42 unsigned int textlen,
|
D | atmel-aes.c | 135 size_t textlen; member 166 size_t textlen; member 1577 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process() 1583 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process() 1605 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length() 1629 bool use_dma = (ctx->textlen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_gcm_data() 1648 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data() 1665 return atmel_aes_dma_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1669 return atmel_aes_cpu_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1693 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init() [all …]
|
D | atmel-sha.c | 2236 u32 textlen; member 2398 unsigned int textlen, in atmel_sha_authenc_init() argument 2415 authctx->textlen = textlen; in atmel_sha_authenc_init() 2447 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
|
/Linux-v5.4/drivers/crypto/mediatek/ |
D | mtk-aes.c | 138 size_t textlen; member 893 info->cmd[cnt++] = AES_GCM_CMD3 | cpu_to_le32(gctx->textlen); in mtk_aes_gcm_info_init() 996 gctx->textlen = req->cryptlen - (enc ? 0 : gctx->authsize); in mtk_aes_gcm_crypt() 999 if (!gctx->textlen && !req->assoclen) in mtk_aes_gcm_crypt()
|
/Linux-v5.4/drivers/crypto/stm32/ |
D | stm32-cryp.c | 494 unsigned int i, textlen; in stm32_cryp_ccm_init() local 510 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init() 512 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init() 513 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()
|
/Linux-v5.4/kernel/printk/ |
D | printk.c | 1465 int textlen = msg_print_text(msg, true, time, text, in syslog_print_all() local 1472 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all() 1475 len += textlen; in syslog_print_all()
|