Lines Matching refs:msc
361 struct max_sync_cop *msc; in nx_of_update_msc() local
364 msc = (struct max_sync_cop *)p->value; in nx_of_update_msc()
376 trip = msc->trip; in nx_of_update_msc()
380 i < msc->triplets; in nx_of_update_msc()
382 if (msc->fc >= NX_MAX_FC || msc->mode >= NX_MAX_MODE) { in nx_of_update_msc()
384 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
385 msc->mode); in nx_of_update_msc()
399 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
401 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
405 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
407 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
411 if (msc->fc == NX_FC_AES) { in nx_of_update_msc()
412 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
414 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
416 } else if (msc->fc == NX_FC_AES_HMAC || in nx_of_update_msc()
417 msc->fc == NX_FC_SHA) { in nx_of_update_msc()
418 props->ap[msc->fc][msc->mode][1]. in nx_of_update_msc()
420 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
425 ": (%u/256)\n", msc->fc); in nx_of_update_msc()
429 props->ap[msc->fc][msc->mode][2].databytelen = in nx_of_update_msc()
431 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
436 "len combo: (%u/%u)\n", msc->fc, in nx_of_update_msc()
445 msc = (struct max_sync_cop *)trip; in nx_of_update_msc()