Lines Matching refs:fc
395 if (msc->fc > NX_MAX_FC || msc->mode > NX_MAX_MODE) { in nx_of_update_msc()
397 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
405 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
407 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
411 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
413 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
417 if (msc->fc == NX_FC_AES) { in nx_of_update_msc()
418 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
420 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
422 } else if (msc->fc == NX_FC_AES_HMAC || in nx_of_update_msc()
423 msc->fc == NX_FC_SHA) { in nx_of_update_msc()
424 props->ap[msc->fc][msc->mode][1]. in nx_of_update_msc()
426 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
431 ": (%u/256)\n", msc->fc); in nx_of_update_msc()
435 props->ap[msc->fc][msc->mode][2].databytelen = in nx_of_update_msc()
437 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
442 "len combo: (%u/%u)\n", msc->fc, in nx_of_update_msc()
595 static int nx_crypto_ctx_init(struct nx_crypto_ctx *nx_ctx, u32 fc, u32 mode) in nx_crypto_ctx_init() argument
629 memcpy(nx_ctx->props, nx_driver.of.ap[fc][mode], in nx_crypto_ctx_init()