summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_hash
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_hash')
-rw-r--r--doc/functions/gnutls_hash18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/functions/gnutls_hash b/doc/functions/gnutls_hash
new file mode 100644
index 0000000..6d314b5
--- /dev/null
+++ b/doc/functions/gnutls_hash
@@ -0,0 +1,18 @@
+
+
+
+
+@deftypefun {int} {gnutls_hash} (gnutls_hash_hd_t @var{handle}, const void * @var{ptext}, size_t @var{ptext_len})
+@var{handle}: is a @code{gnutls_hash_hd_t} type
+
+@var{ptext}: the data to hash
+
+@var{ptext_len}: the length of data to hash
+
+This function will hash the given data using the algorithm
+specified by the context.
+
+@strong{Returns:} Zero or a negative error code on error.
+
+@strong{Since:} 2.10.0
+@end deftypefun