Home
last modified time | relevance | path

Searched refs:textlen (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/crypto/
Datmel-aes.c135 size_t textlen; member
168 size_t textlen; member
1551 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process()
1557 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process()
1579 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length()
1603 bool use_dma = (ctx->textlen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_gcm_data()
1622 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data()
1639 return atmel_aes_dma_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data()
1643 return atmel_aes_cpu_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data()
1667 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init()
[all …]
Datmel-authenc.h42 unsigned int textlen,
Datmel-sha.c2122 u32 textlen; member
2278 unsigned int textlen, in atmel_sha_authenc_init() argument
2295 authctx->textlen = textlen; in atmel_sha_authenc_init()
2327 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
/linux-6.6.21/drivers/crypto/starfive/
Djh7110-aes.c211 unsigned int textlen; in starfive_aes_ccm_init() local
224 textlen = cryp->total_in; in starfive_aes_ccm_init()
226 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in starfive_aes_ccm_init()
227 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in starfive_aes_ccm_init()
/linux-6.6.21/kernel/printk/
Dprintk.c1674 int textlen; in syslog_print_all() local
1676 textlen = record_print_text(&r, true, time); in syslog_print_all()
1678 if (len + textlen > size) { in syslog_print_all()
1683 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all()
1686 len += textlen; in syslog_print_all()
/linux-6.6.21/drivers/crypto/stm32/
Dstm32-cryp.c641 unsigned int i, textlen; in stm32_cryp_ccm_init() local
657 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init()
659 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init()
660 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()