kernel-ark/include
Herbert Xu 9547737799 [CRYPTO] Add alignmask for low-level cipher implementations
The VIA Padlock device requires the input and output buffers to
be aligned on 16-byte boundaries.  This patch adds the alignmask
attribute for low-level cipher implementations to indicate their
alignment requirements.

The mid-level crypt() function will copy the input/output buffers
if they are not aligned correctly before they are passed to the
low-level implementation.

Strictly speaking, some of the software implementations require
the buffers to be aligned on 4-byte boundaries as they do 32-bit
loads.  However, it is not clear whether it is better to copy
the buffers or pay the penalty for unaligned loads/stores.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-07-06 13:52:09 -07:00
..
acpi
asm-alpha
asm-arm [PATCH] ARM: Fix new-ABI layout of struct stat64 2005-07-04 13:02:46 +01:00
asm-arm26
asm-cris
asm-frv
asm-generic
asm-h8300
asm-i386 [PATCH] x86: i8253/i8259A lock cleanup 2005-06-30 08:45:10 -07:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips
asm-parisc
asm-ppc [PATCH] ppc32: add Freescale MPC885ADS board support 2005-07-05 19:18:59 -07:00
asm-ppc64 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 2005-06-30 08:48:56 -07:00
asm-s390 [PATCH] s390: fix finish_arch_switch 2005-06-30 08:45:08 -07:00
asm-sh
asm-sh64
asm-sparc
asm-sparc64 [SPARC64]: Do proper DMA IRQ syncing on Tomatillo 2005-07-04 13:26:04 -07:00
asm-um
asm-v850
asm-x86_64 [PATCH] x86: i8253/i8259A lock cleanup 2005-06-30 08:45:10 -07:00
asm-xtensa [PATCH] xtensa: Fix asm macro 2005-06-30 08:45:11 -07:00
linux [CRYPTO] Add alignmask for low-level cipher implementations 2005-07-06 13:52:09 -07:00
math-emu
media
mtd
net [TCP]: Move to new TSO segmenting scheme. 2005-07-05 15:24:38 -07:00
pcmcia
rxrpc
scsi
sound
video