Lines Matching refs:hash
14 #include <crypto/hash.h>
31 char *hash;
37 hash = kzalloc(apparmor_hash_size, GFP_KERNEL);
38 if (!hash)
49 error = crypto_shash_final(desc, hash);
53 return hash;
56 kfree(hash);
74 profile->hash = kzalloc(apparmor_hash_size, GFP_KERNEL);
75 if (!profile->hash)
89 error = crypto_shash_final(desc, profile->hash);
96 kfree(profile->hash);
97 profile->hash = NULL;