Changeset View
Changeset View
Standalone View
Standalone View
lib/libmd/sha256.3
.\" | .\" | ||||
.\" ---------------------------------------------------------------------------- | .\" ---------------------------------------------------------------------------- | ||||
.\" "THE BEER-WARE LICENSE" (Revision 42): | .\" "THE BEER-WARE LICENSE" (Revision 42): | ||||
.\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you | .\" <phk@FreeBSD.org> wrote this file. As long as you retain this notice you | ||||
.\" can do whatever you want with this stuff. If we meet some day, and you think | .\" can do whatever you want with this stuff. If we meet some day, and you think | ||||
.\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp | .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp | ||||
.\" ---------------------------------------------------------------------------- | .\" ---------------------------------------------------------------------------- | ||||
.\" | .\" | ||||
.\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp | .\" From: Id: mdX.3,v 1.14 1999/02/11 20:31:49 wollman Exp | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd March 28, 2014 | .Dd April 26, 2016 | ||||
.Dt SHA256 3 | .Dt SHA256 3 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm SHA256_Init , | .Nm SHA256_Init , | ||||
.Nm SHA256_Update , | .Nm SHA256_Update , | ||||
.Nm SHA256_Final , | .Nm SHA256_Final , | ||||
.Nm SHA256_End , | .Nm SHA256_End , | ||||
.Nm SHA256_File , | .Nm SHA256_File , | ||||
▲ Show 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | |||||
after use. | after use. | ||||
If the | If the | ||||
.Fa buf | .Fa buf | ||||
argument is non-null it must point to at least 65 characters of buffer space. | argument is non-null it must point to at least 65 characters of buffer space. | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr md4 3 , | .Xr md4 3 , | ||||
.Xr md5 3 , | .Xr md5 3 , | ||||
.Xr ripemd 3 , | .Xr ripemd 3 , | ||||
.Xr sha 3 | .Xr sha 3 , | ||||
.Xr sha256 3 , | |||||
.Xr sha512 3 , | |||||
.Xr skein 3 | |||||
.Sh HISTORY | .Sh HISTORY | ||||
These functions appeared in | These functions appeared in | ||||
.Fx 6.0 . | .Fx 6.0 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
The core hash routines were implemented by Colin Percival based on | The core hash routines were implemented by Colin Percival based on | ||||
the published | the published | ||||
.Tn FIPS 180-2 | .Tn FIPS 180-2 | ||||
standard. | standard. | ||||
.Sh BUGS | .Sh BUGS | ||||
No method is known to exist which finds two files having the same hash value, | No method is known to exist which finds two files having the same hash value, | ||||
nor to find a file with a specific hash value. | nor to find a file with a specific hash value. | ||||
There is on the other hand no guarantee that such a method does not exist. | There is on the other hand no guarantee that such a method does not exist. |