linux/include
Herbert Xu 6d7d684d63 [CRYPTO] api: Added crypto_alloc_base
Up until now all crypto transforms have been of the same type, struct
crypto_tfm, regardless of whether they are ciphers, digests, or other
types.  As a result of that, we check the types at run-time before
each crypto operation.

This is rather cumbersome.  We could instead use different C types for
each crypto type to ensure that the correct types are used at compile
time.  That is, we would have crypto_cipher/crypto_digest instead of
just crypto_tfm.  The appropriate type would then be required for the
actual operations such as crypto_digest_digest.

Now that we have the type/mask fields when looking up algorithms, it
is easy to request for an algorithm of the precise type that the user
wants.  However, crypto_alloc_tfm currently does not expose these new
attributes.

This patch introduces the function crypto_alloc_base which will carry
these new parameters.  It will be renamed to crypto_alloc_tfm once
all existing users have been converted.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2006-09-21 11:41:50 +10:00
..
acpi
asm-alpha [PATCH] Fix 'make headers_check' for Alpha 2006-09-16 12:54:32 -07:00
asm-arm [ARM] 3815/1: headers_install support for ARM 2006-09-18 16:28:50 +01:00
asm-arm26
asm-cris
asm-frv
asm-generic [PATCH] headers_check: remove <asm/timex.h> from user export 2006-09-13 07:32:15 -07:00
asm-h8300
asm-i386 x86: save/restore eflags in context switch 2006-09-18 16:20:40 -07:00
asm-ia64 [PATCH] Fix 'make headers_check' on ia64 2006-09-16 12:54:32 -07:00
asm-m32r
asm-m68k [PATCH] Fix 'make headers_check' on ia64 2006-09-19 07:59:59 -07:00
asm-m68knommu
asm-mips [PATCH] headers_check: fix userspace build of asm-mips/page.h 2006-09-13 07:32:16 -07:00
asm-parisc [PATCH] headers_check: Clean up asm-parisc/page.h for user headers 2006-09-19 07:59:59 -07:00
asm-powerpc [POWERPC] Fix MMIO ops to provide expected barrier behaviour 2006-09-13 22:08:26 +10:00
asm-ppc [POWERPC] Fix MMIO ops to provide expected barrier behaviour 2006-09-13 22:08:26 +10:00
asm-s390 [PATCH] Fix 'make headers_check' on s390 2006-09-16 12:54:31 -07:00
asm-sh [PATCH] sh: fix FPN_START typo 2006-09-08 10:22:50 -07:00
asm-sh64 sh64: Use generic BUG_ON()/WARN_ON(). 2006-09-12 14:38:23 +09:00
asm-sparc [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
asm-sparc64 [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
asm-um
asm-v850
asm-x86_64 [PATCH] Fix 'make headers_check' on x86_64 2006-09-16 12:54:32 -07:00
asm-xtensa
crypto [CRYPTO] api: Add common instance initialisation code 2006-09-21 11:41:04 +10:00
keys
linux [CRYPTO] api: Added crypto_alloc_base 2006-09-21 11:41:50 +10:00
math-emu
media V4L/DVB (4605): Fixes an issue with V4L1 and make headers-install 2006-09-10 13:45:55 -03:00
mtd
net [IPSEC]: Move linux/crypto.h inclusion out of net/xfrm.h 2006-09-21 11:16:30 +10:00
pcmcia
rdma
rxrpc
scsi
sound
video
Kbuild