Lines Matching defs:authsize

57 	unsigned int authsize; /* Actual (reduced?) size of the MAC/ICv */
229 ctx->authsize) != 0) {
231 ctx->authsize, ctx->cipher_mode);
244 skip, (skip + ctx->authsize),
670 unsigned int authsize)
676 if (authsize == 0 ||
677 authsize > crypto_aead_maxauthsize(authenc)) {
681 ctx->authsize = authsize;
682 dev_dbg(dev, "authlen=%d\n", ctx->authsize);
688 unsigned int authsize)
690 switch (authsize) {
699 return cc_aead_setauthsize(authenc, authsize);
703 unsigned int authsize)
705 switch (authsize) {
718 return cc_aead_setauthsize(authenc, authsize);
887 set_dout_dlli(&desc[idx], req_ctx->icv_dma_addr, ctx->authsize,
904 ctx->authsize, NS_BIT, 1);
1319 (req->cryptlen - ctx->authsize) : req->cryptlen;
1322 req->cryptlen < ctx->authsize)
1494 set_dout_dlli(&desc[idx], req_ctx->mac_buf_dma_addr, ctx->authsize,
1521 ctx->authsize, NS_BIT);
1522 set_dout_dlli(&desc[idx], mac_result, ctx->authsize, NS_BIT, 1);
1543 unsigned int m = ctx->authsize; /* This is M' of RFC 3610. */
1550 (req->cryptlen - ctx->authsize);
1784 set_dout_dlli(&desc[idx], mac_result, ctx->authsize, NS_BIT, 1);
1839 (req->cryptlen - ctx->authsize);
1842 dev_dbg(dev, "%s() cryptlen = %d, req_ctx->assoclen = %d ctx->authsize = %d\n",
1843 __func__, cryptlen, req_ctx->assoclen, ctx->authsize);
1923 areq_ctx->req_authsize = ctx->authsize;
2142 unsigned int authsize)
2144 switch (authsize) {
2157 return cc_aead_setauthsize(authenc, authsize);
2161 unsigned int authsize)
2166 dev_dbg(dev, "authsize %d\n", authsize);
2168 switch (authsize) {
2177 return cc_aead_setauthsize(authenc, authsize);
2181 unsigned int authsize)
2186 dev_dbg(dev, "authsize %d\n", authsize);
2188 if (authsize != 16)
2191 return cc_aead_setauthsize(authenc, authsize);