crypto: skcipher - pass instance to crypto_grab_skcipher()
[linux-2.6-block.git] / crypto / skcipher.c
index 89137a197fc8f5c68eb7b31c1d2c5e8c953e5b00..8759d473a154e40df180489602fd92551a94a34d 100644 (file)
@@ -747,8 +747,10 @@ static const struct crypto_type crypto_skcipher_type = {
 };
 
 int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
-                         const char *name, u32 type, u32 mask)
+                        struct crypto_instance *inst,
+                        const char *name, u32 type, u32 mask)
 {
+       spawn->base.inst = inst;
        spawn->base.frontend = &crypto_skcipher_type;
        return crypto_grab_spawn(&spawn->base, name, type, mask);
 }