Searched refs:cryptlen (Results 1 – 10 of 10) sorted by relevance
/drivers/crypto/ |
D | talitos.c | 1032 unsigned int offset, int cryptlen, in sg_to_link_tbl_offset() argument 1038 while (cryptlen && sg && n_sg--) { in sg_to_link_tbl_offset() 1048 if (len > cryptlen) in sg_to_link_tbl_offset() 1049 len = cryptlen; in sg_to_link_tbl_offset() 1056 cryptlen -= len; in sg_to_link_tbl_offset() 1071 int cryptlen, in sg_to_link_tbl() argument 1074 return sg_to_link_tbl_offset(sg, sg_count, 0, cryptlen, in sg_to_link_tbl() 1091 unsigned int cryptlen = areq->cryptlen; in ipsec_esp() local 1139 desc->ptr[4].len = cpu_to_be16(cryptlen); in ipsec_esp() 1142 sg_link_tbl_len = cryptlen; in ipsec_esp() [all …]
|
D | ixp4xx_crypto.c | 352 int decryptlen = req->assoclen + req->cryptlen - authsize; in finish_scattered_hmac() 996 unsigned int cryptlen; in aead_perform() local 1012 cryptlen = req->cryptlen; in aead_perform() 1016 cryptlen = req->cryptlen -authsize; in aead_perform() 1032 crypt->auth_len = req->assoclen + cryptlen; in aead_perform() 1083 req->src, cryptlen, authsize, 0); in aead_perform() 1184 return aead_perform(req, 1, req->assoclen, req->cryptlen, req->iv); in aead_encrypt() 1189 return aead_perform(req, 0, req->assoclen, req->cryptlen, req->iv); in aead_decrypt()
|
D | picoxcell_crypto.c | 335 total = areq->assoclen + areq->cryptlen; in spacc_aead_make_ddts() 421 unsigned total = areq->assoclen + areq->cryptlen + in spacc_aead_free_ddts() 531 aead_request_set_crypt(subreq, req->src, req->dst, req->cryptlen, in spacc_aead_do_fallback() 568 proc_len = aead_req->cryptlen + assoc_len; in spacc_aead_submit()
|
/drivers/crypto/qce/ |
D | common.c | 198 unsigned int enckeylen, unsigned int cryptlen) in qce_xtskey() argument 209 xtsdusize = min_t(u32, QCE_SECTOR_SIZE, cryptlen); in qce_xtskey() 354 rctx->cryptlen); in qce_setup_regs_ablkcipher() 375 qce_write(qce, REG_ENCR_SEG_SIZE, rctx->cryptlen); in qce_setup_regs_ablkcipher()
|
D | cipher.h | 53 unsigned int cryptlen; member
|
D | ablkcipher.c | 75 rctx->cryptlen = req->nbytes; in qce_ablkcipher_async_req_handle()
|
/drivers/crypto/nx/ |
D | nx-aes-ccm.c | 146 unsigned int cryptlen, u8 *b0) in generate_b0() argument 163 rc = set_msg_len(b0 + 16 - l, cryptlen, l); in generate_b0() 347 unsigned int nbytes = req->cryptlen; in ccm_nx_decrypt() 425 unsigned int nbytes = req->cryptlen; in ccm_nx_encrypt()
|
D | nx-aes-gcm.c | 328 unsigned int nbytes = req->cryptlen; in gcm_aes_nx_crypt()
|
/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 827 cipher_len = areq->cryptlen - digst_size; in qat_alg_aead_dec() 873 if (areq->cryptlen % AES_BLOCK_SIZE != 0) in qat_alg_aead_enc() 892 cipher_param->cipher_length = areq->cryptlen; in qat_alg_aead_enc() 896 auth_param->auth_len = areq->assoclen + areq->cryptlen; in qat_alg_aead_enc()
|
/drivers/crypto/caam/ |
D | caamalg.c | 2084 append_seq_in_ptr(desc, src_dma, req->assoclen + req->cryptlen, in init_aead_job() 2104 req->assoclen + req->cryptlen + authsize, in init_aead_job() 2108 req->assoclen + req->cryptlen - authsize, in init_aead_job() 2130 if (encrypt && generic_gcm && !(req->assoclen + req->cryptlen)) in init_gcm_job() 2308 src_nents = sg_count(req->src, req->assoclen + req->cryptlen); in aead_edesc_alloc() 2310 req->assoclen + req->cryptlen + in aead_edesc_alloc() 2314 req->assoclen + req->cryptlen + in aead_edesc_alloc() 2540 req->assoclen + req->cryptlen, 1); in aead_decrypt()
|