Last active
May 9, 2018 07:03
-
-
Save narodnik/0e355e119b905b620057e7ef80c9aef9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef std::vector<point_list> key_rings; | |
typedef std::vector<ec_secret> secret_list; | |
typedef std::vector<secret_list> s_values_type; | |
struct ring_signature | |
{ | |
ec_secret e; | |
s_value_type s; | |
}; | |
BC_API bool sign( | |
ring_signature& out, | |
const secret_list& secrets, | |
const key_rings& rings, | |
const data_slice message); | |
BC_API bool verify( | |
const key_rings& rings, | |
const data_slice message, | |
const ring_signature& signature); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment