Lines Matching refs:fctx
38 struct flexi_crypto_context *fctx;
46 fctx = nctx->u.fctx;
47 flags.fu = be64_to_cpu(fctx->flags.f);
49 fctx->flags.f = cpu_to_be64(flags.fu);
52 memset(&fctx->crypto, 0, sizeof(fctx->crypto));
53 memcpy(fctx->crypto.u.key, key, keylen);
62 struct flexi_crypto_context *fctx = nctx->u.fctx;
65 flags.fu = be64_to_cpu(fctx->flags.f);
67 fctx->flags.f = cpu_to_be64(flags.fu);
219 struct flexi_crypto_context *fctx = nctx->u.fctx;
225 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE);
253 struct flexi_crypto_context *fctx = nctx->u.fctx;
259 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE);
300 nctx->u.fctx->flags.f = 0;
315 flags = &nctx->u.fctx->flags;
347 struct flexi_crypto_context *fctx = nctx->u.fctx;
349 memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys));
350 memzero_explicit(&fctx->auth, sizeof(struct auth_keys));
363 struct flexi_crypto_context *fctx = nctx->u.fctx;
374 memcpy(fctx->crypto.iv, key + keylen, GCM_AES_SALT_SIZE);