Lines Matching refs:fctx
80 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_skcipher_exit() local
82 memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys)); in nitrox_skcipher_exit()
83 memzero_explicit(&fctx->auth, sizeof(struct auth_keys)); in nitrox_skcipher_exit()
98 struct flexi_crypto_context *fctx; in nitrox_skcipher_setkey() local
111 fctx = nctx->u.fctx; in nitrox_skcipher_setkey()
112 flags = &fctx->flags; in nitrox_skcipher_setkey()
119 memcpy(fctx->crypto.u.key, key, keylen); in nitrox_skcipher_setkey()
279 struct flexi_crypto_context *fctx; in nitrox_aes_xts_setkey() local
294 fctx = nctx->u.fctx; in nitrox_aes_xts_setkey()
296 memcpy(fctx->auth.u.key2, (key + keylen), keylen); in nitrox_aes_xts_setkey()
306 struct flexi_crypto_context *fctx; in nitrox_aes_ctr_rfc3686_setkey() local
312 fctx = nctx->u.fctx; in nitrox_aes_ctr_rfc3686_setkey()
314 memcpy(fctx->crypto.iv, key + (keylen - CTR_RFC3686_NONCE_SIZE), in nitrox_aes_ctr_rfc3686_setkey()