/systemd-251/src/home/ ! |
D | homectl-fido2.c | 24 size_t cid_size) { in add_fido2_credential_id() argument 34 r = base64mem(cid, cid_size, &escaped); in add_fido2_credential_id() 67 size_t cid_size, in add_fido2_salt() argument 89 … JSON_BUILD_PAIR("credential", JSON_BUILD_BASE64(cid, cid_size)), in add_fido2_salt() 128 size_t cid_size, salt_size, secret_size; in identity_add_fido2_parameters() local 170 &cid, &cid_size, in identity_add_fido2_parameters() 181 cid_size); in identity_add_fido2_parameters() 188 cid_size, in identity_add_fido2_parameters()
|
/systemd-251/src/cryptsetup/cryptsetup-tokens/ ! |
D | luks2-fido2.c | 22 size_t cid_size, salt_size, decrypted_key_size; in acquire_luks2_key() local 32 r = parse_luks2_fido2_data(cd, json, &rp_id, &salt, &salt_size, &cid, &cid_size, &required); in acquire_luks2_key() 50 cid, cid_size, in acquire_luks2_key() 83 size_t cid_size = 0, salt_size = 0; in parse_luks2_fido2_data() local 106 r = unbase64mem(json_variant_string(w), SIZE_MAX, &cid, &cid_size); in parse_luks2_fido2_data() 151 *ret_cid_size = cid_size; in parse_luks2_fido2_data()
|
D | cryptsetup-token-systemd-fido2.c | 100 size_t cid_size, salt_size; in cryptsetup_token_dump() local 107 r = parse_luks2_fido2_data(cd, json, &rp_id, &salt, &salt_size, &cid, &cid_size, &required); in cryptsetup_token_dump() 111 r = crypt_dump_buffer_to_hex_string(cid, cid_size, &cid_str); in cryptsetup_token_dump()
|
/systemd-251/src/cryptsetup/ ! |
D | cryptsetup-fido2.c | 20 size_t cid_size, in acquire_fido2_key() argument 84 cid, cid_size, in acquire_fido2_key() 135 size_t cid_size = 0, salt_size = 0; in find_fido2_auto_data() local 181 r = unbase64mem(json_variant_string(w), SIZE_MAX, &cid, &cid_size); in find_fido2_auto_data() 256 *ret_cid_size = cid_size; in find_fido2_auto_data()
|
D | cryptsetup-fido2.h | 19 size_t cid_size, 50 size_t cid_size, in acquire_fido2_key() argument
|
D | cryptsetup.c | 341 size_t cid_size; in parse_one_option() local 343 r = unbase64mem(val, SIZE_MAX, &cid, &cid_size); in parse_one_option() 349 arg_fido2_cid_size = cid_size; in parse_one_option() 924 size_t discovered_salt_size, discovered_cid_size, decrypted_key_size, cid_size = 0; in attach_luks_or_plain_or_bitlk_by_fido2() local 943 cid_size = arg_fido2_cid_size; in attach_luks_or_plain_or_bitlk_by_fido2() 975 cid_size = discovered_cid_size; in attach_luks_or_plain_or_bitlk_by_fido2() 995 cid, cid_size, in attach_luks_or_plain_or_bitlk_by_fido2()
|
/systemd-251/src/cryptenroll/ ! |
D | cryptenroll-fido2.c | 22 size_t cid_size, salt_size, secret_size; in enroll_fido2() local 47 &cid, &cid_size, in enroll_fido2() 81 … JSON_BUILD_PAIR("fido2-credential", JSON_BUILD_BASE64(cid, cid_size)), in enroll_fido2()
|
/systemd-251/src/shared/ ! |
D | libfido2-util.c | 204 size_t cid_size, in fido2_use_hmac_hash_specific_token() argument 277 r = sym_fido_assert_allow_cred(a, cid, cid_size); in fido2_use_hmac_hash_specific_token() 473 size_t cid_size, in fido2_use_hmac_hash() argument 488 …fido2_use_hmac_hash_specific_token(device, rp_id, salt, salt_size, cid, cid_size, pins, required, … in fido2_use_hmac_hash() 523 …r = fido2_use_hmac_hash_specific_token(path, rp_id, salt, salt_size, cid, cid_size, pins, required… in fido2_use_hmac_hash() 563 size_t cid_size, secret_size; in fido2_generate_hmac_hash() local 750 cid_size = sym_fido_cred_id_len(c); in fido2_generate_hmac_hash() 776 r = sym_fido_assert_allow_cred(a, cid, cid_size); in fido2_generate_hmac_hash() 903 cid_copy = memdup(cid, cid_size); in fido2_generate_hmac_hash() 908 *ret_cid_size = cid_size; in fido2_generate_hmac_hash()
|
D | libfido2-util.h | 96 size_t cid_size,
|