Function unsafe_hacspec_examples::ntru_prime::ntru_prime::build_poly
source · [−]Expand description
This function creates a polynomial with w many -1 or 1 and with the highest degree of h_deg. Randomness of the coefficients and positions has to be provided.