POLY
static int poly_encode_10_bits(const POLY *p, WPACKET *pkt)
static int poly_decode_10_bits(POLY *p, PACKET *pkt)
static int poly_encode_signed_4(const POLY *p, WPACKET *pkt)
static int poly_decode_signed_4(POLY *p, PACKET *pkt)
typedef int(ENCODE_FN)(const POLY *s, WPACKET *pkt);
typedef int(DECODE_FN)(POLY *s, PACKET *pkt);
static int poly_encode_signed_2(const POLY *p, WPACKET *pkt)
static int poly_decode_signed_2(POLY *p, PACKET *pkt)
static int poly_encode_signed_two_to_power_12(const POLY *p, WPACKET *pkt)
static int poly_decode_signed_two_to_power_12(POLY *p, PACKET *pkt)
static int poly_encode_signed_two_to_power_19(const POLY *p, WPACKET *pkt)
static int poly_decode_signed_two_to_power_19(POLY *p, PACKET *pkt)
static int poly_encode_4_bits(const POLY *p, WPACKET *pkt)
static int poly_encode_signed_two_to_power_17(const POLY *p, WPACKET *pkt)
static int poly_decode_signed_two_to_power_17(POLY *p, PACKET *pkt)
const POLY *t1 = key->t1.poly;
const POLY *t0 = key->t0.poly;
POLY *p = hint->poly;
POLY *p = hint->poly, *end = p + k;
static int poly_encode_6_bits(const POLY *p, WPACKET *pkt)
int ossl_ml_dsa_poly_decode_expand_mask(POLY *out,
POLY *poly;
POLY *polys;
POLY *polys = NULL;
int ossl_ml_dsa_poly_decode_expand_mask(POLY *out,
int ossl_ml_dsa_poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len,
int ossl_ml_dsa_poly_sample_in_ball(POLY *out_c, const uint8_t *seed, int seed_len,
void ossl_ml_dsa_poly_ntt(POLY *s);
void ossl_ml_dsa_poly_ntt_inverse(POLY *s);
void ossl_ml_dsa_poly_ntt_mult(const POLY *lhs, const POLY *rhs, POLY *out);
POLY *poly = a->m_poly;
POLY product;
POLY *m_poly;
matrix_init(MATRIX *m, POLY *polys, size_t k, size_t l)
void ossl_ml_dsa_poly_ntt_mult(const POLY *lhs, const POLY *rhs, POLY *out)
void ossl_ml_dsa_poly_ntt(POLY *p)
void ossl_ml_dsa_poly_ntt_inverse(POLY *p)
poly_power2_round(const POLY *t, POLY *t1, POLY *t0)
poly_scale_power2_round(POLY *in, POLY *out)
poly_high_bits(const POLY *in, uint32_t gamma2, POLY *out)
poly_low_bits(const POLY *in, uint32_t gamma2, POLY *out)
poly_make_hint(const POLY *ct0, const POLY *cs2, const POLY *w, uint32_t gamma2,
POLY *out)
poly_use_hint(const POLY *h, const POLY *r, uint32_t gamma2, POLY *out)
poly_max(const POLY *p, uint32_t *mx)
poly_max_signed(const POLY *p, uint32_t *mx)
poly_zero(POLY *p)
poly_add(const POLY *lhs, const POLY *rhs, POLY *out)
poly_sub(const POLY *lhs, const POLY *rhs, POLY *out)
poly_equal(const POLY *a, const POLY *b)
poly_ntt(POLY *p)
poly_sample_in_ball_ntt(POLY *out, const uint8_t *seed, int seed_len,
poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len,
const uint8_t *seed, size_t seed_len, POLY *out)
const uint8_t *seed, size_t seed_len, POLY *out)
POLY *poly = out->m_poly;
int ossl_ml_dsa_poly_expand_mask(POLY *out, const uint8_t *seed, size_t seed_len,
int ossl_ml_dsa_poly_sample_in_ball(POLY *out_c, const uint8_t *seed, int seed_len,
POLY *polys = NULL, *p, *c_ntt;
p = (POLY *)(w1_encoded + w1_encoded_len);
POLY *hint, uint32_t k, POLY *z, uint32_t l,
POLY *polys = NULL, *p, *c_ntt;
p = (POLY *)(w1_encoded + w1_encoded_len);
vector_mult_scalar(const VECTOR *lhs, const POLY *rhs, VECTOR *out)
POLY *poly;
static ossl_inline ossl_unused void vector_init(VECTOR *v, POLY *polys, size_t num_polys)
v->poly = OPENSSL_malloc(num_polys * sizeof(POLY));
odd[0] = POLY; /* CRC-32C polynomial */