diff options
Diffstat (limited to 'src/include/taler_util.h')
-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 | |||
285 | 285 | ||
286 | 286 | ||
287 | /** | 287 | /** |
288 | * Use the @a trans_sec (from ECDHE) to decrypt the @a secret_enc | ||
289 | * to obtain the @a secret to decrypt the linkage data. | ||
290 | * | ||
291 | * @param secret_enc encrypted secret (FIXME: use different type!) | ||
292 | * @param trans_sec transfer secret (FIXME: use different type?) | ||
293 | * @param secret shared secret for refresh link decryption | ||
294 | * (FIXME: use different type?) | ||
295 | * @return #GNUNET_OK on success | ||
296 | */ | ||
297 | int | ||
298 | TALER_transfer_decrypt (const struct GNUNET_HashCode *secret_enc, | ||
299 | const struct GNUNET_HashCode *trans_sec, | ||
300 | struct GNUNET_HashCode *secret); | ||
301 | |||
302 | |||
303 | /** | ||
288 | * Decrypt refresh link information. | 304 | * Decrypt refresh link information. |
289 | * | 305 | * |
290 | * @param input encrypted refresh link data | 306 | * @param input encrypted refresh link data |