Remove unnecessary function from interface

This commit is contained in:
Ramana Kumar 2022-10-02 23:34:57 +01:00
parent 040df7d520
commit 3c5312cbb3
No known key found for this signature in database
GPG Key ID: ED471C788B900433
2 changed files with 1 additions and 5 deletions

View File

@ -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);
}

View File

@ -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*);
/**