| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
It causes the 32bit compat build of libmd to fail with:
libmd/rmd160c.c:86:9: error: 'ripemd160_block' macro redefined
#define ripemd160_block ripemd160_block_x86
^
libmd/ripemd.h:122:9: note: previous definition is here
#define ripemd160_block _libmd_ripemd160_block
Notes:
svn path=/head/; revision=334105
|
|
|
|
|
|
|
|
| |
- build with WARNS=1. This works without any changes
- remove two unused variables noticed at WARNS=2
Notes:
svn path=/head/; revision=334090
|
|
|
|
|
|
|
|
|
|
| |
No functional change.
Reported by: me, in a CR from three years ago today
Sponsored by: Dell EMC Isilon
Notes:
svn path=/head/; revision=332655
|
|
|
|
| |
Notes:
svn path=/head/; revision=326828
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: allanjude, cem
MFC after: 2 months
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8264
Notes:
svn path=/head/; revision=307521
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove unneeded fstat()/lseek() calls.
- Return NULL and set errno to EINVAL on negative length.
- Fix small style problems and expand variable names.
After this change, it is possible to use this code for some irregular
files. For example, 'md5 /dev/md0' should now succeed.
Differential Revision: https://reviews.freebsd.org/D4748
Suggested by: bde
Reviewed by: bde, allanjude, delphij
Notes:
svn path=/head/; revision=294037
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
algorithms.
CID: 1305669,1305611,1305663,1305603,1305584,1305639,1346865,1305601
Differential Revision: https://reviews.freebsd.org/D4732
Reviewed by: allanjude, delphij
MFC after: 2 weeks
Sponsored by: Juniper Networks
Notes:
svn path=/head/; revision=292955
|
|
|
|
|
|
|
|
|
|
| |
see:
https://docs.freebsd.org/cgi/mid.cgi?20150513080342.GE37063@funkthat.com
for benchmarks...
Notes:
svn path=/head/; revision=285324
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce further adjustments to the renaming of libmd
symbols: make sure that we do not generate dangling weak
aliases, as this causes build failures on MIPS.
Tested by: sbruno
Notes:
svn path=/head/; revision=282774
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=282726
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
than 0 in MDXFileChunk when calculating the checksum
This edgecase can be triggered if the file is truncated while the checksum
is being calculated (i.e. the EOF is reached)
Differential Revision: https://reviews.freebsd.org/D2351 (patch by darius)
PR: 196694
Reviewed by: delphij, ngie
Submitted by: Daniel O'Connor <darius@dons.net.au>
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=281928
|
|
|
|
|
|
|
| |
of unsigned char* argument.
Notes:
svn path=/head/; revision=154479
|
|
|
|
| |
Notes:
svn path=/head/; revision=103098
|
|
|
|
|
|
|
|
|
| |
error, due to an uninitialized variable.
Reviewed by: phk, archie
Notes:
svn path=/head/; revision=103038
|
|
|
|
| |
Notes:
svn path=/head/; revision=93149
|
|
|
|
| |
Notes:
svn path=/head/; revision=84211
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=74385
|
|
|
|
| |
Notes:
svn path=/head/; revision=50476
|
|
|
|
|
|
|
| |
Add Eric Young's SHA-[01] implementations.
Notes:
svn path=/head/; revision=44290
|
|
|
|
|
|
|
|
|
|
| |
to be of type `const char *'.
PR: 3291
Submitted by: dima@tejblum.dnttm.rssi.ru (Dmitrij Tejblum)
Notes:
svn path=/head/; revision=28688
|
|
|
|
| |
Notes:
svn path=/head/; revision=22993
|
|
|
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
Notes:
svn path=/head/; revision=21673
|
|
|
|
|
|
|
|
|
| |
<stdio.h> doesn't (bogusly) include <sys/types.h>.
Cleaned up #includes.
Notes:
svn path=/head/; revision=19168
|
|
|
|
|
|
|
|
| |
Submitted by: Ikuo Nakagawa <ikuo@isl.intec.co.jp>
PR: misc/1424
Notes:
svn path=/head/; revision=17271
|
|
|
|
|
|
|
|
| |
Add argument for buffer for output.
Fix manuals.
Notes:
svn path=/head/; revision=9488
|
|
|
|
| |
Notes:
svn path=/head/; revision=8870
|
|
|
|
|
|
|
| |
constant. (There probably ought to be a single libc version of it.)
Notes:
svn path=/head/; revision=8103
|
|
|
|
| |
Notes:
svn path=/head/; revision=6684
|
|
|
|
| |
Notes:
svn path=/head/; revision=4245
|
|
Imported libmd. This library contains MD2, MD4 and MD5.
These three boggers pop up all over the place all of the time, so I
decided we needed a library with them. In general they are used for
security checks, so if you use them you want to link them static.
Notes:
svn path=/cvs2svn/branches/ORIG/; revision=1802
|