aboutsummaryrefslogtreecommitdiffstats
path: root/libsha1_update.3
diff options
context:
space:
mode:
Diffstat (limited to 'libsha1_update.3')
-rw-r--r--libsha1_update.343
1 files changed, 43 insertions, 0 deletions
diff --git a/libsha1_update.3 b/libsha1_update.3
new file mode 100644
index 0000000..febbcb9
--- /dev/null
+++ b/libsha1_update.3
@@ -0,0 +1,43 @@
+.TH LIBSHA1_UPDATE 3 2019-02-10 libsha1
+.SH NAME
+libsha1_update \- Feed data into a SHA 1/0 algorithm
+.SH SYNOPSIS
+.nf
+#include <libsha1.h>
+
+void libsha1_update(struct libsha1_state *restrict \fIstate\fP, const void *restrict \fImessage\fP, size_t \fImsglen\fP);
+.fi
+.PP
+Link with
+.IR \-lsha1 .
+.SH DESCRIPTION
+The
+.BR libsha1_update ()
+function feeds the first
+.I msglen
+.B bits
+(must equivalent to 0 modulus 8) of
+.I message
+into the hashing state of the
+.I state
+parameter.
+.SH RETURN VALUE
+None.
+.SH ERRORS
+None.
+.SH EXAMPLES
+None.
+.SH APPLICATION USAGE
+None.
+.SH RATIONALE
+None.
+.SH FUTURE DIRECTIONS
+None.
+.SH NOTES
+None.
+.SH BUGS
+None.
+.SH SEE ALSO
+.BR libsha1_digest (3),
+.BR libsha1_init (3),
+.BR libsha1_sum_fd (3)