Lines Matching defs:error
32 int error;
43 error = crypto_shash_init(desc);
44 if (error)
46 error = crypto_shash_update(desc, (u8 *) data, len);
47 if (error)
49 error = crypto_shash_final(desc, hash);
50 if (error)
58 return ERR_PTR(error);
65 int error;
80 error = crypto_shash_init(desc);
81 if (error)
83 error = crypto_shash_update(desc, (u8 *) &le32_version, 4);
84 if (error)
86 error = crypto_shash_update(desc, (u8 *) start, len);
87 if (error)
89 error = crypto_shash_final(desc, profile->hash);
90 if (error)
99 return error;
111 int error = PTR_ERR(tfm);
112 AA_ERROR("failed to setup profile sha256 hashing: %d\n", error);
113 return error;