crypto: omap-aes - permit asynchronous skcipher as fallback
[linux-2.6-block.git] / drivers / crypto / omap-aes.h
index 2d111bf906e1dd18e8f7b39b40663f80b9a05497..23d073e87bb8cb59212703c20581270a9f92b901 100644 (file)
@@ -97,7 +97,7 @@ struct omap_aes_ctx {
        int             keylen;
        u32             key[AES_KEYSIZE_256 / sizeof(u32)];
        u8              nonce[4];
-       struct crypto_sync_skcipher     *fallback;
+       struct crypto_skcipher  *fallback;
 };
 
 struct omap_aes_gcm_ctx {
@@ -110,6 +110,7 @@ struct omap_aes_reqctx {
        unsigned long mode;
        u8 iv[AES_BLOCK_SIZE];
        u32 auth_tag[AES_BLOCK_SIZE / sizeof(u32)];
+       struct skcipher_request fallback_req;   // keep at the end
 };
 
 #define OMAP_AES_QUEUE_LENGTH  1