summaryrefslogtreecommitdiffstats
path: root/lib/libmd/sha256.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r285366:Luiz Otavio O Souza2015-10-201-82/+0
| | | | | | | | | | | Complete the move that was started w/ r263218.. For some reason I didn't delete the files, so that means we need to bring the changes in r282726 to the correct files.. make tinderbox completed with this patch... TAG: IPSEC-HEAD Issue: #4841
* MFC r282736:Luiz Otavio O Souza2015-10-201-0/+18
| | | | | | | | | | | | | | | | | | | Unbreak build following rev. 282726 (Makefile.inc1): add dependency of xinstall on libmd to avoid failure of parallel bootstrap. (lib/libmd/*.h): do not redefine symbols if already defined as macros (libcrypt uses the same sources internally, redefining symbols with a prefix of its own). Fixes build failures caused by previous change to libmd. Reported by: ian Pointy hat to: thomas TAG: IPSEC-HEAD Issue: #4841
* MFC r282726:Luiz Otavio O Souza2015-10-201-0/+14
| | | | | | | | | | | | | | | | | | Ensure libmd symbols do not clash with libcrypto Add a prefix to all symbols in libmd to avoid incompatibilites with same-named, but not binary compatible, symbols from libcrypto. Also introduce Weak aliases to avoid the need to rebuild dependent binaries and a major version bump. PR: 199119 Differential Revision: D2216 Reviewed by: roberto, delphij MFC after: 2 weeks TAG: IPSEC-HEAD Issue: #4841
* Fix an 11 year old mistake: Let the hash functions take a void* insteadphk2006-01-171-2/+2
| | | | of unsigned char* argument.
* In light of the recent 2^69 operation collision-finding attack on SHA1,cperciva2005-03-091-0/+50
add support for SHA256. Tested on: i386, sparc64 Tested using: NIST test vectors, built-in tests X-MFC-after: 5.4-RELEASE
OpenPOWER on IntegriCloud