diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-27 18:49:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-27 18:49:02 +0100 |
commit | 019af0919e3fbe2f831f92728fd95eb7ea505da9 (patch) | |
tree | 6b2b79d6462001b1c66f25d5dbff07d27753df43 /src/include | |
parent | c3731d0df7e03561c7da777b5f75ba53206a38b5 (diff) |
mint-httpd_db.c now compiles again
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_util.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 3c901b3fa..db6f22e68 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -285,6 +285,22 @@ struct TALER_RefreshLinkDecrypted /** + * Use the @a trans_sec (from ECDHE) to decrypt the @a secret_enc + * to obtain the @a secret to decrypt the linkage data. + * + * @param secret_enc encrypted secret (FIXME: use different type!) + * @param trans_sec transfer secret (FIXME: use different type?) + * @param secret shared secret for refresh link decryption + * (FIXME: use different type?) + * @return #GNUNET_OK on success + */ +int +TALER_transfer_decrypt (const struct GNUNET_HashCode *secret_enc, + const struct GNUNET_HashCode *trans_sec, + struct GNUNET_HashCode *secret); + + +/** * Decrypt refresh link information. * * @param input encrypted refresh link data |