diff --git a/src/c_kzg_4844.c b/src/c_kzg_4844.c index 9e74007..8172ee0 100644 --- a/src/c_kzg_4844.c +++ b/src/c_kzg_4844.c @@ -44,6 +44,17 @@ (p) = NULL; \ }) +/////////////////////////////////////////////////////////////////////////////// +// Types +/////////////////////////////////////////////////////////////////////////////// + +/** + * Internal representation of a polynomial. + */ +typedef struct { + fr_t evals[FIELD_ELEMENTS_PER_BLOB]; +} Polynomial; + /////////////////////////////////////////////////////////////////////////////// // Constants /////////////////////////////////////////////////////////////////////////////// diff --git a/src/c_kzg_4844.h b/src/c_kzg_4844.h index 9ea28ec..d5a3ace 100644 --- a/src/c_kzg_4844.h +++ b/src/c_kzg_4844.h @@ -62,13 +62,6 @@ typedef blst_p1 g1_t; /**< Internal G1 group element type. */ typedef blst_p2 g2_t; /**< Internal G2 group element type. */ typedef blst_fr fr_t; /**< Internal Fr field element type. */ -/** - * Internal representation of a polynomial. - */ -typedef struct { - fr_t evals[FIELD_ELEMENTS_PER_BLOB]; -} Polynomial; - /** * An array of 32 bytes. Represents an untrusted * (potentially invalid) field element.