Lines Matching refs:sshbuf

49 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out)  in sshsig_armor()
51 struct sshbuf *buf = NULL; in sshsig_armor()
88 sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out) in sshsig_dearmor()
92 struct sshbuf *buf = NULL; in sshsig_dearmor()
93 struct sshbuf *sbuf = NULL; in sshsig_dearmor()
165 const char *sk_provider, const char *sk_pin, const struct sshbuf *h_message, in sshsig_wrap_sign()
166 const char *sig_namespace, struct sshbuf **out, in sshsig_wrap_sign()
172 struct sshbuf *blob = NULL; in sshsig_wrap_sign()
173 struct sshbuf *tosign = NULL; in sshsig_wrap_sign()
237 sshsig_parse_preamble(struct sshbuf *buf) in sshsig_parse_preamble()
268 sshsig_peek_hashalg(struct sshbuf *signature, char **hashalgp) in sshsig_peek_hashalg()
270 struct sshbuf *buf = NULL; in sshsig_peek_hashalg()
300 sshsig_wrap_verify(struct sshbuf *signature, const char *hashalg, in sshsig_wrap_verify()
301 const struct sshbuf *h_message, const char *expect_namespace, in sshsig_wrap_verify()
305 struct sshbuf *buf = NULL, *toverify = NULL; in sshsig_wrap_verify()
401 hash_buffer(const struct sshbuf *m, const char *hashalg, struct sshbuf **bp) in hash_buffer()
405 struct sshbuf *b = NULL; in hash_buffer()
445 const struct sshbuf *message, const char *sig_namespace, in sshsig_signb()
446 struct sshbuf **out, sshsig_signer *signer, void *signer_ctx) in sshsig_signb()
448 struct sshbuf *b = NULL; in sshsig_signb()
470 sshsig_verifyb(struct sshbuf *signature, const struct sshbuf *message, in sshsig_verifyb()
474 struct sshbuf *b = NULL; in sshsig_verifyb()
501 hash_file(int fd, const char *hashalg, struct sshbuf **bp) in hash_file()
507 struct sshbuf *b = NULL; in hash_file()
573 int fd, const char *sig_namespace, struct sshbuf **out, in sshsig_sign_fd()
576 struct sshbuf *b = NULL; in sshsig_sign_fd()
598 sshsig_verify_fd(struct sshbuf *signature, int fd, in sshsig_verify_fd()
602 struct sshbuf *b = NULL; in sshsig_verify_fd()
838 struct sshbuf *nprincipals; in cert_filter_principals()
1142 sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey) in sshsig_get_pubkey()