Lines Matching refs:fallback
24 struct shash_desc fallback;
28 struct crypto_shash *fallback;
36 dctx->fallback.tfm = ctx->fallback;
37 return crypto_shash_init(&dctx->fallback);
45 return crypto_shash_update(&dctx->fallback, data, length);
52 return crypto_shash_export(&dctx->fallback, out);
60 dctx->fallback.tfm = ctx->fallback;
61 return crypto_shash_import(&dctx->fallback, in);
86 err = crypto_shash_export(&dctx->fallback, &state);
91 return crypto_shash_finup(&dctx->fallback, in, count, out);
97 err = crypto_shash_update(&dctx->fallback, in, space) ?:
98 crypto_shash_export(&dctx->fallback, &state);
147 err = crypto_shash_export(&dctx->fallback, &state);
152 return crypto_shash_finup(&dctx->fallback, in, count, out);
158 err = crypto_shash_update(&dctx->fallback, in, space) ?:
159 crypto_shash_export(&dctx->fallback, &state);
199 /* Allocate a fallback and abort if it failed. */
208 ctx->fallback = fallback_tfm;
217 crypto_free_shash(ctx->fallback);