Lines Matching refs:poly
21 struct crypto_ahash_spawn poly;
27 struct crypto_ahash *poly;
65 struct poly_req poly;
174 struct poly_req *preq = &rctx->u.poly;
183 ahash_request_set_tfm(&preq->req, ctx->poly);
203 struct poly_req *preq = &rctx->u.poly;
213 ahash_request_set_tfm(&preq->req, ctx->poly);
232 struct poly_req *preq = &rctx->u.poly;
243 ahash_request_set_tfm(&preq->req, ctx->poly);
262 struct poly_req *preq = &rctx->u.poly;
272 ahash_request_set_tfm(&preq->req, ctx->poly);
291 struct poly_req *preq = &rctx->u.poly;
296 ahash_request_set_tfm(&preq->req, ctx->poly);
315 struct poly_req *preq = &rctx->u.poly;
322 ahash_request_set_tfm(&preq->req, ctx->poly);
341 struct poly_req *preq = &rctx->u.poly;
346 ahash_request_set_tfm(&preq->req, ctx->poly);
506 struct crypto_ahash *poly;
509 poly = crypto_spawn_ahash(&ictx->poly);
510 if (IS_ERR(poly))
511 return PTR_ERR(poly);
515 crypto_free_ahash(poly);
520 ctx->poly = poly;
533 crypto_ahash_reqsize(poly)));
542 crypto_free_ahash(ctx->poly);
551 crypto_drop_ahash(&ctx->poly);
562 struct hash_alg_common *poly;
584 err = crypto_grab_ahash(&ctx->poly, aead_crypto_instance(inst),
588 poly = crypto_spawn_ahash_alg(&ctx->poly);
591 if (poly->digestsize != POLY1305_DIGEST_SIZE)
603 poly->base.cra_name) >= CRYPTO_MAX_ALG_NAME)
607 poly->base.cra_driver_name) >= CRYPTO_MAX_ALG_NAME)
611 poly->base.cra_priority) / 2;
614 poly->base.cra_alignmask;