/systemd-251/src/cryptsetup/ |
D | cryptsetup-tpm2.c | 60 uint16_t primary_alg, in acquire_tpm2_key() argument 119 primary_alg, in acquire_tpm2_key() 142 primary_alg, in acquire_tpm2_key() 182 …uint16_t primary_alg = TPM2_ALG_ECC; /* ECC was the only supported algorithm in systemd < 250, use… in find_tpm2_auto_data() local 234 assert(primary_alg == TPM2_ALG_ECC); in find_tpm2_auto_data() 267 primary_alg = r; in find_tpm2_auto_data() 320 *ret_primary_alg = primary_alg; in find_tpm2_auto_data()
|
D | cryptsetup-tpm2.h | 19 uint16_t primary_alg, 56 uint16_t primary_alg, in acquire_tpm2_key() argument
|
D | cryptsetup.c | 1359 uint16_t pcr_bank, primary_alg; in attach_luks_or_plain_or_bitlk_by_tpm2() local 1368 &primary_alg, in attach_luks_or_plain_or_bitlk_by_tpm2() 1393 primary_alg, in attach_luks_or_plain_or_bitlk_by_tpm2()
|
/systemd-251/src/cryptsetup/cryptsetup-tokens/ |
D | luks2-tpm2.c | 18 uint16_t primary_alg, in acquire_luks2_key() argument 58 primary_alg, in acquire_luks2_key() 78 uint16_t pcr_bank = UINT16_MAX, primary_alg = TPM2_ALG_ECC; in parse_luks2_tpm2_data() local 140 primary_alg = r; in parse_luks2_tpm2_data() 170 *ret_primary_alg = primary_alg; in parse_luks2_tpm2_data()
|
D | cryptsetup-token-systemd-tpm2.c | 62 uint16_t pcr_bank, primary_alg; in cryptsetup_token_open() local 84 …r = parse_luks2_tpm2_data(json, params.search_pcr_mask, &pcr_mask, &pcr_bank, &primary_alg, &base6… in cryptsetup_token_open() 101 primary_alg, in cryptsetup_token_open() 144 uint16_t pcr_bank, primary_alg; in cryptsetup_token_dump() local 152 …r = parse_luks2_tpm2_data(json, UINT32_MAX, &pcr_mask, &pcr_bank, &primary_alg, &base64_blob, &hex… in cryptsetup_token_dump() 176 crypt_log(cd, "\ttpm2-primary-alg: %s\n", strna(tpm2_primary_alg_to_string(primary_alg))); in cryptsetup_token_dump()
|
D | luks2-tpm2.h | 12 uint16_t primary_alg,
|
/systemd-251/src/cryptenroll/ |
D | cryptenroll-tpm2.c | 141 uint16_t pcr_bank, primary_alg; in enroll_tpm2() local 160 …sk, pin_str, &secret, &secret_size, &blob, &blob_size, &hash, &hash_size, &pcr_bank, &primary_alg); in enroll_tpm2() 177 …r = tpm2_unseal(device, pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash, hash_size, pin_str… in enroll_tpm2() 203 …r = tpm2_make_luks2_json(keyslot, pcr_mask, pcr_bank, primary_alg, blob, blob_size, hash, hash_siz… in enroll_tpm2()
|
/systemd-251/src/shared/ |
D | tpm2-util.c | 843 TPMI_ALG_PUBLIC primary_alg; in tpm2_seal() local 883 r = tpm2_make_primary(c.esys_context, &primary, 0, &primary_alg); in tpm2_seal() 1019 *ret_primary_alg = primary_alg; in tpm2_seal() 1034 uint16_t primary_alg, in tpm2_unseal() argument 1096 r = tpm2_make_primary(c.esys_context, &primary, primary_alg, NULL); in tpm2_unseal() 1368 uint16_t primary_alg, in tpm2_make_luks2_json() argument 1413 …N(!!tpm2_primary_alg_to_string(primary_alg), "tpm2-primary-alg", JSON_BUILD_STRING(tpm2_primary_al… in tpm2_make_luks2_json()
|
D | tpm2-util.h | 48 int tpm2_unseal(const char *device, uint32_t pcr_mask, uint16_t pcr_bank, uint16_t primary_alg, con… 57 int tpm2_make_luks2_json(int keyslot, uint32_t pcr_mask, uint16_t pcr_bank, uint16_t primary_alg, c…
|
D | creds-util.c | 425 … le16_t primary_alg; /* Primary key algorithm (either TPM2_ALG_RSA or TPM2_ALG_ECC for now) */ member 689 t->primary_alg = htole16(tpm2_primary_alg); in encrypt_credential_and_warn() 854 if (!tpm2_primary_alg_to_string(le16toh(t->primary_alg))) in decrypt_credential_and_warn() 873 le16toh(t->primary_alg), in decrypt_credential_and_warn()
|
/systemd-251/src/partition/ |
D | repart.c | 2640 uint16_t pcr_bank, primary_alg; in partition_encrypt() local 2643 …_mask, NULL, &secret, &secret_size, &blob, &blob_size, &hash, &hash_size, &pcr_bank, &primary_alg); 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()
|