Home
last modified time | relevance | path

Searched refs:sig_details (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/sshsig/
H A Dtests.c60 struct sshkey_sig_details *sig_details; in check_sig() local
65 sig_details = NULL; in check_sig()
69 &sign_key, &sig_details), 0); in check_sig()
73 sshkey_sig_details_free(sig_details); in check_sig()
/freebsd/crypto/openssh/
H A Dsshsig.c302 struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details) in sshsig_wrap_verify() argument
312 if (sig_details != NULL) in sshsig_wrap_verify()
313 *sig_details = NULL; in sshsig_wrap_verify()
379 sshbuf_len(toverify), NULL, 0, sig_details)) != 0) { in sshsig_wrap_verify()
472 struct sshkey_sig_details **sig_details) in sshsig_verifyb() argument
478 if (sig_details != NULL) in sshsig_verifyb()
479 *sig_details = NULL; in sshsig_verifyb()
490 sign_keyp, sig_details)) != 0) in sshsig_verifyb()
600 struct sshkey_sig_details **sig_details) in sshsig_verify_fd() argument
606 if (sig_details != NULL) in sshsig_verify_fd()
[all …]
H A Dauth2-pubkey.c100 struct sshkey_sig_details *sig_details = NULL; in userauth_pubkey() local
226 ssh->compat, &sig_details)) == 0) { in userauth_pubkey()
229 if (authenticated == 1 && sig_details != NULL) { in userauth_pubkey()
231 sig_details->sk_counter); in userauth_pubkey()
233 sig_details->sk_counter, sig_details->sk_flags); in userauth_pubkey()
237 if (req_presence && (sig_details->sk_flags & in userauth_pubkey()
252 if (req_verify && (sig_details->sk_flags & in userauth_pubkey()
312 sshkey_sig_details_free(sig_details); in userauth_pubkey()
H A Dsshsig.h49 struct sshkey **sign_keyp, struct sshkey_sig_details **sig_details);
70 struct sshkey_sig_details **sig_details);
H A Dmonitor.c1402 struct sshkey_sig_details *sig_details = NULL; in mm_answer_keyverify() local
1448 sigalg, ssh->compat, &sig_details); in mm_answer_keyverify()
1454 if (ret == 0 && key_blobtype == MM_USERKEY && sig_details != NULL) { in mm_answer_keyverify()
1459 (sig_details->sk_flags & SSH_SK_USER_PRESENCE_REQD) == 0) { in mm_answer_keyverify()
1472 (sig_details->sk_flags & SSH_SK_USER_VERIFICATION_REQD) == 0) { in mm_answer_keyverify()
1493 (r = sshbuf_put_u8(m, sig_details != NULL)) != 0) in mm_answer_keyverify()
1495 if (sig_details != NULL) { in mm_answer_keyverify()
1496 if ((r = sshbuf_put_u32(m, sig_details->sk_counter)) != 0 || in mm_answer_keyverify()
1497 (r = sshbuf_put_u8(m, sig_details->sk_flags)) != 0) in mm_answer_keyverify()
1500 sshkey_sig_details_free(sig_details); in mm_answer_keyverify()
H A Dssh-keygen.c2809 struct sshkey_sig_details *sig_details = NULL; in sig_verify() local
2816 memset(&sig_details, 0, sizeof(sig_details)); in sig_verify()
2827 &sign_key, &sig_details)) != 0) in sig_verify()
2834 if (sig_details != NULL) { in sig_verify()
2836 sig_details->sk_counter, sig_details->sk_flags); in sig_verify()
2886 sshkey_sig_details_free(sig_details); in sig_verify()