Searched refs:arg_tpm2_pcr_mask (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/cryptenroll/ |
D | cryptenroll.c | 34 static uint32_t arg_tpm2_pcr_mask = UINT32_MAX; variable 308 arg_tpm2_pcr_mask = 0; in parse_argv() 316 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 317 arg_tpm2_pcr_mask = mask; in parse_argv() 319 arg_tpm2_pcr_mask |= mask; in parse_argv() 406 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 407 arg_tpm2_pcr_mask = TPM2_PCR_MASK_DEFAULT; in parse_argv() 588 slot = enroll_tpm2(cd, vk, vks, arg_tpm2_device, arg_tpm2_pcr_mask, arg_tpm2_pin); in run()
|
/systemd-251/src/creds/ |
D | creds.c | 45 static uint32_t arg_tpm2_pcr_mask = UINT32_MAX; variable 492 arg_tpm2_pcr_mask, in verb_encrypt() 837 arg_tpm2_pcr_mask = 0; in parse_argv() 846 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 847 arg_tpm2_pcr_mask = mask; in parse_argv() 849 arg_tpm2_pcr_mask |= mask; in parse_argv() 893 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 894 arg_tpm2_pcr_mask = TPM2_PCR_MASK_DEFAULT; in parse_argv()
|
/systemd-251/src/cryptsetup/ |
D | cryptsetup.c | 85 static uint32_t arg_tpm2_pcr_mask = UINT32_MAX; variable 378 arg_tpm2_pcr_mask = 0; in parse_one_option() 386 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_one_option() 387 arg_tpm2_pcr_mask = mask; in parse_one_option() 389 arg_tpm2_pcr_mask |= mask; in parse_one_option() 1259 .search_pcr_mask = arg_tpm2_pcr_mask, in attach_luks2_by_tpm2_via_plugin() 1309 … arg_tpm2_pcr_mask == UINT32_MAX ? TPM2_PCR_MASK_DEFAULT : arg_tpm2_pcr_mask, in attach_luks_or_plain_or_bitlk_by_tpm2() 1364 … arg_tpm2_pcr_mask, /* if != UINT32_MAX we'll only look for tokens with this PCR mask */ in attach_luks_or_plain_or_bitlk_by_tpm2()
|
/systemd-251/src/partition/ |
D | repart.c | 113 static uint32_t arg_tpm2_pcr_mask = UINT32_MAX; variable 2643 …r = tpm2_seal(arg_tpm2_device, arg_tpm2_pcr_mask, NULL, &secret, &secret_size, &blob, &blob_size, … in partition_encrypt() 2665 …r = tpm2_make_luks2_json(keyslot, arg_tpm2_pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash,… in partition_encrypt() 4333 arg_tpm2_pcr_mask = 0; in parse_argv() 4341 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 4342 arg_tpm2_pcr_mask = mask; in parse_argv() 4344 arg_tpm2_pcr_mask |= mask; in parse_argv() 4400 if (arg_tpm2_pcr_mask == UINT32_MAX) in parse_argv() 4401 arg_tpm2_pcr_mask = TPM2_PCR_MASK_DEFAULT; in parse_argv()
|