Lines Matching refs:ctx
136 struct omap_des_ctx *ctx;
257 key32 = dd->ctx->keylen / sizeof(u32);
262 __le32_to_cpu(dd->ctx->key[i]));
311 static struct omap_des_dev *omap_des_find_dev(struct omap_des_ctx *ctx)
316 if (!ctx->dd) {
322 ctx->dd = dd;
325 dd = ctx->dd;
381 struct omap_des_ctx *ctx = crypto_tfm_ctx(tfm);
382 struct omap_des_dev *dd = ctx->dd;
530 struct omap_des_ctx *ctx = crypto_skcipher_ctx(
532 struct omap_des_dev *dd = omap_des_find_dev(ctx);
573 ctx = crypto_skcipher_ctx(crypto_skcipher_reqtfm(req));
577 dd->ctx = ctx;
578 ctx->dd = dd;
587 struct omap_des_ctx *ctx = crypto_skcipher_ctx(
589 struct omap_des_dev *dd = omap_des_find_dev(ctx);
631 struct omap_des_ctx *ctx = crypto_skcipher_ctx(
646 dd = omap_des_find_dev(ctx);
660 struct omap_des_ctx *ctx = crypto_skcipher_ctx(cipher);
669 memcpy(ctx->key, key, keylen);
670 ctx->keylen = keylen;
678 struct omap_des_ctx *ctx = crypto_skcipher_ctx(cipher);
687 memcpy(ctx->key, key, keylen);
688 ctx->keylen = keylen;
720 struct omap_des_ctx *ctx = crypto_skcipher_ctx(tfm);
726 ctx->enginectx.op.prepare_request = omap_des_prepare_req;
727 ctx->enginectx.op.unprepare_request = NULL;
728 ctx->enginectx.op.do_one_request = omap_des_crypt_req;