diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-17 23:02:05 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-17 23:02:05 +0100 |
commit | b61f601028f38a6c56aa00f171fa20605ca8c663 (patch) | |
tree | d433a1e721677b1445151ad41acd0ca29914adc0 /src/include/taler_signatures.h | |
parent | 2078dd1bfbf942d36923d24836a29e40ff24989a (diff) | |
download | exchange-b61f601028f38a6c56aa00f171fa20605ca8c663.tar.xz |
-use different hash for RSA vs. Denomination hashing
Diffstat (limited to 'src/include/taler_signatures.h')
-rw-r--r-- | src/include/taler_signatures.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h index 40755348d..991c56e65 100644 --- a/src/include/taler_signatures.h +++ b/src/include/taler_signatures.h @@ -271,7 +271,7 @@ /** * Signature on a denomination key announcement. */ -#define TALER_SIGNATURE_SM_DENOMINATION_KEY 1250 +#define TALER_SIGNATURE_SM_RSA_DENOMINATION_KEY 1250 /** * Signature on an exchange message signing key announcement. @@ -324,7 +324,7 @@ struct TALER_DenominationKeyAnnouncementPS { /** - * Purpose must be #TALER_SIGNATURE_SM_DENOMINATION_KEY. + * Purpose must be #TALER_SIGNATURE_SM_RSA_DENOMINATION_KEY. * Used with an EdDSA signature of a `struct TALER_SecurityModulePublicKeyP`. */ struct GNUNET_CRYPTO_EccSignaturePurpose purpose; @@ -332,7 +332,7 @@ struct TALER_DenominationKeyAnnouncementPS /** * Hash of the denomination public key. */ - struct TALER_DenominationHash h_denom_pub; + struct TALER_RsaPubHashP h_rsa; /** * Hash of the section name in the configuration of this denomination. |