Lines Matching refs:mex
632 struct ica_rsa_modexpo *mex) in zcrypt_rsa_modexpo() argument
641 trace_s390_zcrypt_req(mex, TP_ICARSAMODEXPO); in zcrypt_rsa_modexpo()
643 if (mex->outputdatalength < mex->inputdatalength) { in zcrypt_rsa_modexpo()
654 mex->outputdatalength = mex->inputdatalength; in zcrypt_rsa_modexpo()
656 rc = get_rsa_modex_fc(mex, &func_code); in zcrypt_rsa_modexpo()
668 if (zc->min_mod_size > mex->inputdatalength || in zcrypt_rsa_modexpo()
669 zc->max_mod_size < mex->inputdatalength) in zcrypt_rsa_modexpo()
703 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex); in zcrypt_rsa_modexpo()
710 trace_s390_zcrypt_rep(mex, func_code, rc, in zcrypt_rsa_modexpo()
1303 struct ica_rsa_modexpo mex; in zcrypt_unlocked_ioctl() local
1305 if (copy_from_user(&mex, umex, sizeof(mex))) in zcrypt_unlocked_ioctl()
1308 rc = zcrypt_rsa_modexpo(perms, &mex); in zcrypt_unlocked_ioctl()
1313 rc = zcrypt_rsa_modexpo(perms, &mex); in zcrypt_unlocked_ioctl()
1319 return put_user(mex.outputdatalength, &umex->outputdatalength); in zcrypt_unlocked_ioctl()