Searched refs:assoclen (Results 1 – 5 of 5) sorted by relevance
/crypto/ |
D | gcm.c | 266 lengths.a = cpu_to_be64(req->assoclen * 8); in gcm_hash_len() 411 remain = gcm_remain(req->assoclen); in __gcm_hash_assoc_done() 435 if (!err && req->assoclen) { in __gcm_hash_init_done() 436 remain = gcm_remain(req->assoclen); in __gcm_hash_init_done() 440 req->assoc, req->assoclen); in __gcm_hash_init_done() 475 remain = gcm_remain(req->assoclen); in gcm_hash() 477 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() 1130 unsigned int assoclen = req->assoclen; in crypto_rfc4543_crypt() local 1156 assoclen += 8 + req->cryptlen - (enc ? 0 : authsize); in crypto_rfc4543_crypt() [all …]
|
D | ccm.c | 139 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() 696 aead_request_set_assoc(subreq, req->assoc, req->assoclen); in crypto_rfc4309_crypt()
|
D | authenc.c | 266 ahash_request_set_crypt(ahreq, req->assoc, hash, req->assoclen); in crypto_authenc_ahash_fb() 339 if (req->assoclen && sg_is_last(assoc)) { in crypto_authenc_genicv() 345 cryptlen += req->assoclen; in crypto_authenc_genicv() 493 if (req->assoclen && sg_is_last(assoc)) { in crypto_authenc_iverify() 499 cryptlen += req->assoclen; in crypto_authenc_iverify()
|
D | pcrypt.c | 178 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()
|
D | seqiv.c | 178 aead_request_set_assoc(subreq, areq->assoc, areq->assoclen); in seqiv_aead_givencrypt()
|