Home
last modified time | relevance | path

Searched refs:secret_size (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/home/
Dhomectl-fido2.c71 size_t secret_size, in add_fido2_salt() argument
80 r = base64mem(secret, secret_size, &base64_encoded); in add_fido2_salt()
128 size_t cid_size, salt_size, secret_size; in identity_add_fido2_parameters() local
172 &secret, &secret_size, in identity_add_fido2_parameters()
192 secret_size, in identity_add_fido2_parameters()
/systemd-251/src/cryptenroll/
Dcryptenroll-tpm2.c139 size_t secret_size, secret2_size, blob_size, hash_size; in enroll_tpm2() local
160 …r = tpm2_seal(device, pcr_mask, pin_str, &secret, &secret_size, &blob, &blob_size, &hash, &hash_si… in enroll_tpm2()
181 if (memcmp_nn(secret, secret_size, secret2, secret2_size) != 0) in enroll_tpm2()
185 r = base64mem(secret, secret_size, &base64_encoded); in enroll_tpm2()
Dcryptenroll-fido2.c22 size_t cid_size, salt_size, secret_size; in enroll_fido2() local
49 &secret, &secret_size, in enroll_fido2()
56 r = base64mem(secret, secret_size, &base64_encoded); in enroll_fido2()
/systemd-251/src/shared/
Dlibfido2-util.c563 size_t cid_size, secret_size; in fido2_generate_hmac_hash() local
897 secret_size = sym_fido_assert_hmac_secret_len(a, 0); in fido2_generate_hmac_hash()
899 secret_copy = memdup(secret, secret_size); in fido2_generate_hmac_hash()
912 *ret_secret_size = secret_size; in fido2_generate_hmac_hash()
/systemd-251/src/partition/
Drepart.c2639 size_t secret_size, blob_size, hash_size; in partition_encrypt() local
2643 …r = tpm2_seal(arg_tpm2_device, arg_tpm2_pcr_mask, NULL, &secret, &secret_size, &blob, &blob_size, … in partition_encrypt()
2647 r = base64mem(secret, secret_size, &base64_encoded); in partition_encrypt()