X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/2ad8dd37d1b9c4815539fa05a0839f07713d5e38..cc55d2b5489082d0801147c69b105005f74e0fd8:/sha512.h diff --git a/sha512.h b/sha512.h index ea85194..9b06200 100644 --- a/sha512.h +++ b/sha512.h @@ -75,19 +75,6 @@ extern void *sha512_read_ctx (const struct sha512_ctx *ctx, void *resbuf); extern void *sha384_read_ctx (const struct sha512_ctx *ctx, void *resbuf); -/* Compute SHA512 (SHA384) message digest for bytes read from STREAM. The - resulting message digest number will be written into the 64 (48) bytes - beginning at RESBLOCK. */ -extern int sha512_stream (FILE *stream, void *resblock); -extern int sha384_stream (FILE *stream, void *resblock); - -/* Compute SHA512 (SHA384) message digest for LEN bytes beginning at BUFFER. The - result is always in little endian byte order, so that a byte-wise - output yields to the wanted ASCII representation of the message - digest. */ -extern void *sha512_buffer (const char *buffer, size_t len, void *resblock); -extern void *sha384_buffer (const char *buffer, size_t len, void *resblock); - # ifdef __cplusplus } # endif