Remove unnecessary function from interface
This commit is contained in:
parent
040df7d520
commit
3c5312cbb3
|
@ -757,10 +757,6 @@ void bytes_from_g1(uint8_t out[48], const g1_t *in) {
|
||||||
blst_p1_compress(out, 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) {
|
void uint64s_from_BLSFieldElement(uint64_t out[4], const BLSFieldElement *in) {
|
||||||
blst_uint64_from_fr(out, in);
|
blst_uint64_from_fr(out, in);
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,8 +46,8 @@ void bytes_from_g1(uint8_t out[48], const g1_t*);
|
||||||
* BLSFieldElements are communicated directly to/from clients,
|
* BLSFieldElements are communicated directly to/from clients,
|
||||||
* so we need to expose the functions for translating between this
|
* so we need to expose the functions for translating between this
|
||||||
* type and uint256. BLST represents uint256 as uint64[4].
|
* 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*);
|
void uint64s_from_BLSFieldElement(uint64_t out[4], const BLSFieldElement*);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue