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()
725 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo()
737 trace_s390_zcrypt_rep(mex, func_code, rc, in zcrypt_rsa_modexpo()
1425 struct ica_rsa_modexpo mex; in icarsamodexpo_ioctl() local
1429 if (copy_from_user(&mex, umex, sizeof(mex))) in icarsamodexpo_ioctl()
1433 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1440 rc = zcrypt_rsa_modexpo(perms, &tr, &mex); in icarsamodexpo_ioctl()
1450 return put_user(mex.outputdatalength, &umex->outputdatalength); in icarsamodexpo_ioctl()