Searched refs:textlen (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/crypto/ |
D | atmel-authenc.h | 53 unsigned int textlen,
|
D | atmel-aes.c | 138 size_t textlen; member 169 size_t textlen; member 1580 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process() 1586 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process() 1608 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length() 1632 bool use_dma = (ctx->textlen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_gcm_data() 1651 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data() 1668 return atmel_aes_dma_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1672 return atmel_aes_cpu_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data() 1696 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init() [all …]
|
D | atmel-sha.c | 2239 u32 textlen; member 2401 unsigned int textlen, in atmel_sha_authenc_init() argument 2418 authctx->textlen = textlen; in atmel_sha_authenc_init() 2450 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
|
/Linux-v4.19/drivers/crypto/mediatek/ |
D | mtk-aes.c | 136 size_t textlen; member 831 info->cmd[cnt++] = AES_GCM_CMD3 | cpu_to_le32(gctx->textlen); in mtk_aes_gcm_info_init() 912 gctx->textlen = req->cryptlen; in mtk_aes_gcm_start() 918 gctx->textlen = req->cryptlen - gctx->authsize; in mtk_aes_gcm_start() 931 if (!gctx->textlen && !req->assoclen) in mtk_aes_gcm_crypt()
|
/Linux-v4.19/kernel/printk/ |
D | printk.c | 1396 int textlen; in syslog_print_all() local 1398 textlen = msg_print_text(msg, true, text, in syslog_print_all() 1400 if (textlen < 0) { in syslog_print_all() 1401 len = textlen; in syslog_print_all() 1408 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all() 1411 len += textlen; in syslog_print_all()
|
/Linux-v4.19/drivers/crypto/stm32/ |
D | stm32-cryp.c | 478 unsigned int i, textlen; in stm32_cryp_ccm_init() local 494 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init() 496 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init() 497 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()
|