From 019af0919e3fbe2f831f92728fd95eb7ea505da9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 27 Jan 2015 18:49:02 +0100 Subject: mint-httpd_db.c now compiles again --- src/include/taler_util.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/include/taler_util.h') diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 3c901b3f..db6f22e6 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -284,6 +284,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. * -- cgit v1.2.3