summaryrefslogtreecommitdiff
path: root/lib/libc/hash
AgeCommit message (Collapse)Author
2016-07-28RMD160Update actually takes size_t lengthTed Unangst
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-10un-vax;Jason McIntyre
2015-11-10update NAME section to include all documented functions,Jason McIntyre
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-09-14Remove useless quoting from .Fo and .Fn function names, to preventIngo Schwarze
development of a cargo cult in case people look at existing files for examples. This achieves a consistent .Fo and .Fn quoting style across the whole tree.
2015-09-11Wrap blowfish, sha*, md5, and rmd160 so that internal calls go directPhilip Guenther
ok deraadt@
2015-02-21update siphash manpages to reflect change in return type spelling.Ted Unangst
ok dlg
2015-02-20Use standard spelling for types, and rename local variable from "free".Ted Unangst
No actual change, but makes it easier to reuse the code elsewhere. Suggested by Andre Smagin
2015-02-07userland gets static on functions only used within a file.David Gwynne
ok tedu@
2015-02-05macro fixes from Kaspars at Bankovskis dot net;Ingo Schwarze
also fixing one typo in fts(3) while here
2015-01-16Move to the <limits.h> universe.Theo de Raadt
review by millert, binary checking process with doug, concept with guenther
2015-01-15Use explicit_bzero instead of memset in hash Final and End functions.Todd C. Miller
OK deraadt@ djm@
2014-12-19be like the kernel and only unroll if not smallTed Unangst
2014-12-19i386 unrolling blows up the media in a big way, due to -Os forTheo de Raadt
ramdisk libc builds. there has to be a better way without #ifdef's in gross places, but I don't see it yet.
2014-12-18only unroll on i386 and amd64 (where confirmed to be much faster).Ted Unangst
naddy found sparc64 gets a little slower when unrolled. ok deraadt
2014-12-17unroll loops. much faster on amd64. ok deraadt millertTed Unangst
2014-12-08typoTheo de Raadt
2014-12-08more libc, less kernel documentationTed Unangst
2014-12-08tweak recommendation to use arc4random_bufTed Unangst
2014-12-08add siphash from the kernel to libcTed Unangst
2014-11-26macro cleanup; from kaspars at bankovskis dot netIngo Schwarze
2014-11-16add some missing .An macros and remove some obsolete .TnIngo Schwarze
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-07-21Switch from <sys/endian.h> or <machine/endian.h> to the new,Philip Guenther
being-standardized <endian.h> ok deraadt@ millert@ beck@
2014-07-20From ISO/IEC 9899:1999 and 9899:201x,Philip Guenther
6.11.5 - Storage-class specifiers: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
2014-04-03put $OpenBSD$ back.. notice by philip.Bob Beck
2014-04-03I have discussed these licenses with Poul-Henning Kamp and he has agreed toBob Beck
this license change. We will remember that we all still like beer.
2014-03-23Remove the MD4 functions.Christian Weisgerber
"A collision attack published in 2007 can find collisions for full MD4 in less than two hash operations." ok deraadt@, man pages ok jmc@
2014-01-08calling HashFinal with a null digest should crash, not be silently ignoredTed Unangst
2014-01-08rename SHA256_ONLY to SHA2_SMALL; changing things so that sha512 supportTheo de Raadt
is also pulled in
2013-12-22remove unneeded check for null context. ok deraadt gilles millertTed Unangst
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-15SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in aTodd C. Miller
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-09-07add const where missingTed Unangst
2012-08-27Remove landisk gcc 3 compiler workaround. Reminded by martynas@ and bradMiod Vallat
2012-08-18within Rs/Re reference blocks, use %U instead of %O (or any otherJason McIntyre
variants) for URLs, allowing mandoc -Thtml to properly generate links; (sendmail.8 changes are simply using Lk, which i somehow missed in previous) ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not, but 1.21 does;
2010-07-13update our recommended hash function to sha256 and note md5 is broken.Ted Unangst
ok deraadt jmc millert sobrado
2010-07-13no more rmd160(1);Jason McIntyre
2010-01-08plug a file descriptor leak in HASHFileChunk().Owain Ainsworth
From Igor Zinovik; thanks! ok millert@
2009-04-15allow building without SHA384 and SHA512 (i.e. SHA256 only) withDamien Miller
-DSHA256_ONLY in order to save space; ok deraadt@
2008-09-12the last example doesn't need a ctx variable;Damien Miller
from Loic Tortay via jmc@
2008-09-06Rename SHA256/384/512 API to avoid namespace collisions withDamien Miller
forthcoming OpenSSL update. Function names lose their underscore (SHA256_Init => SHA256Init) and the various SHA256_CTX, SHA512_CTX are merged into a single SHA2_CTX that is used for all these hashes. ok millert@ manpage bits jmc@ "please commit" deraadt@
2008-07-29Split SHA1Transform() back into smaller pieces when compiling on landisk,Miod Vallat
to defeat gcc optimization bugs. Similar to what had been done on sparc64 in the past. ok millert@ deraadt@
2008-02-13The digest in the example seems to have been generatedArtur Grabowski
by code that does not do zero padding. The example code does. Fix. millert@ ok
2007-05-31convert to new .Dd format;Jason McIntyre
2007-02-27sha2 hashes are not 5 32-bit ints in size. Just leave out the sizeTodd C. Miller
in ints since there are multiple flavors. The key point to get across is that when storing as a type > byte it may be necessary to do byte swapping depending on the machine's byte order. Noticed by Tamas TEVESZ.
2006-10-03when using SHA1Data(), no CTX is needed, so zap that line in the exampleAlexander von Gernler
ok jmc@
2005-09-12some markup and punctuation fixes from wiz@netbsdJason McIntyre