Lines Matching refs:msc
374 struct max_sync_cop *msc; in nx_of_update_msc() local
377 msc = (struct max_sync_cop *)p->value; in nx_of_update_msc()
389 trip = msc->trip; in nx_of_update_msc()
393 i < msc->triplets; in nx_of_update_msc()
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()
398 msc->mode); 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()
451 msc = (struct max_sync_cop *)trip; in nx_of_update_msc()