Lines Matching refs:fctx
153 struct flexi_crypto_context *fctx = nctx->u.fctx; in nitrox_skcipher_exit() local
155 memzero_explicit(&fctx->crypto, sizeof(struct crypto_keys)); in nitrox_skcipher_exit()
156 memzero_explicit(&fctx->auth, sizeof(struct auth_keys)); in nitrox_skcipher_exit()
171 struct flexi_crypto_context *fctx; in nitrox_skcipher_setkey() local
184 fctx = nctx->u.fctx; in nitrox_skcipher_setkey()
185 flags = &fctx->flags; in nitrox_skcipher_setkey()
192 memcpy(fctx->crypto.u.key, key, keylen); in nitrox_skcipher_setkey()
342 struct flexi_crypto_context *fctx; in nitrox_aes_xts_setkey() local
355 fctx = nctx->u.fctx; in nitrox_aes_xts_setkey()
357 memcpy(fctx->auth.u.key2, (key + keylen), keylen); in nitrox_aes_xts_setkey()
367 struct flexi_crypto_context *fctx; in nitrox_aes_ctr_rfc3686_setkey() local
373 fctx = nctx->u.fctx; in nitrox_aes_ctr_rfc3686_setkey()
375 memcpy(fctx->crypto.iv, key + (keylen - CTR_RFC3686_NONCE_SIZE), in nitrox_aes_ctr_rfc3686_setkey()