Home
last modified time | relevance | path

Searched refs:pins (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/cryptsetup/
Dcryptsetup-fido2.c34 _cleanup_strv_free_erase_ char **pins = NULL; in acquire_fido2_key() local
73 pins = strv_new(envpw); in acquire_fido2_key()
74 if (!pins) in acquire_fido2_key()
79 if (!FLAGS_SET(required, FIDO2ENROLL_PIN) || pins) { in acquire_fido2_key()
85 pins, in acquire_fido2_key()
115 pins = strv_free_erase(pins); in acquire_fido2_key()
116 …:", "drive-harddisk", NULL, "fido2-pin", "cryptsetup.fido2-pin", until, ask_password_flags, &pins); in acquire_fido2_key()
Dcryptsetup.c834 _cleanup_strv_free_erase_ char **pins = NULL; in acquire_pins_from_env_variable() local
843 pins = strv_new(envpin); in acquire_pins_from_env_variable()
844 if (!pins) in acquire_pins_from_env_variable()
848 *ret_pins = TAKE_PTR(pins); in acquire_pins_from_env_variable()
864 _cleanup_strv_free_erase_ char **pins = NULL; in attach_luks2_by_fido2_via_plugin() local
873 r = acquire_pins_from_env_variable(&pins); in attach_luks2_by_fido2_via_plugin()
877 STRV_FOREACH(p, pins) { in attach_luks2_by_fido2_via_plugin()
889 pins = strv_free_erase(pins); in attach_luks2_by_fido2_via_plugin()
890 …ity token PIN:", "drive-harddisk", NULL, "fido2-pin", "cryptsetup.fido2-pin", until, flags, &pins); in attach_luks2_by_fido2_via_plugin()
894 STRV_FOREACH(p, pins) { in attach_luks2_by_fido2_via_plugin()
/systemd-251/src/home/
Dhomectl-pkcs11.c102 _cleanup_(strv_free_erasep) char **pins = NULL; in identity_add_token_pin()
113 r = json_variant_strv(l, &pins); in identity_add_token_pin()
117 if (strv_contains(pins, pin)) in identity_add_token_pin()
120 r = strv_extend(&pins, pin); in identity_add_token_pin()
124 strv_uniq(pins); in identity_add_token_pin()
128 r = json_variant_new_array_strv(&l, pins); in identity_add_token_pin()
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-fido2.c27 _cleanup_strv_free_erase_ char **pins = NULL; in acquire_luks2_key() local
37 pins = strv_new(pin); in acquire_luks2_key()
38 if (!pins) in acquire_luks2_key()
43 if ((required & FIDO2ENROLL_PIN) && strv_isempty(pins)) in acquire_luks2_key()
51 pins, in acquire_luks2_key()
/systemd-251/src/shared/
Dlibfido2-util.c205 char **pins, in fido2_use_hmac_hash_specific_token() argument
317 if (strv_isempty(pins)) in fido2_use_hmac_hash_specific_token()
320 STRV_FOREACH(i, pins) { in fido2_use_hmac_hash_specific_token()
374 if (FLAGS_SET(required, FIDO2ENROLL_PIN) && !strv_isempty(pins)) in fido2_use_hmac_hash_specific_token()
474 char **pins, in fido2_use_hmac_hash() argument
488 …e_hmac_hash_specific_token(device, rp_id, salt, salt_size, cid, cid_size, pins, required, ret_hmac… in fido2_use_hmac_hash()
523 …use_hmac_hash_specific_token(path, rp_id, salt, salt_size, cid, cid_size, pins, required, ret_hmac… in fido2_use_hmac_hash()
Dlibfido2-util.h97 char **pins,
/systemd-251/
DNEWS6030 i.e. whether the slot object pins the bus it is allocated for into