Searched refs:cryptlen (Results 1 – 6 of 6) sorted by relevance
/crypto/ |
D | authenc.c | 40 unsigned int cryptlen; member 123 areq_ctx->cryptlen); in authenc_geniv_ahash_update_done() 133 areq_ctx->cryptlen, in authenc_geniv_ahash_update_done() 152 areq_ctx->cryptlen, in authenc_geniv_ahash_done() 170 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_update_done() local 176 areq_ctx->cryptlen); in authenc_verify_ahash_update_done() 186 cryptlen -= authsize; in authenc_verify_ahash_update_done() 188 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_verify_ahash_update_done() 200 cryptlen, req->iv); in authenc_verify_ahash_update_done() 219 unsigned int cryptlen = req->cryptlen; in authenc_verify_ahash_done() local [all …]
|
D | authencesn.c | 40 unsigned int cryptlen; member 127 areq_ctx->cryptlen); in authenc_esn_geniv_ahash_update_done() 147 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done() 177 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_update_done2() 198 areq_ctx->cryptlen, in authenc_esn_geniv_ahash_done() 217 unsigned int cryptlen = req->cryptlen; in authenc_esn_verify_ahash_update_done() local 223 areq_ctx->cryptlen); in authenc_esn_verify_ahash_update_done() 245 cryptlen -= authsize; in authenc_esn_verify_ahash_update_done() 247 scatterwalk_map_and_copy(ihash, areq_ctx->sg, areq_ctx->cryptlen, in authenc_esn_verify_ahash_update_done() 259 cryptlen, req->iv); in authenc_esn_verify_ahash_update_done() [all …]
|
D | ccm.c | 124 unsigned int cryptlen) in format_input() argument 142 return set_msg_len(info + 16 - l, cryptlen, l); in format_input() 246 unsigned int cryptlen) in crypto_ccm_auth() argument 258 err = format_input(odata, req, cryptlen); in crypto_ccm_auth() 274 get_data_to_compute(cipher, pctx, plain, cryptlen); in crypto_ccm_auth() 288 scatterwalk_map_and_copy(odata, req->dst, req->cryptlen, in crypto_ccm_encrypt_done() 309 unsigned int cryptlen = req->cryptlen; in crypto_ccm_encrypt() local 320 err = crypto_ccm_auth(req, req->src, cryptlen); in crypto_ccm_encrypt() 344 ablkcipher_request_set_crypt(abreq, pctx->src, dst, cryptlen + 16, iv); in crypto_ccm_encrypt() 350 scatterwalk_map_and_copy(odata, req->dst, cryptlen, in crypto_ccm_encrypt() [all …]
|
D | gcm.c | 61 unsigned int cryptlen; member 191 unsigned int cryptlen) in crypto_gcm_init_crypt() argument 216 cryptlen + sizeof(pctx->auth_tag), in crypto_gcm_init_crypt() 267 lengths.b = cpu_to_be64(gctx->cryptlen * 8); in gcm_hash_len() 356 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_crypt_done() 381 if (!err && gctx->cryptlen) { in __gcm_hash_assoc_remain_done() 382 remain = gcm_remain(gctx->cryptlen); in __gcm_hash_assoc_remain_done() 386 gctx->src, gctx->cryptlen); in __gcm_hash_assoc_remain_done() 486 remain = gcm_remain(gctx->cryptlen); in gcm_hash() 488 err = gcm_hash_update(req, pctx, complete, gctx->src, gctx->cryptlen); in gcm_hash() [all …]
|
D | pcrypt.c | 177 req->cryptlen, req->iv); in pcrypt_aead_encrypt() 219 req->cryptlen, req->iv); in pcrypt_aead_decrypt() 262 areq->cryptlen, areq->iv); in pcrypt_aead_givencrypt()
|
D | seqiv.c | 176 aead_request_set_crypt(subreq, areq->src, areq->dst, areq->cryptlen, in seqiv_aead_givencrypt()
|