mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-17 01:17:36 +00:00
5d115f1e1c
While Serai only needs the simple DLEq which was already present under monero, this migrates the implementation of the cross-group DLEq I maintain into Serai. This was to have full access to the ecosystem of libraries built under Serai while also ensuring support for it. The cross_group curve, which is extremely experimental, is feature flagged off. So is the built in serialization functionality, as this should be possible to make nostd once const generics are full featured, yet the implemented serialization adds the additional barrier of std::io.
452 B
452 B
Discrete Log Equality
Implementation of discrete log equality both within a group and across groups, the latter being extremely experimental, for curves implementing the ff/group APIs. This library has not undergone auditing.
The cross-group DLEq is the one described in https://web.getmonero.org/resources/research-lab/pubs/MRL-0010.pdf, augmented with a pair of Schnorr Proof of Knowledges in order to correct for a mistake present in the paper.