summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/man/sha.3
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypto/man/sha.3')
-rw-r--r--secure/lib/libcrypto/man/sha.312
1 files changed, 6 insertions, 6 deletions
diff --git a/secure/lib/libcrypto/man/sha.3 b/secure/lib/libcrypto/man/sha.3
index 75b9984..7995059 100644
--- a/secure/lib/libcrypto/man/sha.3
+++ b/secure/lib/libcrypto/man/sha.3
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.35
.\"
.\" Standard preamble:
.\" ========================================================================
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "sha 3"
-.TH sha 3 "2006-10-01" "0.9.8d" "OpenSSL"
+.TH sha 3 "2007-03-15" "0.9.8e" "OpenSSL"
.SH "NAME"
SHA1, SHA1_Init, SHA1_Update, SHA1_Final \- Secure Hash Algorithm
.SH "SYNOPSIS"
@@ -144,10 +144,10 @@ SHA1, SHA1_Init, SHA1_Update, SHA1_Final \- Secure Hash Algorithm
.Ve
.PP
.Vb 4
-\& void SHA1_Init(SHA_CTX *c);
-\& void SHA1_Update(SHA_CTX *c, const void *data,
+\& int SHA1_Init(SHA_CTX *c);
+\& int SHA1_Update(SHA_CTX *c, const void *data,
\& unsigned long len);
-\& void SHA1_Final(unsigned char *md, SHA_CTX *c);
+\& int SHA1_Final(unsigned char *md, SHA_CTX *c);
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
@@ -180,7 +180,7 @@ used only when backward compatibility is required.
.IX Header "RETURN VALUES"
\&\s-1\fISHA1\s0()\fR returns a pointer to the hash value.
.PP
-\&\fISHA1_Init()\fR, \fISHA1_Update()\fR and \fISHA1_Final()\fR do not return values.
+\&\fISHA1_Init()\fR, \fISHA1_Update()\fR and \fISHA1_Final()\fR return 1 for success, 0 otherwise.
.SH "CONFORMING TO"
.IX Header "CONFORMING TO"
\&\s-1SHA:\s0 \s-1US\s0 Federal Information Processing Standard \s-1FIPS\s0 \s-1PUB\s0 180 (Secure Hash
OpenPOWER on IntegriCloud