Home
last modified time | relevance | path

Searched refs:options (Results 1 – 8 of 8) sorted by relevance

/security/keys/trusted-keys/
Dtrusted_tpm2.c32 struct trusted_key_options *options, in tpm2_key_encode() argument
56 if (options->blobauth_len == 0) { in tpm2_key_encode()
75 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
97 struct trusted_key_options *options, in tpm2_key_decode() argument
119 options->keyhandle = ctx.parent; in tpm2_key_decode()
229 struct trusted_key_options *options) in tpm2_seal_trusted() argument
239 if (options->hash == tpm2_hash_map[i].crypto_id) { in tpm2_seal_trusted()
248 if (!options->keyhandle) in tpm2_seal_trusted()
261 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
265 options->keyauth /* hmac */, in tpm2_seal_trusted()
[all …]
Dtrusted_tpm1.c870 struct trusted_key_options *options; in trusted_options_alloc() local
877 options = kzalloc(sizeof *options, GFP_KERNEL); in trusted_options_alloc()
878 if (options) { in trusted_options_alloc()
880 options->keytype = SRK_keytype; in trusted_options_alloc()
883 options->keyhandle = SRKHANDLE; in trusted_options_alloc()
885 return options; in trusted_options_alloc()
890 struct trusted_key_options *options = NULL; in trusted_tpm_seal() local
898 options = trusted_options_alloc(); in trusted_tpm_seal()
899 if (!options) in trusted_tpm_seal()
902 ret = getoptions(datablob, p, options); in trusted_tpm_seal()
[all …]
/security/apparmor/
DKconfig50 provide fine grained control of the debug options that are
/security/
DKconfig6 menu "Security options"
DKconfig.hardening2 menu "Kernel hardening options"
Dsecurity.c940 int security_sb_eat_lsm_opts(char *options, void **mnt_opts) in security_sb_eat_lsm_opts() argument
942 return call_int_hook(sb_eat_lsm_opts, 0, options, mnt_opts); in security_sb_eat_lsm_opts()
/security/smack/
Dsmack_lsm.c695 static int smack_sb_eat_lsm_opts(char *options, void **mnt_opts) in smack_sb_eat_lsm_opts() argument
697 char *from = options, *to = options; in smack_sb_eat_lsm_opts()
/security/selinux/
Dhooks.c2642 static int selinux_sb_eat_lsm_opts(char *options, void **mnt_opts) in selinux_sb_eat_lsm_opts() argument
2644 char *from = options; in selinux_sb_eat_lsm_opts()
2645 char *to = options; in selinux_sb_eat_lsm_opts()