Lines Matching refs:mex
639 struct ica_rsa_modexpo *mex) in zcrypt_rsa_modexpo() argument
649 trace_s390_zcrypt_req(mex, TP_ICARSAMODEXPO); in zcrypt_rsa_modexpo()
653 if (mex->outputdatalength < mex->inputdatalength) { in zcrypt_rsa_modexpo()
664 mex->outputdatalength = mex->inputdatalength; in zcrypt_rsa_modexpo()
666 rc = get_rsa_modex_fc(mex, &func_code); in zcrypt_rsa_modexpo()
679 if (zc->min_mod_size > mex->inputdatalength || in zcrypt_rsa_modexpo()
680 zc->max_mod_size < mex->inputdatalength) in zcrypt_rsa_modexpo()
724 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo()
736 trace_s390_zcrypt_rep(mex, func_code, rc, in zcrypt_rsa_modexpo()
1467 struct ica_rsa_modexpo mex; in icarsamodexpo_ioctl() local
1471 if (copy_from_user(&mex, umex, sizeof(mex))) in icarsamodexpo_ioctl()
1475 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1481 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1489 return put_user(mex.outputdatalength, &umex->outputdatalength); in icarsamodexpo_ioctl()