]> git.baikalelectronics.ru Git - kernel.git/commit
[CRYPTO] api: Kill crypto_km_types
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 1 Sep 2007 08:52:13 +0000 (16:52 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:44 +0000 (16:55 -0700)
commitfa8ce91e1a6fa0c076ef3e2938b93e787631b953
treeaa15277c4cf3316ed22772ddb45cfc888b131557
parentf19ffa03785b545dc22ec5812188a2c123743ddc
[CRYPTO] api: Kill crypto_km_types

When scatterwalk is built as a module digest.c was broken because it
requires the crypto_km_types structure which is in scatterwalk.  This
patch removes the crypto_km_types structure by encoding the logic into
crypto_kmap_type directly.

In fact, this even saves a few bytes of code (not to mention the data
structure itself) on i386 which is about the only place where it's
needed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/internal.h
crypto/scatterwalk.c