Home
last modified time | relevance | path

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

/linux-6.15/security/ipe/
H A Dpolicy.c70 p->textlen = len; in set_pkcs7_data()
90 int ipe_update_policy(struct inode *root, const char *text, size_t textlen, in ipe_update_policy() argument
100 new = ipe_new_policy(text, textlen, pkcs7, pkcs7len); in ipe_update_policy()
154 struct ipe_policy *ipe_new_policy(const char *text, size_t textlen, in ipe_new_policy() argument
190 new->textlen = textlen; in ipe_new_policy()
H A Dpolicy.h83 size_t textlen; member
90 struct ipe_policy *ipe_new_policy(const char *text, size_t textlen,
93 int ipe_update_policy(struct inode *root, const char *text, size_t textlen,
H A Dpolicy_parser.c514 if (!p->textlen) in ipe_parse_policy()
517 policy = kmemdup_nul(p->text, p->textlen, GFP_KERNEL); in ipe_parse_policy()
H A Dpolicy_fs.c105 rc = simple_read_from_buffer(data, len, offset, p->text, p->textlen); in read_policy()
/linux-6.15/drivers/crypto/
H A Datmel-aes.c123 size_t textlen; member
156 size_t textlen; member
1358 ctx->textlen = req->cryptlen - (enc ? 0 : authsize); in atmel_aes_gcm_process()
1364 if (likely(req->assoclen != 0 || ctx->textlen != 0)) in atmel_aes_gcm_process()
1386 atmel_aes_write(dd, AES_CLENR, ctx->textlen); in atmel_aes_gcm_length()
1429 if (unlikely(ctx->textlen == 0)) in atmel_aes_gcm_data()
1474 data[1] = cpu_to_be64(ctx->textlen * 8); in atmel_aes_gcm_tag_init()
1514 offset = req->assoclen + ctx->textlen; in atmel_aes_gcm_finalize()
1815 rctx->textlen, in atmel_aes_authenc_init()
1889 offs = req->assoclen + rctx->textlen; in atmel_aes_authenc_final()
[all …]
H A Datmel-authenc.h42 unsigned int textlen,
H A Datmel-sha.c2120 u32 textlen; member
2276 unsigned int textlen, in atmel_sha_authenc_init() argument
2293 authctx->textlen = textlen; in atmel_sha_authenc_init()
2325 msg_size = authctx->assoclen + authctx->textlen; in atmel_sha_authenc_init2()
/linux-6.15/drivers/crypto/starfive/
H A Djh7110-aes.c201 unsigned int textlen; in starfive_aes_ccm_init() local
214 textlen = cryp->total_in; in starfive_aes_ccm_init()
216 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in starfive_aes_ccm_init()
217 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in starfive_aes_ccm_init()
/linux-6.15/kernel/printk/
H A Dprintk.c1727 int textlen; in syslog_print_all() local
1729 textlen = record_print_text(&r, true, time); in syslog_print_all()
1731 if (len + textlen > size) { in syslog_print_all()
1736 if (copy_to_user(buf + len, text, textlen)) in syslog_print_all()
1739 len += textlen; in syslog_print_all()
/linux-6.15/drivers/crypto/stm32/
H A Dstm32-cryp.c685 unsigned int i, textlen; in stm32_cryp_ccm_init() local
701 textlen = stm32_cryp_get_input_text_len(cryp); in stm32_cryp_ccm_init()
703 b0[AES_BLOCK_SIZE - 2] = textlen >> 8; in stm32_cryp_ccm_init()
704 b0[AES_BLOCK_SIZE - 1] = textlen & 0xFF; in stm32_cryp_ccm_init()