Home
last modified time | relevance | path

Searched refs:assoclen (Results 1 – 13 of 13) sorted by relevance

/linux-2.6.39/include/crypto/
Daead.h93 unsigned int assoclen) in aead_givcrypt_set_assoc() argument
95 aead_request_set_assoc(&req->areq, assoc, assoclen); in aead_givcrypt_set_assoc()
/linux-2.6.39/net/ipv6/
Desp6.c158 int assoclen; in esp6_output() local
192 assoclen = sizeof(*esph); in esp6_output()
199 assoclen += seqhilen; in esp6_output()
250 aead_givcrypt_set_assoc(req, asg, assoclen); in esp6_output()
328 int assoclen; in esp6_input() local
355 assoclen = sizeof(*esph); in esp6_input()
362 assoclen += seqhilen; in esp6_input()
397 aead_request_set_assoc(req, asg, assoclen); in esp6_input()
/linux-2.6.39/net/ipv4/
Desp4.c133 int assoclen; in esp_output() local
166 assoclen = sizeof(*esph); in esp_output()
173 assoclen += seqhilen; in esp_output()
259 aead_givcrypt_set_assoc(req, asg, assoclen); in esp_output()
380 int assoclen; in esp_input() local
400 assoclen = sizeof(*esph); in esp_input()
407 assoclen += seqhilen; in esp_input()
443 aead_request_set_assoc(req, asg, assoclen); in esp_input()
/linux-2.6.39/crypto/
Dgcm.c259 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_hash_len()
404 remain = gcm_remain(req->assoclen); in __gcm_hash_assoc_done()
428 if (!err && req->assoclen) { in __gcm_hash_init_done()
429 remain = gcm_remain(req->assoclen); in __gcm_hash_init_done()
433 req->assoc, req->assoclen); in __gcm_hash_init_done()
468 remain = gcm_remain(req->assoclen); in gcm_hash()
470 err = gcm_hash_update(req, pctx, complete, req->assoc, req->assoclen); in gcm_hash()
914 aead_request_set_assoc(subreq, req->assoc, req->assoclen); in crypto_rfc4106_crypt()
1117 unsigned int assoclen = req->assoclen; in crypto_rfc4543_crypt() local
1143 assoclen += 8 + req->cryptlen - (enc ? 0 : authsize); in crypto_rfc4543_crypt()
[all …]
Dccm.c139 if (req->assoclen) in format_input()
252 unsigned int assoclen = req->assoclen; in crypto_ccm_auth() local
266 if (assoclen) { in crypto_ccm_auth()
267 pctx->ilen = format_adata(idata, assoclen); in crypto_ccm_auth()
268 get_data_to_compute(cipher, pctx, req->assoc, req->assoclen); in crypto_ccm_auth()
703 aead_request_set_assoc(subreq, req->assoc, req->assoclen); in crypto_rfc4309_crypt()
Dpcrypt.c178 aead_request_set_assoc(creq, req->assoc, req->assoclen); in pcrypt_aead_encrypt()
220 aead_request_set_assoc(creq, req->assoc, req->assoclen); in pcrypt_aead_decrypt()
263 aead_givcrypt_set_assoc(creq, areq->assoc, areq->assoclen); in pcrypt_aead_givencrypt()
Dauthenc.c266 ahash_request_set_crypt(ahreq, req->assoc, hash, req->assoclen); in crypto_authenc_ahash_fb()
345 cryptlen += req->assoclen; in crypto_authenc_genicv()
499 cryptlen += req->assoclen; in crypto_authenc_iverify()
Dseqiv.c178 aead_request_set_assoc(subreq, areq->assoc, areq->assoclen); in seqiv_aead_givencrypt()
/linux-2.6.39/arch/x86/crypto/
Daesni-intel_glue.c1092 if (unlikely(req->assoclen != 8 && req->assoclen != 12)) in __driver_rfc4106_encrypt()
1115 src = kmalloc(req->cryptlen + auth_tag_len + req->assoclen, in __driver_rfc4106_encrypt()
1122 req->assoclen, 0); in __driver_rfc4106_encrypt()
1127 ctx->hash_subkey, assoc, (unsigned long)req->assoclen, dst in __driver_rfc4106_encrypt()
1169 (req->assoclen != 8 && req->assoclen != 12))) in __driver_rfc4106_decrypt()
1197 src = kmalloc(req->cryptlen + req->assoclen, GFP_ATOMIC); in __driver_rfc4106_decrypt()
1203 req->assoclen, 0); in __driver_rfc4106_decrypt()
1208 ctx->hash_subkey, assoc, (unsigned long)req->assoclen, in __driver_rfc4106_decrypt()
/linux-2.6.39/include/linux/
Dcrypto.h156 unsigned int assoclen; member
858 unsigned int assoclen) in aead_request_set_assoc() argument
861 req->assoclen = assoclen; in aead_request_set_assoc()
/linux-2.6.39/drivers/crypto/
Dixp4xx_crypto.c1042 crypt->auth_len = req->assoclen + ivsize + cryptlen; in aead_perform()
1051 buf = chainup_buffers(dev, req->assoc, req->assoclen, &src_hook, in aead_perform()
1194 return aead_perform(req, 1, req->assoclen + ivsize, in aead_encrypt()
1201 return aead_perform(req, 0, req->assoclen + ivsize, in aead_decrypt()
1225 return aead_perform(&req->areq, 1, req->areq.assoclen, in aead_givencrypt()
Dpicoxcell_crypto.c345 sg_count(areq->assoc, areq->assoclen), DMA_TO_DEVICE); in spacc_aead_make_ddts()
420 sg_count(areq->assoc, areq->assoclen), DMA_TO_DEVICE); in spacc_aead_free_ddts()
629 assoc_len = aead_req->assoclen; in spacc_aead_submit()
Dtalitos.c1029 map_single_talitos_ptr(dev, &desc->ptr[1], areq->assoclen + ivsize, in ipsec_esp()