Lines Matching defs:blob
47 sshsig_armor(const struct sshbuf *blob, struct sshbuf **out)
65 if ((r = sshbuf_dtob64(blob, buf, 1)) != 0) {
170 struct sshbuf *blob = NULL;
175 (blob = sshbuf_new()) == NULL) {
215 if ((r = sshbuf_put(blob, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 ||
216 (r = sshbuf_put_u32(blob, SIG_VERSION)) != 0 ||
217 (r = sshkey_puts(key, blob)) != 0 ||
218 (r = sshbuf_put_cstring(blob, sig_namespace)) != 0 ||
219 (r = sshbuf_put_string(blob, NULL, 0)) != 0 || /* reserved */
220 (r = sshbuf_put_cstring(blob, hashalg)) != 0 ||
221 (r = sshbuf_put_string(blob, sig, slen)) != 0) {
227 *out = blob;
228 blob = NULL;
233 sshbuf_free(blob);