jonathan
a91ce15e10
Remove erroneous '2 *' from 'bzero(*sched, 2 * sizeof(rijndael_ctx));'
...
After using AES from sys/crypto, we only malloc sizeof(rijndael_ctx),
and we were bzero()ing past the end of the aes ctx, leading to panics.
2003-11-18 23:01:39 +00:00
tls
1f93975cf8
Move the Skipjack algorithm from sys/opencrypto to sys/crypto/skipjack.
...
There are now no cryptographic algorithms in sys/opencrypto, which,
according to the comment formerly in files.opencrypto, was the original
intent.
2003-11-16 12:07:50 +00:00
thorpej
c171c20800
Fix-up a few things missed in the rijndael_set_key() change.
2003-08-27 14:55:36 +00:00
itojun
725b73043b
simplify rijndael.c API - always schedule encrypt/decrypt key.
...
reviewed by thorpej
2003-08-27 14:23:25 +00:00
thorpej
7e87fbb23b
Some const poisoning.
2003-08-27 00:20:56 +00:00
thorpej
24b18cc20a
Use the Blowfish in crypto/blowfish, which has hooks for using tuned
...
assembly for the transform.
2003-08-27 00:05:26 +00:00
thorpej
6de9ce0437
Move the opencrypto CAST-128 implementation to crypto/cast128, removing
...
the old one. Rename the functions/structures from cast_* to cast128_*.
Adapt the KAME IPsec to use the new CAST-128 code, which has a simpler
API and smaller footprint.
2003-08-26 16:37:36 +00:00
thorpej
4612234689
G/C extra /.
2003-08-26 14:24:35 +00:00
thorpej
aa6632baa6
G/C opencrypto's local copy of rijndael. Adapt the extant rijndael
...
code for opencrypto's use by adding the simplified API that opencrypto
expects.
2003-08-26 14:24:05 +00:00
thorpej
b6ff7ed864
It's bad form to use the <opencrypto/rmd160.h> header file while
...
using the crypto/ripemd160/rmd160.c implementation. Remove the
opencrypto-local copies of these files entirely.
2003-08-25 04:09:57 +00:00
itojun
79e84682bf
keyed-{sha1,md5} should not be truncated to 96 bits. markus@openbsd
2003-08-01 01:47:45 +00:00
jonathan
a2f8a77f02
Remove vestiges of OpenBSD <sys/md5k.h> header.
2003-07-28 19:37:03 +00:00
jonathan
cdfce9ce5e
Commit initial NetBSD port of the OpenCrypto Framework (OCF). This
...
code is derived from Sam Leffler's FreeBSD port of OCF, which is in
turn a port of Angelos Keromytis's OpenBSD work.
Credit to Sam and Angelos, any blame for the NetBSD port to me.
2003-07-25 21:12:39 +00:00