rdubois-crypto / FreshCryptoLib

Cryptographic Primitives for Blockchain Systems (solidity, cairo, C and rust)
MIT License
121 stars 22 forks source link

Handling Q=-G special case #56

Closed rdubois-crypto closed 7 months ago

rdubois-crypto commented 7 months ago

Using the fact that if Q=-G then H=(0,0) and uG+vQ= (u-v)G, introduce little hack for handling this special case.