Lines Matching refs:token_label

182                 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()
250 if (!token_label) in pkcs11_token_login()
261 r = pkcs11_token_login_by_pin(m, session, token_info, token_label, /* pin= */ NULL, 0); in pkcs11_token_login()
296 token_label, friendly_name); in pkcs11_token_login()
300 token_label, friendly_name); in pkcs11_token_login()
304 token_label, friendly_name); in pkcs11_token_login()
308 token_label, friendly_name, tries+1); in pkcs11_token_login()
315 … return log_error_errno(r, "Failed to query PIN for security token '%s': %m", token_label); in pkcs11_token_login()
319 … r = pkcs11_token_login_by_pin(m, session, token_info, token_label, *i, strlen(*i)); in pkcs11_token_login()
344 … log_error_errno(SYNTHETIC_ERRNO(EPERM), "Too many attempts to log into token '%s'.", token_label); in pkcs11_token_login()
748 _cleanup_free_ char *token_label = NULL; in token_process() local
757 token_label = pkcs11_token_label(token_info); in token_process()
758 if (!token_label) in token_process()
764 … "Failed to create session for security token '%s': %s", token_label, p11_kit_strerror(rv)); in token_process()
1056 …_cleanup_free_ char *token_uri_string = NULL, *token_label = NULL, *token_manufacturer_id = NULL, … in list_callback() local
1071 token_label = pkcs11_token_label(token_info); in list_callback()
1072 if (!token_label) in list_callback()
1094 TABLE_STRING, token_label, in list_callback()