Lines Matching defs:base

142 			container_of(areq, struct aead_request, base));
362 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
374 /* allocate space for base edesc, link tables and IV */
1120 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
1194 /* allocate space for base edesc, link tables and IV */
1288 base);
1309 base);
1342 caam_req->ctx = &req->base;
1346 !(ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG)) {
1370 caam_req->ctx = &req->base;
1374 !(ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG)) {
1497 req->base.flags,
1498 req->base.complete,
1499 req->base.data);
1514 caam_req->ctx = &req->base;
1518 !(ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG)) {
1547 req->base.flags,
1548 req->base.complete,
1549 req->base.data);
1564 caam_req->ctx = &req->base;
1568 !(ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG)) {
1614 const char *tfm_name = crypto_tfm_alg_name(&tfm->base);
1677 .base = {
1693 .base = {
1709 .base = {
1725 .base = {
1743 .base = {
1766 .base = {
1783 .base = {
1802 .base = {
1821 .base = {
1841 .base = {
1861 .base = {
1882 .base = {
1905 .base = {
1926 .base = {
1949 .base = {
1970 .base = {
1993 .base = {
2014 .base = {
2038 .base = {
2059 .base = {
2083 .base = {
2104 .base = {
2128 .base = {
2149 .base = {
2172 .base = {
2194 .base = {
2218 .base = {
2240 .base = {
2264 .base = {
2286 .base = {
2310 .base = {
2332 .base = {
2356 .base = {
2378 .base = {
2402 .base = {
2423 .base = {
2446 .base = {
2467 .base = {
2490 .base = {
2511 .base = {
2535 .base = {
2556 .base = {
2580 .base = {
2601 .base = {
2625 .base = {
2646 .base = {
2670 .base = {
2694 .base = {
2719 .base = {
2743 .base = {
2768 .base = {
2792 .base = {
2817 .base = {
2841 .base = {
2866 .base = {
2890 .base = {
2915 .base = {
2938 .base = {
2961 .base = {
2985 .base = {
3014 alg->base.cra_module = THIS_MODULE;
3015 alg->base.cra_priority = CAAM_CRA_PRIORITY;
3016 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
3017 alg->base.cra_flags |= (CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY |
3028 alg->base.cra_module = THIS_MODULE;
3029 alg->base.cra_priority = CAAM_CRA_PRIORITY;
3030 alg->base.cra_ctxsize = sizeof(struct caam_ctx) + crypto_dma_padding();
3031 alg->base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_ALLOCATES_MEMORY |
3314 unsigned int blocksize = crypto_tfm_alg_blocksize(&ahash->base);
3537 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3547 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1);
3571 /* allocate space for base edesc and link tables */
3623 req_ctx->ctx = &req->base;
3629 req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
3656 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3665 /* allocate space for base edesc and link tables */
3705 req_ctx->ctx = &req->base;
3710 (ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
3727 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3754 /* allocate space for base edesc and link tables */
3799 req_ctx->ctx = &req->base;
3804 (ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
3821 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3847 /* allocate space for base edesc and link tables */
3895 req_ctx->ctx = &req->base;
3899 (ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
3916 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3924 /* allocate space for base edesc and link tables */
3967 req_ctx->ctx = &req->base;
3972 (ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
3989 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
3999 *next_buflen = in_len & (crypto_tfm_alg_blocksize(&ahash->base) - 1);
4023 /* allocate space for base edesc and link tables */
4073 req_ctx->ctx = &req->base;
4079 req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
4110 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
4136 /* allocate space for base edesc and link tables */
4184 req_ctx->ctx = &req->base;
4188 !(ret == -EBUSY && req->base.flags & CRYPTO_TFM_REQ_MAY_BACKLOG))
4206 gfp_t flags = (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ?
4216 *next_buflen = req->nbytes & (crypto_tfm_alg_blocksize(&ahash->base) -
4241 /* allocate space for base edesc and link tables */
4295 req_ctx->ctx = &req->base;
4300 !(ret == -EBUSY && req->base.flags &
4554 struct crypto_alg *base = tfm->__crt_alg;
4556 container_of(base, struct hash_alg_common, base);
4642 alg = &halg->halg.base;
5275 t_alg->skcipher.base.cra_driver_name, err);
5325 t_alg->aead.base.cra_driver_name, err);
5361 t_alg->ahash_alg.halg.base.cra_driver_name,
5380 t_alg->ahash_alg.halg.base.cra_driver_name,