Lines Matching defs:err
10 #include <linux/err.h>
56 int err = 0;
60 if ((err = crypto_cipher_setkey(ctx->child, inkey, keylen)))
61 return err;
195 int err;
197 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask);
198 if (err)
199 return err;
206 err = crypto_grab_cipher(spawn, shash_crypto_instance(inst),
208 if (err)
212 err = -EINVAL;
216 err = crypto_inst_setname(shash_crypto_instance(inst), tmpl->name, alg);
217 if (err)
245 err = shash_register_instance(tmpl, inst);
246 if (err) {
250 return err;