Lines Matching refs:msc
312 struct max_sync_cop *msc; in nx_of_update_msc() local
315 msc = (struct max_sync_cop *)p->value; in nx_of_update_msc()
327 trip = msc->trip; in nx_of_update_msc()
331 i < msc->triplets; in nx_of_update_msc()
333 if (msc->fc > NX_MAX_FC || msc->mode > NX_MAX_MODE) { in nx_of_update_msc()
335 "combo: %d/%d (ignored)\n", msc->fc, in nx_of_update_msc()
336 msc->mode); in nx_of_update_msc()
343 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
345 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
349 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
351 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
355 if (msc->fc == NX_FC_AES) { in nx_of_update_msc()
356 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
358 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
360 } else if (msc->fc == NX_FC_AES_HMAC || in nx_of_update_msc()
361 msc->fc == NX_FC_SHA) { in nx_of_update_msc()
362 props->ap[msc->fc][msc->mode][1]. in nx_of_update_msc()
364 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
369 ": (%u/256)\n", msc->fc); in nx_of_update_msc()
373 props->ap[msc->fc][msc->mode][2].databytelen = in nx_of_update_msc()
375 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
380 "len combo: (%u/%u)\n", msc->fc, in nx_of_update_msc()
389 msc = (struct max_sync_cop *)trip; in nx_of_update_msc()