diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-27 16:31:18 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-27 16:31:18 +0100 |
commit | 16817ef0d12ee1b51203f96b0dd3708c1dae3509 (patch) | |
tree | b9f9990e00f91b5b2d211416b4a05548cdc5b12d /src/include/taler_util.h | |
parent | 2cda5ea7ee7e0e87b875ce54b483fdde86ed0dac (diff) |
implementing new link crypto API
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index f1264d254..3c901b3fa 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -247,19 +247,21 @@ struct TALER_RefreshLinkEncrypted { /** - * Encrypted private key of the coin. + * Encrypted blinding key with @e blinding_key_enc_size bytes, + * must be allocated at the end of this struct. */ - char [sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)] coin_priv_enc; + const char *blinding_key_enc; /** - * Encrypted blinding key with @e blinding_key_enc_size bytes. + * Number of bytes in @e blinding_key_enc. */ - char *blinding_key_enc; + size_t blinding_key_enc_size; /** - * Number of bytes in @e blinding_key_enc. + * Encrypted private key of the coin. */ - size_t blinding_key_enc_size; + char coin_priv_enc[sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey)]; + }; |