Lines Matching defs:dctx
33 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
36 dctx->fallback.tfm = ctx->fallback;
37 return crypto_shash_init(&dctx->fallback);
43 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
45 return crypto_shash_update(&dctx->fallback, data, length);
50 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
52 return crypto_shash_export(&dctx->fallback, out);
57 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
60 dctx->fallback.tfm = ctx->fallback;
61 return crypto_shash_import(&dctx->fallback, in);
80 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
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);
141 struct padlock_sha_desc *dctx = shash_desc_ctx(desc);
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);