Home
last modified time | relevance | path

Searched refs:token_label (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/home/
Dhomework-pkcs11.c19 _cleanup_free_ char *token_label = NULL; in pkcs11_callback() local
42 token_label = pkcs11_token_label(token_info); in pkcs11_callback()
43 if (!token_label) in pkcs11_callback()
53 …no(SYNTHETIC_ERRNO(EIO), "Failed to log into security token '%s': %s", token_label, p11_kit_strerr… in pkcs11_callback()
55 …fo("Successfully logged into security token '%s' via protected authentication path.", token_label); in pkcs11_callback()
60 log_info("No login into security token '%s' required.", token_label); in pkcs11_callback()
70 … log_info("Successfully logged into security token '%s' with PIN.", token_label); in pkcs11_callback()
76 …no(SYNTHETIC_ERRNO(EIO), "Failed to log into security token '%s': %s", token_label, p11_kit_strerr… in pkcs11_callback()
/systemd-251/src/shared/
Dpkcs11-util.c182 const char *token_label, in pkcs11_token_login_by_pin() argument
195 … "Failed to log into security token '%s': %s", token_label, p11_kit_strerror(rv)); in pkcs11_token_login_by_pin()
197 …fo("Successfully logged into security token '%s' via protected authentication path.", token_label); in pkcs11_token_login_by_pin()
202 log_info("No login into security token '%s' required.", token_label); in pkcs11_token_login_by_pin()
211 log_info("Successfully logged into security token '%s'.", token_label); in pkcs11_token_login_by_pin()
217 … "PIN has been locked, please reset PIN of security token '%s'.", token_label); in pkcs11_token_login_by_pin()
220 … "Failed to log into security token '%s': %s", token_label, p11_kit_strerror(rv)); in pkcs11_token_login_by_pin()
224 token_label); in pkcs11_token_login_by_pin()
240 …up_free_ char *token_uri_string = NULL, *token_uri_escaped = NULL, *id = NULL, *token_label = NULL; in pkcs11_token_login() local
249 token_label = pkcs11_token_label(token_info); in pkcs11_token_login()
[all …]
Dpkcs11-util.h33 …K_SESSION_HANDLE session, const CK_TOKEN_INFO *token_info, const char *token_label, const void *pi…
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-pkcs11.c38 _cleanup_free_ char *token_label = NULL; in luks2_pkcs11_callback() local
47 token_label = pkcs11_token_label(token_info); in luks2_pkcs11_callback()
48 if (!token_label) in luks2_pkcs11_callback()
52 … r = pkcs11_token_login_by_pin(m, session, token_info, token_label, data->pin, data->pin_size); in luks2_pkcs11_callback()
69 "'%s' in order to unlock it (final try).", token_label); in luks2_pkcs11_callback()
73 token_label); in luks2_pkcs11_callback()