Lines Matching refs:skp
428 struct sshsk_provider *skp = NULL; in sshsk_enroll() local
490 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_enroll()
496 if ((r = skp->sk_enroll(alg, challenge, challenge_len, application, in sshsk_enroll()
528 sshsk_free(skp); in sshsk_enroll()
613 struct sshsk_provider *skp = NULL; in sshsk_sign() local
647 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_sign()
652 if ((r = skp->sk_sign(alg, data, datalen, key->sk_application, in sshsk_sign()
701 sshsk_free(skp); in sshsk_sign()
731 struct sshsk_provider *skp = NULL; in sshsk_load_resident() local
749 if ((skp = sshsk_open(provider_path)) == NULL) { in sshsk_load_resident()
753 if ((r = skp->sk_load_resident_keys(pin, opts, &rks, &nrks)) != 0) { in sshsk_load_resident()
796 sshsk_free(skp); in sshsk_load_resident()