Lines Matching refs:crt
716 struct ica_rsa_modexpo_crt *crt) in zcrypt_rsa_crt() argument
725 trace_s390_zcrypt_req(crt, TP_ICARSACRT); in zcrypt_rsa_crt()
727 if (crt->outputdatalength < crt->inputdatalength) { in zcrypt_rsa_crt()
738 crt->outputdatalength = crt->inputdatalength; in zcrypt_rsa_crt()
740 rc = get_rsa_crt_fc(crt, &func_code); in zcrypt_rsa_crt()
752 if (zc->min_mod_size > crt->inputdatalength || in zcrypt_rsa_crt()
753 zc->max_mod_size < crt->inputdatalength) in zcrypt_rsa_crt()
787 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt); in zcrypt_rsa_crt()
794 trace_s390_zcrypt_rep(crt, func_code, rc, in zcrypt_rsa_crt()
1323 struct ica_rsa_modexpo_crt crt; in zcrypt_unlocked_ioctl() local
1325 if (copy_from_user(&crt, ucrt, sizeof(crt))) in zcrypt_unlocked_ioctl()
1328 rc = zcrypt_rsa_crt(perms, &crt); in zcrypt_unlocked_ioctl()
1333 rc = zcrypt_rsa_crt(perms, &crt); in zcrypt_unlocked_ioctl()
1339 return put_user(crt.outputdatalength, &ucrt->outputdatalength); in zcrypt_unlocked_ioctl()