Remove unused Polynomial typedef from interface
This commit is contained in:
parent
1ff5eed9d0
commit
27f0d7fb25
|
@ -752,6 +752,8 @@ static bool pairings_verify(const g1_t *a1, const g2_t *a2, const g1_t *b1, cons
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
typedef BLSFieldElement Polynomial[FIELD_ELEMENTS_PER_BLOB];
|
||||||
|
|
||||||
void bytes_from_g1(uint8_t out[48], const g1_t *in) {
|
void bytes_from_g1(uint8_t out[48], const g1_t *in) {
|
||||||
blst_p1_compress(out, in);
|
blst_p1_compress(out, in);
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,8 +48,7 @@ typedef blst_fr fr_t; /**< Internal Fr field element type */
|
||||||
typedef g1_t KZGCommitment;
|
typedef g1_t KZGCommitment;
|
||||||
typedef g1_t KZGProof;
|
typedef g1_t KZGProof;
|
||||||
typedef fr_t BLSFieldElement;
|
typedef fr_t BLSFieldElement;
|
||||||
typedef uint8_t Blob[BYTES_PER_FIELD_ELEMENT * FIELD_ELEMENTS_PER_BLOB];
|
typedef uint8_t Blob[BYTES_PER_BLOB];
|
||||||
typedef BLSFieldElement Polynomial[FIELD_ELEMENTS_PER_BLOB];
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The common return type for all routines in which something can go wrong.
|
* The common return type for all routines in which something can go wrong.
|
||||||
|
|
Loading…
Reference in New Issue