01be5d24ab
- Ported over the BN256's G1 functionality from derohe's bh256.go file. - Updated CurePoint's toString() method: Create a copy of the object to avoid updating the values of the object when calling toString(). - Used UByteArray in GfP's marshal/unmarshal methods to fix issue with negative numbers. - Fixed an issue with how the carry is calculated in gfpMul method and added a test to confirm its correct behavior. - Used UByteArray in Lattice's multi method to avoid issues with negative numbers. - Added a test to confirm that G1 marshal and unmarshal methods work correctly. |
||
---|---|---|
.. | ||
main/kotlin/net/agorise/library/crypto | ||
test/kotlin/net/agorise/library/crypto |