Lines Matching refs:authsize
1357 unsigned int authsize; in sa_sha_dma_in_callback() local
1366 authsize = crypto_ahash_digestsize(tfm); in sa_sha_dma_in_callback()
1371 for (i = 0; i < (authsize / 4); i++) in sa_sha_dma_in_callback()
1696 unsigned int authsize; in sa_aead_dma_in_callback() local
1707 authsize = crypto_aead_authsize(tfm); in sa_aead_dma_in_callback()
1710 for (i = 0; i < (authsize / 4); i++) in sa_aead_dma_in_callback()
1714 scatterwalk_map_and_copy(&mdptr[4], req->dst, start, authsize, in sa_aead_dma_in_callback()
1717 start -= authsize; in sa_aead_dma_in_callback()
1718 scatterwalk_map_and_copy(auth_tag, req->src, start, authsize, in sa_aead_dma_in_callback()
1721 err = memcmp(&mdptr[4], auth_tag, authsize) ? -EBADMSG : 0; in sa_aead_dma_in_callback()
1875 static int sa_aead_setauthsize(struct crypto_aead *tfm, unsigned int authsize) in sa_aead_setauthsize() argument
1879 return crypto_aead_setauthsize(ctx->fallback.aead, authsize); in sa_aead_setauthsize()