freebsd-dev/sys/crypto/via
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
..
padlock_cipher.c Avoid memory allocations when the given address is already 16 bytes aligned. 2006-07-25 19:32:58 +00:00
padlock_hash.c Style fixes. 2006-07-25 19:04:26 +00:00
padlock.c Style fixes. 2006-07-25 19:04:26 +00:00
padlock.h Modify PADLOCK_ALIGN() macro, so when the given address is already 16 bytes 2006-07-25 19:06:54 +00:00