Add Rust CLSAG verification

Marked experimental, not guaranteed to match Monero yet
This commit is contained in:
Luke Parker
2022-05-13 20:26:29 -04:00
parent bb840da44d
commit 3533e66c7f
6 changed files with 181 additions and 95 deletions

View File

@@ -31,10 +31,6 @@ extern "C" {
serialized_len: usize, serialized: *const u8,
commitments_len: u8, commitments: *const [u8; 32]
) -> bool;
pub(crate) fn c_verify_clsag(
serialized_len: usize, serialized: *const u8, I: *const u8,
ring_size: u8, ring: *const u8, msg: *const u8, pseudo_out: *const u8
) -> bool;
}
lazy_static! {