/* * AppArmor security module * * This file contains AppArmor policy loading interface function definitions. * * Copyright 2013 Canonical Ltd. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation, version 2 of the * License. */ #ifndef __APPARMOR_CRYPTO_H #define __APPARMOR_CRYPTO_H #include "policy.h" #ifdef CONFIG_SECURITY_APPARMOR_HASH unsigned int aa_hash_size(void); char *aa_calc_hash(void *data, size_t len); int aa_calc_profile_hash(struct aa_profile *profile, u32 version, void *start, size_t len); #else
static inline char *aa_calc_hash(void *data, size_t len) { return NULL; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Johansen | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Johansen | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Johansen | 13 | 100.00% | 1 | 100.00% |
Total | 13 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
John Johansen | 114 | 100.00% | 2 | 100.00% |
Total | 114 | 100.00% | 2 | 100.00% |