blst icon indicating copy to clipboard operation
blst copied to clipboard

Add `blst_fp12` deserialization `blst_fp12_from_bendian`

Open emlowe opened this issue 2 years ago • 1 comments

blst_fp12 has a serialization function blst_bendian_from_fp12 - but was missing the corresponding deserialization function.

This PR adds blst_fp12_from_bendian for this purpose.

emlowe avatar Jun 07 '23 18:06 emlowe

Come on! It's not like we don't know it's missing :-) :-) :-) But on a serious note, there is a reason for why deserialization is not implemented. Because there is no specification and we don't want to give an impression that there is. Well, maybe there is now, maybe even a draft, in which case it would be more appropriate to simply provide a reference. Serialization was added to aid the cross-checking with other libraries, but not for communications, which would require a specification.

dot-asm avatar Jun 07 '23 19:06 dot-asm