Lines Matching refs:provider_id
146 pkcs11_provider_lookup(char *provider_id) in pkcs11_provider_lookup() argument
152 if (!strcmp(provider_id, p->name)) in pkcs11_provider_lookup()
160 pkcs11_del_provider(char *provider_id) in pkcs11_del_provider() argument
164 if ((p = pkcs11_provider_lookup(provider_id)) != NULL) { in pkcs11_del_provider()
567 pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp) in pkcs11_add_provider() argument
579 if (pkcs11_provider_lookup(provider_id) != NULL) { in pkcs11_add_provider()
581 __func__, provider_id); in pkcs11_add_provider()
585 if ((handle = dlopen(provider_id, RTLD_NOW)) == NULL) { in pkcs11_add_provider()
586 error("dlopen %s failed: %s", provider_id, dlerror()); in pkcs11_add_provider()
594 p->name = xstrdup(provider_id); in pkcs11_add_provider()
599 provider_id, rv); in pkcs11_add_provider()
605 provider_id, rv); in pkcs11_add_provider()
611 provider_id, rv); in pkcs11_add_provider()
618 provider_id, in pkcs11_add_provider()
631 provider_id); in pkcs11_add_provider()
638 provider_id, rv); in pkcs11_add_provider()
649 "failed: %lu", provider_id, (unsigned long)i, rv); in pkcs11_add_provider()
655 provider_id, (unsigned long)i); in pkcs11_add_provider()
664 provider_id, (unsigned long)i, in pkcs11_add_provider()
676 debug("%s: provider %s returned no keys", __func__, provider_id); in pkcs11_add_provider()
681 provider_id, rv); in pkcs11_add_provider()