Lines Matching refs:ivsize
56 unsigned int ivsize = 8; in seqiv_aead_encrypt() local
59 if (req->cryptlen < ivsize) in seqiv_aead_encrypt()
85 info = kmemdup(req->iv, ivsize, req->base.flags & in seqiv_aead_encrypt()
97 req->cryptlen - ivsize, info); in seqiv_aead_encrypt()
98 aead_request_set_ad(subreq, req->assoclen + ivsize); in seqiv_aead_encrypt()
100 crypto_xor(info, ctx->salt, ivsize); in seqiv_aead_encrypt()
101 scatterwalk_map_and_copy(info, req->dst, req->assoclen, ivsize, 1); in seqiv_aead_encrypt()
116 unsigned int ivsize = 8; in seqiv_aead_decrypt() local
118 if (req->cryptlen < ivsize + crypto_aead_authsize(geniv)) in seqiv_aead_decrypt()
128 req->cryptlen - ivsize, req->iv); in seqiv_aead_decrypt()
129 aead_request_set_ad(subreq, req->assoclen + ivsize); in seqiv_aead_decrypt()
131 scatterwalk_map_and_copy(req->iv, req->src, req->assoclen, ivsize, 0); in seqiv_aead_decrypt()
147 if (inst->alg.ivsize != sizeof(u64)) in seqiv_aead_create()
157 inst->alg.base.cra_ctxsize += inst->alg.ivsize; in seqiv_aead_create()