diff options
author | Christian Blättler <blatc2@bfh.ch> | 2024-04-20 10:43:36 +0200 |
---|---|---|
committer | Christian Blättler <blatc2@bfh.ch> | 2024-04-20 10:43:36 +0200 |
commit | 75588f40ec9140ceb74b80e31fbf830f5341fde7 (patch) | |
tree | 32f06488e59b72106edf9d0e261759091ac475ec /src/include/taler_crypto_lib.h | |
parent | d976da28721c1cae33d67c8038b4c8192e3d5b0a (diff) | |
download | exchange-75588f40ec9140ceb74b80e31fbf830f5341fde7.tar.xz |
rename keys
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r-- | src/include/taler_crypto_lib.h | 29 |
1 files 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; }; |