Move Polynomial type from header to impl (#244)
This commit is contained in:
parent
c448e9bfcc
commit
9fbe75f392
|
@ -44,6 +44,17 @@
|
|||
(p) = NULL; \
|
||||
})
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Types
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* Internal representation of a polynomial.
|
||||
*/
|
||||
typedef struct {
|
||||
fr_t evals[FIELD_ELEMENTS_PER_BLOB];
|
||||
} Polynomial;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Constants
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue