aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sha256.h')
-rw-r--r--lib/sha256.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/sha256.h b/lib/sha256.h
index e3449864bb6..19ed3ccd4d0 100644
--- a/lib/sha256.h
+++ b/lib/sha256.h
@@ -89,8 +89,11 @@ extern void *sha256_buffer (const char *buffer, size_t len, void *resblock);
89extern void *sha224_buffer (const char *buffer, size_t len, void *resblock); 89extern void *sha224_buffer (const char *buffer, size_t len, void *resblock);
90 90
91# endif 91# endif
92/* Compute SHA256 (SHA224) message digest for bytes read from STREAM. The 92/* Compute SHA256 (SHA224) message digest for bytes read from STREAM.
93 resulting message digest number will be written into the 32 (28) bytes 93 STREAM is an open file stream. Regular files are handled more efficiently.
94 The contents of STREAM from its current position to its end will be read.
95 The case that the last operation on STREAM was an 'ungetc' is not supported.
96 The resulting message digest number will be written into the 32 (28) bytes
94 beginning at RESBLOCK. */ 97 beginning at RESBLOCK. */
95extern int sha256_stream (FILE *stream, void *resblock); 98extern int sha256_stream (FILE *stream, void *resblock);
96extern int sha224_stream (FILE *stream, void *resblock); 99extern int sha224_stream (FILE *stream, void *resblock);