add num_priv_keys

This commit is contained in:
Özgür Kesim 2022-02-05 16:07:46 +01:00
parent 9a0c86d644
commit 1b2fd76f94
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

@ -2624,16 +2624,21 @@ struct TALER_AgeCommitment
* A hash of this list is the hashed commitment that goes into FDC
* calculation during the withdraw and refresh operations for new coins. That
* way, the particular age commitment becomes mandatory and bound to a coin.
**/
*/
struct TALER_AgeCommitmentPublicKeyP *pub;
/* The number of private keys, which must be at most num_pub_keys. One minus
* this number corresponds to the largest age group that is supported with
* this age commitment.
*/
size_t num_priv_keys;
/* A NULL-terminated list of private keys.
* Note that the list can be _smaller_ than the corresponding list of public
* keys! In that case, the wallet can sign off only for a subset of the age
* groups.
*/
struct TALER_AgeCommitmentPrivateKeyP *priv;
};
/*