diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-10-31 18:12:54 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-10-31 18:12:54 +0100 |
commit | 783d07b4765aabee529f889b55f4fb5a27efaa44 (patch) | |
tree | 7d83bb5ae4035f304e476d0eeab0d261ee2f1980 /src/include/taler_crypto_lib.h | |
parent | b1197c16a4f1034cd4d46902f6a20327ac7a52c4 (diff) | |
download | exchange-783d07b4765aabee529f889b55f4fb5a27efaa44.tar.xz |
consistently distinguish blinded/unblinded denomination sigs
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r-- | src/include/taler_crypto_lib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 69acfa0b3..f63b7dcae 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -773,6 +773,19 @@ TALER_denom_sig_cmp (const struct TALER_DenominationSignature *sig1, /** + * Compare two blinded denomination signatures. + * + * @param sig1 first signature + * @param sig2 second signature + * @return 0 if the keys are equal, otherwise -1 or 1 + */ +int +TALER_blinded_denom_sig_cmp ( + const struct TALER_BlindedDenominationSignature *sig1, + const struct TALER_BlindedDenominationSignature *sig2); + + +/** * Obtain denomination public key from a denomination private key. * * @param denom_priv private key to convert |