Commit graph

7 commits

Author SHA1 Message Date
Mikhail Teterin
9b8ac30742 Don't compile haval.1996/haval.c separately, but as part of the top
haval.c (as in vendor's code). This works around weirdness in vendor's
endianness-determining pre-processor code and unbreaks sparc64. Much
rejoicing...
2004-07-12 17:56:58 +00:00
Mikhail Teterin
488f32774f Add a patch ensuring uint32_t is used, where a 32-bit unsigned
integer is implied. This fixes RIPEMD128 on Sparc64 and AMD64, as
well as HAVAL on AMD64.  HAVAL on Sparc64 remains broken due,
apparently, to an endiannes issue, which, for now, escapes my
understanding.

Unbreak on amd64.
2004-07-12 15:42:42 +00:00
Mikhail Teterin
d0b2e40d6b Retreat to using OpenSSL's message digest routines instead of -lmd. They
are sometimes faster and never slower. Using -lmd is still possible by
building with ``TRF_USE_MD=yes''. Bump PORTREVISION.

Use the RIPEMD160* routines from -lcrypto (or -lmd) instead of our own
-- just like for md[25] and sha*. Neither -lcrypto nor -lmd provide
RIPEMD128 (not strong enough?), so stay with our own implementation.

sparc64/amd64 are not expected to work yet...
2004-07-11 08:38:31 +00:00
Mikhail Teterin
97a132e0ec Use ``$(CC) -shared'' insted of ld to create shared library. This
allows to use non-default compilers, such as icc.
2004-07-09 23:03:49 +00:00
Mikhail Teterin
2923c0b122 Explicitly include <sys/types.h> and <unistd.h> to fix the breakage on
recent -current. Fix warnings -- on x86, at least, the package now
builds with ``-Wall -Werror''.
2004-07-09 20:48:54 +00:00
Mikhail Teterin
8ad0c3adab Resolve a few more symbols at compile/link time, rather than at
run-time. This  fixes the  bz2 commands.  We link  against -lmd,  so use
<md2.h>  and <md5.h>,  instead  of <openssl/md[25].h>  (why  do we  even
install those separately?). Bump up portrevision.

Change the reference (in the comment) from -lscrypt to -lcrypt.
2002-02-17 16:03:11 +00:00
Mikhail Teterin
daa8cb06f0 From the software's self-description:
Trf is a TCL extension library. It extends the language
	at the C-level with so-called ``transformer''-procedures.
	The package is able to intercept all read/write operations
	on designated channels, thus giving it the ability to
	transform the buffer contents as desired. This allows
	things like transparent encryption, compression, charset
	recoding, etc. Build upon this framework (and as proof of
	concept) a collection of tcl-level commands was implemented,
	most of them related to cryptography.

WWW: http://www.oche.de/~akupries/soft/trf/
2002-02-15 07:34:07 +00:00