Lines Matching defs:fallback
25 struct shash_desc fallback;
29 struct crypto_shash *fallback;
37 dctx->fallback.tfm = ctx->fallback;
38 return crypto_shash_init(&dctx->fallback);
46 return crypto_shash_update(&dctx->fallback, data, length);
53 return crypto_shash_export(&dctx->fallback, out);
61 dctx->fallback.tfm = ctx->fallback;
62 return crypto_shash_import(&dctx->fallback, in);
87 err = crypto_shash_export(&dctx->fallback, &state);
92 return crypto_shash_finup(&dctx->fallback, in, count, out);
98 err = crypto_shash_update(&dctx->fallback, in, space) ?:
99 crypto_shash_export(&dctx->fallback, &state);
148 err = crypto_shash_export(&dctx->fallback, &state);
153 return crypto_shash_finup(&dctx->fallback, in, count, out);
159 err = crypto_shash_update(&dctx->fallback, in, space) ?:
160 crypto_shash_export(&dctx->fallback, &state);
200 /* Allocate a fallback and abort if it failed. */
209 ctx->fallback = fallback_tfm;
218 crypto_free_shash(ctx->fallback);