gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 02/24: rename keys


From: gnunet
Subject: [taler-exchange] 02/24: rename keys
Date: Thu, 13 Jun 2024 17:03:52 +0200

This is an automated email from the git hooks/post-receive script.

christian-blaettler pushed a commit to branch master
in repository exchange.

commit 75588f40ec9140ceb74b80e31fbf830f5341fde7
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Sat Apr 20 10:43:36 2024 +0200

    rename keys
---
 src/include/taler_crypto_lib.h | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index b941316b5..bd7164ca5 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -5916,18 +5916,15 @@ TALER_denomination_group_get_key (
 /**
  * Token family public key.
  */
-struct TALER_TokenFamilyPublicKey
+struct TALER_TokenIssuePublicKey
 {
-  /**
-   * Type of the signature.
-   */
-  struct GNUNET_CRYPTO_BlindSignPublicKey public_key;
+  struct GNUNET_CRYPTO_BlindSignPublicKey *public_key;
 };
 
 /**
  * Hash of a public key of a token family.
  */
-struct TALER_TokenFamilyPublicKeyHash
+struct TALER_TokenIssuePublicKeyHash
 {
   /**
    * Hash of the token public key.
@@ -5938,15 +5935,15 @@ struct TALER_TokenFamilyPublicKeyHash
 /**
  * Token family private key.
  */
-struct TALER_TokenFamilyPrivateKey
+struct TALER_TokenIssuePrivateKey
 {
-  struct GNUNET_CRYPTO_BlindSignPrivateKey private_key;
+  struct GNUNET_CRYPTO_BlindSignPrivateKey *private_key;
 };
 
 /**
  * Token public key.
  */
-struct TALER_TokenPublicKey
+struct TALER_TokenUsePublicKey
 {
   struct GNUNET_CRYPTO_EddsaPublicKey public_key;
 };
@@ -5954,15 +5951,23 @@ struct TALER_TokenPublicKey
 /**
  * Signature made using a token private key.
  */
-struct TALER_TokenSignature
+struct TALER_TokenUseSignature
 {
   struct GNUNET_CRYPTO_EddsaSignature signature;
 };
 
 /**
- * Blind signature for a token (signed by merchant).
+ * Unblinded signature created using merchants token issue private key.
+ */
+struct TALER_TokenIssueSignature
+{
+  struct GNUNET_CRYPTO_UnblindedSignature signature;
+};
+
+/**
+ * Blind signature created using merchants token issue private key.
  */
-struct TALER_TokenBlindSignature
+struct TALER_TokenIssueBlindSignature
 {
   struct GNUNET_CRYPTO_BlindedSignature signature;
 };

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]