|
|
@ -1,4 +1,4 @@ |
|
|
|
.\" $OpenBSD: sha2.3,v 1.15 2008/09/06 12:00:19 djm Exp $ |
|
|
|
.\" $OpenBSD: sha2.3,v 1.16 2008/09/12 05:33:10 djm Exp $ |
|
|
|
.\" |
|
|
|
.\" Copyright (c) 2003, 2004 Todd C. Miller <Todd.Miller@courtesan.com> |
|
|
|
.\" |
|
|
@ -20,7 +20,7 @@ |
|
|
|
.\" |
|
|
|
.\" See http://www.nist.gov/sha/ for the detailed standard |
|
|
|
.\" |
|
|
|
.Dd $Mdocdate: September 6 2008 $ |
|
|
|
.Dd $Mdocdate: September 12 2008 $ |
|
|
|
.Dt SHA2 3 |
|
|
|
.Os |
|
|
|
.Sh NAME |
|
|
@ -243,7 +243,6 @@ putchar('\en'); |
|
|
|
.Pp |
|
|
|
Alternately, the helper functions could be used in the following way: |
|
|
|
.Bd -literal -offset indent |
|
|
|
SHA2_CTX ctx; |
|
|
|
u_int8_t output[SHA256_DIGEST_STRING_LENGTH]; |
|
|
|
char *buf = "abc"; |
|
|
|
|
|
|
|