Home
last modified time | relevance | path

Searched refs:textlen (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/
H A Datmel-authenc.h41 unsigned int textlen,
H A Datmel-aes.c135 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 * in atmel_aes_gcm_tag_init()
[all...]
H A Datmel-sha.c2095 u32 textlen; member
2252 unsigned int textlen, in atmel_sha_authenc_init()
2269 authctx->textlen = textlen; in atmel_sha_authenc_init()
2301 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
2250 atmel_sha_authenc_init(struct ahash_request *req, struct scatterlist *assoc, unsigned int assoclen, unsigned int textlen, atmel_aes_authenc_fn_t cb, struct atmel_aes_dev *aes_dev) atmel_sha_authenc_init() argument
/kernel/linux/linux-6.6/drivers/crypto/
H A Datmel-authenc.h42 unsigned int textlen,
H A 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 * in atmel_aes_gcm_tag_init()
[all...]
H A Datmel-sha.c2122 u32 textlen; member
2278 unsigned int textlen, in atmel_sha_authenc_init()
2295 authctx->textlen = textlen; in atmel_sha_authenc_init()
2327 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
2276 atmel_sha_authenc_init(struct ahash_request *req, struct scatterlist *assoc, unsigned int assoclen, unsigned int textlen, atmel_aes_authenc_fn_t cb, struct atmel_aes_dev *aes_dev) atmel_sha_authenc_init() argument
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
H A Dmtk-aes.c139 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()
/kernel/linux/linux-6.6/drivers/crypto/starfive/
H A 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()
/kernel/linux/linux-5.10/kernel/printk/
H A Dprintk.c1575 int textlen; in syslog_print_all() local
1577 textlen = record_print_text(&r, true, time); in syslog_print_all()
1579 if (len + textlen > size) { in syslog_print_all()
1585 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all()
1588 len += textlen; in syslog_print_all()
/kernel/linux/linux-5.10/drivers/crypto/stm32/
H A Dstm32-cryp.c470 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()
/kernel/linux/linux-6.6/drivers/crypto/stm32/
H A 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()
/kernel/linux/linux-6.6/kernel/printk/
H A 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()

Completed in 33 milliseconds