tedu
676996bb23
remove caveats that are either misleading or unhelpful.
ok jmc naddy
8 years ago
jmc
963b22afaf
un-vax;
9 years ago
jmc
657bd2849a
update NAME section to include all documented functions,
or otherwise change Dt to reflect the name of an existing function;
feedback/ok schwarze
9 years ago
schwarze
c009471d0a
macro cleanup; from kaspars at bankovskis dot net
10 years ago
naddy
32386fdf7d
Remove the MD4 functions.
"A collision attack published in 2007 can find collisions for full
MD4 in less than two hash operations."
ok deraadt@, man pages ok jmc@
11 years ago
tedu
3d36d226ed
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
12 years ago
jmc
7d2f083b01
last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;
12 years ago
art
444fc7d450
The digest in the example seems to have been generated
by code that does not do zero padding. The example code does. Fix.
millert@ ok
17 years ago
jmc
14302f5699
convert to new .Dd format;
18 years ago
grunk
43fa649024
when using SHA1Data(), no CTX is needed, so zap that line in the example
ok jmc@
18 years ago
jfb
7a1e9128cc
Make the `filename' parameter to HASHFile() and HASHFileChunk() const
ok pedro@, millert@
21 years ago
otto
903036c95c
Add .Xr's to the commands implementing the various digests. ok millert@
21 years ago
millert
f181b464e0
Make the 2nd arg to SHA1Transform const again and unifdef SHA1HANDSOFF.
It was defined before and there is no need to for this knob...
21 years ago
millert
cb92ad54e0
Sync some prototypes with the headers
21 years ago
millert
e2e5c3d50c
Add Pad and FileChunk functions for each family of hash functions.
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).
21 years ago
millert
29064d763b
Undo some recent prototype changes; it is legal to pass the helper
functions can take a NULL buf pointer. They will malloc memory as
needed in this case.
21 years ago
millert
dbbc112215
Xr sha2(3)
21 years ago
millert
9b2dd21027
Use a common source file for all the hash helper functions that
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@
21 years ago
deraadt
b34f7b9403
missing const; millert ok
22 years ago
millert
4f09d8e4af
Sync with share/misc/license.template and add missing DARPA credit
where applicable.
22 years ago
millert
6014de925d
Use an ISC-tyle license for all my code; it is simpler and more permissive.
22 years ago
jmc
edfb378ba7
- section reorder
- whitespace at EOL
22 years ago
jmc
980cdd8e8c
updated URL from Leandro Costa;
ok millert@
22 years ago
millert
ac4382dfde
add RFC 3174 to SEE ALSO section
23 years ago
mpech
8038b2e506
o) We always close .Bl and .Bd tags;
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
24 years ago
aaron
a23c3559c4
mdoc prefers `\e' as an escape character.
24 years ago
aaron
0b659e53e3
Repairs, mostly removing hard sentence breaks.
25 years ago
espie
fb14ddc268
- let cryptographic checksums refer to each other
- avoid .Xref to one's own manpage
25 years ago
deraadt
f61554143a
more unescaped \n lines in nroff documents
26 years ago
aaron
62c499bcb2
- remove all trailing whitespace
* 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...
26 years ago
aaron
5be2a374dd
The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.
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.
26 years ago
aaron
48f48f4249
kill some old macros
26 years ago
aaron
2f03f374b1
punctuation
26 years ago
wvdputte
b792344682
Fixup of formatting in the example source code
26 years ago
millert
03d98b5707
Remove the advertising clause in my old license, it impedes free use
of the code as a large number of similar clauses makes it impossible
to write an ad for a product using the code...
27 years ago
millert
8156b21ea6
.Bx Open -> .Ox 2.x
27 years ago
deraadt
6f98d4431a
extra commas go foom foom foom
27 years ago
millert
c6a2075d6d
More typos.
28 years ago
millert
1f3954a41c
Fix typo
28 years ago
millert
180624d3fc
Add a missing const
28 years ago
millert
0818e080d8
Add SHA1End, SHA1File, SHA1Data helper functions like in md5(3).
28 years ago
provos
4515cc9a0a
mention usage of SHA1Final with null pointer
28 years ago
millert
616645b01b
Todd kant spel.
28 years ago
millert
b1dcc2f442
Man page for SHA1*
28 years ago