We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
g(&self)
In path sdk/lib/spiral-rs/src/params.rs, there is a function g:
sdk/lib/spiral-rs/src/params.rs
g
pub fn g(&self) -> usize { let num_bits_to_gen = self.t_gsw * self.db_dim_2 + self.num_expanded(); log2_ceil_usize(num_bits_to_gen) }
According to the paper, this most likely corresponds to page-18, $r_1$ in equation (4.1).
In the paper, $r_1 = 1 + v_1$. However, the calculations here in the code look much more complicated: $$ceil( \log_2( t_{GSW} * v_2 + 2^{v_1}))$$.
This is inconsistent with the paper. Please tell me what the function g(&self) here is calculating and which part of the paper it corresponds to.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In path
sdk/lib/spiral-rs/src/params.rs
, there is a functiong
:According to the paper, this most likely corresponds to page-18,$r_1$ in equation (4.1).
In the paper,$r_1 = 1 + v_1$ . However, the calculations here in the code look much more complicated: $$ceil( \log_2( t_{GSW} * v_2 + 2^{v_1}))$$ .
This is inconsistent with the paper. Please tell me what the function
g(&self)
here is calculating and which part of the paper it corresponds to.The text was updated successfully, but these errors were encountered: