Lines Matching refs:sshbuf

48 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out)  in sshsig_armor()
50 struct sshbuf *buf = NULL; in sshsig_armor()
89 sshsig_dearmor(struct sshbuf *sig, struct sshbuf **out) in sshsig_dearmor()
93 struct sshbuf *buf = NULL; in sshsig_dearmor()
94 struct sshbuf *sbuf = NULL; in sshsig_dearmor()
154 const char *sk_provider, const struct sshbuf *h_message, in sshsig_wrap_sign()
155 const char *sig_namespace, struct sshbuf **out, in sshsig_wrap_sign()
161 struct sshbuf *blob = NULL; in sshsig_wrap_sign()
162 struct sshbuf *tosign = NULL; in sshsig_wrap_sign()
226 sshsig_parse_preamble(struct sshbuf *buf) in sshsig_parse_preamble()
257 sshsig_peek_hashalg(struct sshbuf *signature, char **hashalgp) in sshsig_peek_hashalg()
259 struct sshbuf *buf = NULL; in sshsig_peek_hashalg()
289 sshsig_wrap_verify(struct sshbuf *signature, const char *hashalg, in sshsig_wrap_verify()
290 const struct sshbuf *h_message, const char *expect_namespace, in sshsig_wrap_verify()
294 struct sshbuf *buf = NULL, *toverify = NULL; in sshsig_wrap_verify()
390 hash_buffer(const struct sshbuf *m, const char *hashalg, struct sshbuf **bp) in hash_buffer()
394 struct sshbuf *b = NULL; in hash_buffer()
434 const struct sshbuf *message, const char *sig_namespace, in sshsig_signb()
435 struct sshbuf **out, sshsig_signer *signer, void *signer_ctx) in sshsig_signb()
437 struct sshbuf *b = NULL; in sshsig_signb()
459 sshsig_verifyb(struct sshbuf *signature, const struct sshbuf *message, in sshsig_verifyb()
463 struct sshbuf *b = NULL; in sshsig_verifyb()
490 hash_file(int fd, const char *hashalg, struct sshbuf **bp) in hash_file()
496 struct sshbuf *b = NULL; in hash_file()
562 int fd, const char *sig_namespace, struct sshbuf **out, in sshsig_sign_fd()
565 struct sshbuf *b = NULL; in sshsig_sign_fd()
587 sshsig_verify_fd(struct sshbuf *signature, int fd, in sshsig_verify_fd()
591 struct sshbuf *b = NULL; in sshsig_verify_fd()
878 struct sshbuf *nprincipals; in cert_filter_principals()
1026 sshsig_get_pubkey(struct sshbuf *signature, struct sshkey **pubkey) in sshsig_get_pubkey()