Lines Matching refs:poly_mul
1387 static void poly_mul(struct poly *r, const struct poly *a, in poly_mul() function
1669 poly_mul(&tmp, &a, b); in poly_invert()
1671 poly_mul(b, b, &tmp); in poly_invert()
2017 poly_mul(&pfg_phi1, &f, &pg_phi1); in HRSS_generate_key()
2022 poly_mul(&pub->ph, &pfg_phi1_inverse, &pg_phi1); in HRSS_generate_key()
2023 poly_mul(&pub->ph, &pub->ph, &pg_phi1); in HRSS_generate_key()
2026 poly_mul(&priv->ph_inverse, &pfg_phi1_inverse, &f); in HRSS_generate_key()
2027 poly_mul(&priv->ph_inverse, &priv->ph_inverse, &f); in HRSS_generate_key()
2045 poly_mul(&prh_plus_m, &r, &pub->ph); in HRSS_encap()
2115 poly_mul(&cf, &c, &f); in HRSS_decap()
2128 poly_mul(&r, &r, &priv->ph_inverse); in HRSS_decap()