Lines Matching refs:slot
342 _cleanup_free_ char *slot = NULL; in parse_argv() local
345 … r = extract_first_word(&p, &slot, ",", EXTRACT_DONT_COALESCE_SEPARATORS); in parse_argv()
351 if (streq(slot, "all")) in parse_argv()
353 else if (streq(slot, "empty")) { in parse_argv()
356 } else if (streq(slot, "password")) in parse_argv()
358 else if (streq(slot, "recovery")) in parse_argv()
360 else if (streq(slot, "pkcs11")) in parse_argv()
362 else if (streq(slot, "fido2")) in parse_argv()
364 else if (streq(slot, "tpm2")) in parse_argv()
369 r = safe_atou(slot, &n); in parse_argv()
371 … return log_error_errno(r, "Failed to parse slot index: %s", slot); in parse_argv()
550 int slot, r; in run() local
572 slot = enroll_password(cd, vk, vks); in run()
576 slot = enroll_recovery(cd, vk, vks); in run()
580 slot = enroll_pkcs11(cd, vk, vks, arg_pkcs11_token_uri); in run()
584 … slot = enroll_fido2(cd, vk, vks, arg_fido2_device, arg_fido2_lock_with, arg_fido2_cred_alg); in run()
588 slot = enroll_tpm2(cd, vk, vks, arg_tpm2_device, arg_tpm2_pcr_mask, arg_tpm2_pin); in run()
602 if (slot < 0) in run()
603 return slot; in run()
606 … wipe_slots(cd, arg_wipe_slots, arg_n_wipe_slots, arg_wipe_slots_scope, arg_wipe_slots_mask, slot); in run()