freebsd-src/sys/crypto
Pawel Jakub Dawidek b623eec509 Avoid memory allocations when the given address is already 16 bytes aligned.
Such an address can be used directly in padlock's AES.
This improves speed of geli(8) significantly:

	# sysctl kern.geom.zero.clear=0
	# geli onetime -s 4096 gzero
	# dd if=/dev/gzero.eli of=/dev/null bs=1m count=1000

Before:	113MB/s
After:	203MB/s

BTW. If sector size is set to 128kB, I can read at 276MB/s :)
2006-07-25 19:32:58 +00:00
..
blowfish Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 2004-11-16 20:42:32 +00:00
des Use __FBSDID(). 2004-06-14 00:38:54 +00:00
rc4 Use __FBSDID(). 2003-06-10 21:44:29 +00:00
rijndael Assert proper key size also in userland by defining KASSERT in !_KERNEL case. 2005-08-17 07:59:07 +00:00
sha2 Correctly bzero the entire context, not just the first sizeof(void *) bytes. 2003-09-08 18:32:33 +00:00
via Avoid memory allocations when the given address is already 16 bytes aligned. 2006-07-25 19:32:58 +00:00
sha1.c Use __FBSDID(). 2003-06-10 21:44:29 +00:00
sha1.h