Lines Matching refs:fctx
39 struct flexi_crypto_context *fctx;
47 fctx = nctx->u.fctx;
48 flags.f = be64_to_cpu(fctx->flags.f);
50 fctx->flags.f = cpu_to_be64(flags.f);
53 memset(&fctx->crypto, 0, sizeof(fctx->crypto));
54 memcpy(fctx->crypto.u.key, key, keylen);
63 struct flexi_crypto_context *fctx = nctx->u.fctx;
66 flags.f = be64_to_cpu(fctx->flags.f);
68 fctx->flags.f = cpu_to_be64(flags.f);
220 struct flexi_crypto_context *fctx = nctx->u.fctx;
226 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE);
254 struct flexi_crypto_context *fctx = nctx->u.fctx;
260 memcpy(fctx->crypto.iv, areq->iv, GCM_AES_SALT_SIZE);
301 nctx->u.fctx->flags.f = 0;
316 flags = &nctx->u.fctx->flags;
348 struct flexi_crypto_context *fctx = nctx->u.fctx;
350 memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys));
351 memzero_explicit(&fctx->auth, sizeof(struct auth_keys));
364 struct flexi_crypto_context *fctx = nctx->u.fctx;
375 memcpy(fctx->crypto.iv, key + keylen, GCM_AES_SALT_SIZE);