Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HELP!!! What are the input and output of CRT?What does the "_ntl_general_rem_one_struct_build" function do? #71

Open
Cmiiii opened this issue Sep 17, 2022 · 1 comment

Comments

@Cmiiii
Copy link

Cmiiii commented Sep 17, 2022

void RingMultiplier::CRT(uint64_t* rx, ZZ* x, const long np) {
NTL_EXEC_RANGE(np, first, last);
for (long i = first; i < last; ++i) {
uint64_t* rxi = rx + (i << logN);
uint64_t pi = pVec[i];
_ntl_general_rem_one_struct* red_ss = red_ss_array[i];
for (long n = 0; n < N; ++n) {
rxi[n] = _ntl_general_rem_one_struct_apply(x[n].rep, pi, red_ss);
}
NTT(rxi, i);
}
NTL_EXEC_RANGE_END;
}

@Sai-Manish
Copy link

Hi Could you find answer for this? I am getting this error
_ntl_general_rem_one_struct_build: bad args (p)
Can you please help with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants