Home
last modified time | relevance | path

Searched refs:FIDO2ENROLL_PIN (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/shared/
Dlibfido2-util.c238 if (!has_client_pin && FLAGS_SET(required, FIDO2ENROLL_PIN)) in fido2_use_hmac_hash_specific_token()
315 if (FLAGS_SET(required, FIDO2ENROLL_PIN)) { in fido2_use_hmac_hash_specific_token()
374 if (FLAGS_SET(required, FIDO2ENROLL_PIN) && !strv_isempty(pins)) in fido2_use_hmac_hash_specific_token()
378 … if ((required & (FIDO2ENROLL_PIN|FIDO2ENROLL_PIN_IF_NEEDED)) == FIDO2ENROLL_PIN_IF_NEEDED) { in fido2_use_hmac_hash_specific_token()
404 required |= FIDO2ENROLL_PIN; in fido2_use_hmac_hash_specific_token()
589 assert((lock_with & ~(FIDO2ENROLL_PIN|FIDO2ENROLL_UP|FIDO2ENROLL_UV)) == 0); in fido2_generate_hmac_hash()
617 if (!has_client_pin && FLAGS_SET(lock_with, FIDO2ENROLL_PIN)) { in fido2_generate_hmac_hash()
619 lock_with &= ~FIDO2ENROLL_PIN; in fido2_generate_hmac_hash()
814 … r = sym_fido_dev_get_assert(d, a, FLAGS_SET(lock_with, FIDO2ENROLL_PIN) ? used_pin : NULL); in fido2_generate_hmac_hash()
859 if (FLAGS_SET(lock_with, FIDO2ENROLL_PIN)) in fido2_generate_hmac_hash()
[all …]
Dlibfido2-util.h7 FIDO2ENROLL_PIN = 1 << 0, enumerator
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-fido2.c43 if ((required & FIDO2ENROLL_PIN) && strv_isempty(pins)) in acquire_luks2_key()
131 SET_FLAG(required, FIDO2ENROLL_PIN, json_variant_boolean(w)); in parse_luks2_fido2_data()
Dcryptsetup-token-systemd-fido2.c119 if (required & FIDO2ENROLL_PIN) in cryptsetup_token_dump()
/systemd-251/src/cryptsetup/
Dcryptsetup-fido2.c79 if (!FLAGS_SET(required, FIDO2ENROLL_PIN) || pins) { in acquire_fido2_key()
219 SET_FLAG(required, FIDO2ENROLL_PIN, json_variant_boolean(w)); in find_fido2_auto_data()
Dcryptsetup.c967 … if ((required & (FIDO2ENROLL_PIN | FIDO2ENROLL_UP | FIDO2ENROLL_UV)) && arg_headless) in attach_luks_or_plain_or_bitlk_by_fido2()
/systemd-251/src/home/
Dhomework-fido2.c52 flags |= FIDO2ENROLL_PIN; in fido2_use_token()
Dhomectl-fido2.c94 … JSON_BUILD_PAIR("clientPin", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PIN))))); in add_fido2_salt()
Dhomectl.c63 static Fido2EnrollFlags arg_fido2_lock_with = FIDO2ENROLL_PIN | FIDO2ENROLL_UP;
3539 SET_FLAG(arg_fido2_lock_with, FIDO2ENROLL_PIN, lock_with_pin); in parse_argv()
/systemd-251/src/cryptenroll/
Dcryptenroll.c41 static Fido2EnrollFlags arg_fido2_lock_with = FIDO2ENROLL_PIN | FIDO2ENROLL_UP;
182 SET_FLAG(arg_fido2_lock_with, FIDO2ENROLL_PIN, lock_with_pin); in parse_argv()
Dcryptenroll-fido2.c84 …_BUILD_PAIR("fido2-clientPin-required", JSON_BUILD_BOOLEAN(FLAGS_SET(lock_with, FIDO2ENROLL_PIN))), in enroll_fido2()