Lines Matching refs:skp
483 struct sshsk_provider *skp = NULL; in sshsk_enroll() local
544 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_enroll()
550 if ((r = skp->sk_enroll(alg, challenge, challenge_len, application, in sshsk_enroll()
571 sshsk_free(skp); in sshsk_enroll()
656 struct sshsk_provider *skp = NULL; in sshsk_sign() local
690 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_sign()
700 if ((r = skp->sk_sign(alg, data, datalen, key->sk_application, in sshsk_sign()
749 sshsk_free(skp); in sshsk_sign()
805 struct sshsk_provider *skp = NULL; in sshsk_load_resident() local
824 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_load_resident()
828 if ((r = skp->sk_load_resident_keys(pin, opts, &rks, &nrks)) != 0) { in sshsk_load_resident()
886 sshsk_free(skp); in sshsk_load_resident()