diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-16 14:39:27 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-16 14:44:32 +0100 |
commit | ec522a445a2a00e9000c937e61940c7ac9c4b79d (patch) | |
tree | 297171853aeccb4e0ce22a7c1b4a25a2df0e2f46 /src/include | |
parent | 6bfc96f4cefceb5735e3bbccbe8f2e0fa6f51b6d (diff) | |
download | exchange-ec522a445a2a00e9000c937e61940c7ac9c4b79d.tar.xz |
fix #8071
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_crypto_lib.h | 30 | ||||
-rw-r--r-- | src/include/taler_pq_lib.h | 4 | ||||
-rw-r--r-- | src/include/taler_util.h | 5 |
3 files changed, 22 insertions, 17 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h index 9e074a0c4..b872af08d 100644 --- a/src/include/taler_crypto_lib.h +++ b/src/include/taler_crypto_lib.h @@ -1363,7 +1363,7 @@ TALER_denom_ewv_rsa_singleton (void); * @param bi_src blinding input values to copy */ void -TALER_denom_ewv_deep_copy ( +TALER_denom_ewv_copy ( struct TALER_ExchangeWithdrawValues *bi_dst, const struct TALER_ExchangeWithdrawValues *bi_src); @@ -1559,8 +1559,8 @@ TALER_denom_pub_hash (const struct TALER_DenominationPublicKey *denom_pub, * @param denom_src public key to copy */ void -TALER_denom_pub_deep_copy (struct TALER_DenominationPublicKey *denom_dst, - const struct TALER_DenominationPublicKey *denom_src); +TALER_denom_pub_copy (struct TALER_DenominationPublicKey *denom_dst, + const struct TALER_DenominationPublicKey *denom_src); /** @@ -1571,8 +1571,8 @@ TALER_denom_pub_deep_copy (struct TALER_DenominationPublicKey *denom_dst, * @param denom_src public key to copy */ void -TALER_denom_sig_deep_copy (struct TALER_DenominationSignature *denom_dst, - const struct TALER_DenominationSignature *denom_src); +TALER_denom_sig_copy (struct TALER_DenominationSignature *denom_dst, + const struct TALER_DenominationSignature *denom_src); /** @@ -1583,7 +1583,7 @@ TALER_denom_sig_deep_copy (struct TALER_DenominationSignature *denom_dst, * @param denom_src public key to copy */ void -TALER_blinded_denom_sig_deep_copy ( +TALER_blinded_denom_sig_copy ( struct TALER_BlindedDenominationSignature *denom_dst, const struct TALER_BlindedDenominationSignature *denom_src); @@ -2804,15 +2804,15 @@ TALER_CRYPTO_helper_esign_sign_ ( * @return the error code (or #TALER_EC_NONE on success) */ #define TALER_CRYPTO_helper_esign_sign(esh,ps,epub,esig) ( \ - /* check size is set correctly */ \ - GNUNET_assert (ntohl ((ps)->purpose.size) == sizeof (*ps)), \ - /* check 'ps' begins with the purpose */ \ - GNUNET_static_assert (((void*) (ps)) == \ - ((void*) &(ps)->purpose)), \ - TALER_CRYPTO_helper_esign_sign_ (esh, \ - &(ps)->purpose, \ - epub, \ - esig) ) + /* check size is set correctly */ \ + GNUNET_assert (ntohl ((ps)->purpose.size) == sizeof (*ps)), \ + /* check 'ps' begins with the purpose */ \ + GNUNET_static_assert (((void*) (ps)) == \ + ((void*) &(ps)->purpose)), \ + TALER_CRYPTO_helper_esign_sign_ (esh, \ + &(ps)->purpose, \ + epub, \ + esig) ) /** diff --git a/src/include/taler_pq_lib.h b/src/include/taler_pq_lib.h index cf9f7c02f..6fae8562a 100644 --- a/src/include/taler_pq_lib.h +++ b/src/include/taler_pq_lib.h @@ -30,6 +30,10 @@ #include <gnunet/gnunet_pq_lib.h> #include "taler_util.h" +/** + * API version. Bump on every change. + */ +#define TALER_PQ_VERSION 0x09040000 /** * Generate query parameter (as record tuple) for an amount, consisting diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 7d5542a1b..e895c3445 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -1,6 +1,6 @@ /* This file is part of TALER - Copyright (C) 2014-2023 Taler Systems SA + Copyright (C) 2014-2024 Taler Systems SA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -17,6 +17,7 @@ * @file include/taler_util.h * @brief Interface for common utility functions * @author Sree Harsha Totakura <sreeharsha@totakura.in> + * @author Christian Grothoff */ #ifndef TALER_UTIL_H #define TALER_UTIL_H @@ -33,7 +34,7 @@ * Version of the Taler API, in hex. * Thus 0.8.4-1 = 0x00080401. */ -#define TALER_API_VERSION 0x00090200 +#define TALER_API_VERSION 0x00090400 /** * Stringify operator. |