Lines Matching refs:mex
676 struct ica_rsa_modexpo *mex) in zcrypt_rsa_modexpo() argument
686 trace_s390_zcrypt_req(mex, TP_ICARSAMODEXPO); in zcrypt_rsa_modexpo()
695 if (mex->outputdatalength < mex->inputdatalength) { in zcrypt_rsa_modexpo()
706 mex->outputdatalength = mex->inputdatalength; in zcrypt_rsa_modexpo()
708 rc = get_rsa_modex_fc(mex, &func_code); in zcrypt_rsa_modexpo()
721 if (zc->min_mod_size > mex->inputdatalength || in zcrypt_rsa_modexpo()
722 zc->max_mod_size < mex->inputdatalength) in zcrypt_rsa_modexpo()
767 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo()
779 trace_s390_zcrypt_rep(mex, func_code, rc, in zcrypt_rsa_modexpo()
1495 struct ica_rsa_modexpo mex; in icarsamodexpo_ioctl() local
1499 if (copy_from_user(&mex, umex, sizeof(mex))) in icarsamodexpo_ioctl()
1503 if (mex.inputdatalength & (1U << 31)) { in icarsamodexpo_ioctl()
1506 tr.fi.cmd = (u16)(mex.inputdatalength >> 16); in icarsamodexpo_ioctl()
1508 mex.inputdatalength &= 0x0000FFFF; in icarsamodexpo_ioctl()
1512 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1523 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1533 return put_user(mex.outputdatalength, &umex->outputdatalength); in icarsamodexpo_ioctl()