Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/
Datmel-aes.c135 size_t textlen; member
168 size_t textlen; member
1557 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process()
1563 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process()
1585 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length()
1609 bool use_dma = (ctx->textlen >= ATMEL_AES_DMA_THRESHOLD); in atmel_aes_gcm_data()
1628 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data()
1645 return atmel_aes_dma_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data()
1649 return atmel_aes_cpu_start(dd, src, dst, ctx->textlen, in atmel_aes_gcm_data()
1673 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init()
[all …]
Datmel-authenc.h42 unsigned int textlen,
Datmel-sha.c2095 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()
/linux-6.1.9/drivers/crypto/stm32/
Dstm32-cryp.c475 unsigned int i, textlen; in stm32_cryp_ccm_init() local
491 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init()
493 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init()
494 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()
/linux-6.1.9/kernel/printk/
Dprintk.c1621 int textlen; in syslog_print_all() local
1623 textlen = record_print_text(&r, true, time); in syslog_print_all()
1625 if (len + textlen > size) { in syslog_print_all()
1630 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all()
1633 len += textlen; in syslog_print_all()