Loading crypto/ablkcipher.c +8 −0 Original line number Diff line number Diff line Loading @@ -586,6 +586,13 @@ static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask) if (!tmpl) goto kill_larval; if (tmpl->create) { err = tmpl->create(tmpl, tb); if (err) goto put_tmpl; goto ok; } inst = tmpl->alloc(tb); err = PTR_ERR(inst); if (IS_ERR(inst)) Loading @@ -597,6 +604,7 @@ static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask) goto put_tmpl; } ok: /* Redo the lookup to use the instance we just registered. */ err = -EAGAIN; Loading Loading
crypto/ablkcipher.c +8 −0 Original line number Diff line number Diff line Loading @@ -586,6 +586,13 @@ static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask) if (!tmpl) goto kill_larval; if (tmpl->create) { err = tmpl->create(tmpl, tb); if (err) goto put_tmpl; goto ok; } inst = tmpl->alloc(tb); err = PTR_ERR(inst); if (IS_ERR(inst)) Loading @@ -597,6 +604,7 @@ static int crypto_givcipher_default(struct crypto_alg *alg, u32 type, u32 mask) goto put_tmpl; } ok: /* Redo the lookup to use the instance we just registered. */ err = -EAGAIN; Loading