Lines Matching refs:ctx
1113 struct hifn_context *ctx, struct hifn_request_context *rctx,
1145 if (ctx->keysize)
1169 if (ctx->keysize != 16)
1175 if (ctx->keysize != 24)
1181 if (ctx->keysize != 32)
1187 if (ctx->keysize != 24)
1192 if (ctx->keysize != 8)
1201 nbytes, nbytes, ctx->key, ctx->keysize,
1321 struct hifn_context *ctx, struct hifn_request_context *rctx,
1365 hifn_setup_cmd_desc(dev, ctx, rctx, priv, nbytes);
1526 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm);
1528 struct hifn_device *dev = ctx->dev;
1569 err = hifn_setup_dma(dev, ctx, rctx, req->src, req->dst, req->cryptlen, req);
1587 ctx->key, ctx->keysize,
1945 struct hifn_context *ctx = crypto_skcipher_ctx(cipher);
1946 struct hifn_device *dev = ctx->dev;
1955 memcpy(ctx->key, key, len);
1956 ctx->keysize = len;
1964 struct hifn_context *ctx = crypto_skcipher_ctx(cipher);
1965 struct hifn_device *dev = ctx->dev;
1974 memcpy(ctx->key, key, len);
1975 ctx->keysize = len;
1982 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm);
1983 struct hifn_device *dev = ctx->dev;
2003 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm);
2018 if (ctx->keysize != 16 && type == ACRYPTO_TYPE_AES_128) {
2019 if (ctx->keysize == 24)
2021 else if (ctx->keysize == 32)
2073 struct hifn_context *ctx = crypto_tfm_ctx(req->base.tfm);
2074 struct hifn_device *dev = ctx->dev;
2376 struct hifn_context *ctx = crypto_skcipher_ctx(tfm);
2378 ctx->dev = ha->dev;