diff --git a/min-src/c_kzg_4844.c b/min-src/c_kzg_4844.c index 3473cdf..fef20d7 100644 --- a/min-src/c_kzg_4844.c +++ b/min-src/c_kzg_4844.c @@ -757,10 +757,6 @@ void bytes_from_g1(uint8_t out[48], const g1_t *in) { blst_p1_compress(out, in); } -void BLSFieldElement_from_uint64s(BLSFieldElement *out, const uint64_t in[4]) { - blst_fr_from_uint64(out, in); -} - void uint64s_from_BLSFieldElement(uint64_t out[4], const BLSFieldElement *in) { blst_uint64_from_fr(out, in); } diff --git a/min-src/c_kzg_4844.h b/min-src/c_kzg_4844.h index 3ee2208..f5837de 100644 --- a/min-src/c_kzg_4844.h +++ b/min-src/c_kzg_4844.h @@ -46,8 +46,8 @@ void bytes_from_g1(uint8_t out[48], const g1_t*); * BLSFieldElements are communicated directly to/from clients, * so we need to expose the functions for translating between this * type and uint256. BLST represents uint256 as uint64[4]. + * For conversion to BLSFieldElement use bytes_to_bls_field. */ -void BLSFieldElement_from_uint64s(BLSFieldElement *out, const uint64_t[4]); void uint64s_from_BLSFieldElement(uint64_t out[4], const BLSFieldElement*); /**