diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-12-09 23:34:49 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-12-09 23:34:49 +0100 |
commit | f3775958c33fb56835b161d1b3e5626690ee6afc (patch) | |
tree | a539312f83f9dcda745f21f68c3052a203533366 /src/include/gnunet_crypto_lib.h | |
parent | 72ada88a9ed75016b941cc883a65d9ad23c54970 (diff) | |
download | gnunet-f3775958c33fb56835b161d1b3e5626690ee6afc.tar.gz gnunet-f3775958c33fb56835b161d1b3e5626690ee6afc.zip |
-forgot to add prototype
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index b2ec83739..6dc56f0e4 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -708,6 +708,16 @@ GNUNET_CRYPTO_hash_context_start (void); | |||
708 | 708 | ||
709 | 709 | ||
710 | /** | 710 | /** |
711 | * Make a copy of the hash computation. | ||
712 | * | ||
713 | * @param hc hash context to use (to continue hashing independently) | ||
714 | * @return copy of @a hc | ||
715 | */ | ||
716 | struct GNUNET_HashContext * | ||
717 | GNUNET_CRYPTO_hash_context_copy (const struct GNUNET_HashContext *hc); | ||
718 | |||
719 | |||
720 | /** | ||
711 | * Add data to be hashed. | 721 | * Add data to be hashed. |
712 | * | 722 | * |
713 | * @param hc cumulative hash context | 723 | * @param hc cumulative hash context |