Lines Matching refs:blob
49 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out) in sshsig_armor() argument
67 if ((r = sshbuf_dtob64(blob, buf, 1)) != 0) { in sshsig_armor()
172 struct sshbuf *blob = NULL; in sshsig_wrap_sign() local
177 (blob = sshbuf_new()) == NULL) { in sshsig_wrap_sign()
212 if ((r = sshbuf_put(blob, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_wrap_sign()
213 (r = sshbuf_put_u32(blob, SIG_VERSION)) != 0 || in sshsig_wrap_sign()
214 (r = sshkey_puts(key, blob)) != 0 || in sshsig_wrap_sign()
215 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 || in sshsig_wrap_sign()
216 (r = sshbuf_put_string(blob, NULL, 0)) != 0 || /* reserved */ in sshsig_wrap_sign()
217 (r = sshbuf_put_cstring(blob, hashalg)) != 0 || in sshsig_wrap_sign()
218 (r = sshbuf_put_string(blob, sig, slen)) != 0) { in sshsig_wrap_sign()
224 *out = blob; in sshsig_wrap_sign()
225 blob = NULL; in sshsig_wrap_sign()
230 sshbuf_free(blob); in sshsig_wrap_sign()