summaryrefslogtreecommitdiffstats
path: root/lib/libmd/sha.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282736:Luiz Otavio O Souza2015-10-201-0/+40
| | | | | | | | | | | | | | | | | | | 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/+28
| | | | | | | | | | | | | | | | | | 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-4/+4
| | | | of unsigned char* argument.
* Add a new entrypoint to the hashes in libmd:phk2001-03-171-0/+2
| | | | | | | | | char * FooFileChunk(const char *filename, char *buf, off_t offset, off_t length) Which only hashes part of a file. Implement FooFile() in terms of this function. Submitted by: roam
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add Eric Young's RIPEMD160 implementation as well, in case SHA-1wollman1999-02-261-6/+3
| | | | should prove weak. Also fix a few problems with the SHA-1 build.
* Fix bug in MDx test suite.wollman1999-02-261-0/+99
Add Eric Young's SHA-[01] implementations.
OpenPOWER on IntegriCloud