Lines Matching defs:dctx
34 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
37 dctx->fallback.tfm = ctx->fallback;
38 return crypto_shash_init(&dctx->fallback);
44 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
46 return crypto_shash_update(&dctx->fallback, data, length);
51 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
53 return crypto_shash_export(&dctx->fallback, out);
58 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
61 dctx->fallback.tfm = ctx->fallback;
62 return crypto_shash_import(&dctx->fallback, in);
81 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
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);
142 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
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);