mirror of
https://github.com/saymrwulf/pqc-accelerate.git
synced 2026-05-14 20:48:07 +00:00
21 lines
611 B
C
21 lines
611 B
C
#ifndef TEST_CASE_DILITHIUM_H
|
|
#define TEST_CASE_DILITHIUM_H
|
|
|
|
#include "ntt.h"
|
|
|
|
// Length must be DILITHIUM_N (256)
|
|
static const coeff_t input1_vals[DILITHIUM_N] = {
|
|
// TODO: fill with 256 coefficients of polynomial a (mod 8380417)
|
|
// e.g. generated by a software reference polymult
|
|
};
|
|
|
|
static const coeff_t input2_vals[DILITHIUM_N] = {
|
|
// TODO: 256 coefficients of polynomial b
|
|
};
|
|
|
|
static const coeff_t output_vals[DILITHIUM_N] = {
|
|
// TODO: golden result c = a * b in R_q[x]/(x^256 - 1),
|
|
// reduced mod q and in the same canonical form as the HW (0..q-1)
|
|
};
|
|
|
|
#endif // TEST_CASE_DILITHIUM_H
|