From 3c5312cbb3cba37188cad6ebb01baf06097448b7 Mon Sep 17 00:00:00 2001 From: Ramana Kumar Date: Sun, 2 Oct 2022 23:34:57 +0100 Subject: [PATCH] Remove unnecessary function from interface --- min-src/c_kzg_4844.c | 4 ---- min-src/c_kzg_4844.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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*); /**