Lines Matching defs:err
15 #include <linux/err.h>
58 int i, err = 0;
61 err = crypto_cipher_setkey(ctx->child, inkey, keylen);
62 if (err)
63 return err;
229 int err;
231 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask);
232 if (err)
233 return err;
240 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst),
242 if (err)
251 err = -EINVAL;
255 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
256 if (err)
286 err = shash_register_instance(tmpl, inst);
287 if (err) {
291 return err;