summaryrefslogtreecommitdiff
path: root/lib/libc/hash/sha1.3
AgeCommit message (Collapse)Author
2004-06-22Make the `filename' parameter to HASHFile() and HASHFileChunk() constJean-Francois Brousseau
ok pedro@, millert@
2004-05-16Add .Xr's to the commands implementing the various digests. ok millert@Otto Moerbeek
2004-05-05Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.Todd C. Miller
It was defined before and there is no need to for this knob...
2004-05-03Sync some prototypes with the headersTodd C. Miller
2004-05-03Add Pad and FileChunk functions for each family of hash functions.Todd C. Miller
The Pad function does padding like in Final but does not finish processing. The FileChunk function creates a digest from a portion of a file. Also made the length parameters consistent (and size_t).
2004-04-29Undo some recent prototype changes; it is legal to pass the helperTodd C. Miller
functions can take a NULL buf pointer. They will malloc memory as needed in this case.
2004-04-28Xr sha2(3)Todd C. Miller
2004-04-26Use a common source file for all the hash helper functions thatTodd C. Miller
previously lived in foohl.c. The foohl.c files are now generated via sed, though perhaps cpp could be used in the future. Use u_int8_t instead of unsigned char for the buffers struct fooContext. Add constants for buffer lengths and use them in function prototypes and the man pages. This is basically cosmetic surgery; there should be no functional changes. OK deraadt@
2003-06-25missing const; millert okTheo de Raadt
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-05-30- section reorderJason McIntyre
- whitespace at EOL
2003-05-06updated URL from Leandro Costa;Jason McIntyre
ok millert@
2001-10-29add RFC 3174 to SEE ALSO sectionTodd C. Miller
2001-08-06o) We always close .Bl and .Bd tags;Mike Pechkin
o) .Sh AUTHOR -> .Sh AUTHORS; o) We don't like .Pp before/after .Sh; o) We don't like .Pp before/after .Rs/.Re; o) NetBSD -> .Nx; o) OpenBSD -> .Ox; millert@ ok
2000-12-21mdoc prefers `\e' as an escape character.Aaron Campbell
2000-04-18Repairs, mostly removing hard sentence breaks.Aaron Campbell
1999-10-06- let cryptographic checksums refer to each otherMarc Espie
- avoid .Xref to one's own manpage
1999-08-11more unescaped \n lines in nroff documentsTheo de Raadt
1999-07-09- remove all trailing whitespaceAaron Campbell
* except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
1999-07-07The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.Aaron Campbell
Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
1999-05-25kill some old macrosAaron Campbell
1999-05-25punctuationAaron Campbell
1999-04-18Fixup of formatting in the example source codeWim Vandeputte
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-03-07.Bx Open -> .Ox 2.xTodd C. Miller
1998-02-27extra commas go foom foom foomTheo de Raadt
1997-07-17More typos.Todd C. Miller
1997-07-17Fix typoTodd C. Miller
1997-07-15Add a missing constTodd C. Miller
1997-07-12Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3).Todd C. Miller
1997-07-12mention usage of SHA1Final with null pointerNiels Provos
1997-07-11Todd kant spel.Todd C. Miller
1997-07-11Man page for SHA1*Todd C. Miller