The spin lock in geniv hasn't been used in over 10 years. Remove it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
struct crypto_aead *child;
int err;
- spin_lock_init(&ctx->lock);
-
err = crypto_stdrng_get_bytes(ctx->salt, crypto_aead_ivsize(aead));
if (err)
goto out;
#define _CRYPTO_INTERNAL_GENIV_H
#include <crypto/internal/aead.h>
-#include <linux/spinlock.h>
#include <linux/types.h>
struct aead_geniv_ctx {
- spinlock_t lock;
struct crypto_aead *child;
u8 salt[] __attribute__ ((aligned(__alignof__(u32))));
};