crypto: sa2ul - Reduce stack usage
[linux-2.6-microblaze.git] / drivers / crypto / sa2ul.h
index 7f7e3fe..bb40df3 100644 (file)
 #ifndef _K3_SA2UL_
 #define _K3_SA2UL_
 
-#include <linux/interrupt.h>
-#include <linux/skbuff.h>
-#include <linux/hw_random.h>
 #include <crypto/aes.h>
+#include <crypto/sha.h>
 
 #define SA_ENGINE_ENABLE_CONTROL       0x1000
 
@@ -311,7 +309,7 @@ struct sa_tfm_ctx {
        struct crypto_shash     *shash;
        /* for fallback */
        union {
-               struct crypto_sync_skcipher     *skcipher;
+               struct crypto_skcipher          *skcipher;
                struct crypto_ahash             *ahash;
                struct crypto_aead              *aead;
        } fallback;