Closed mancabizjak closed 6 years ago
@miha-stopar There, I implemented a TODO
that was in the new crypto/groups/schnorr.go
, which was supposed to replace crypto/dlog/zp.go
. Please let me know if you prefer to rename specific function names (that still have "DLog" in their names) too.
No, no need for renaming. Structs such as DLogEqualityBTranscriptVerifier and DLogEqualityProver should have DLog in its name, because they are about dlogs (as I said in a comment, group is only a place where dlog is computed).
This PR includes refactoring that retires struct
ZpDlog
.The file
zp.go
fromcrypto/dlog
package is removed, all its references are updated to make use of structSchnorrGroup
fromcrypto/groups
package. Some variables and function names are renamed for clarity.