[PATCH 0/16] crypto: Only use common fields on skcipher spawn algs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The lskcipher conversion broke essiv.  The superficial reason is
that it was missed during the lskcipher addition as it does something
similar to cryptd by being capable of both creating skciphers as well
as aead algorithms.

However, this also revealed that users of skcipher spawns were
dereferencing fields that may be specific to skcipher_alg.  This
is invalid as the underlying algorithm may be an lskcipher_alg.
Only fields in skcipher_alg_common may be used.

This series adds the necessary helper for this and converts all
users of skcipher spawns to use the new helper.

The first patch is a left-over from the previous series and simply
converts arc4 to an lskcipher.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux