Searched refs:tosign (Results 1 – 1 of 1) sorted by relevance
/external/openssh/ |
D | sshsig.c | 162 struct sshbuf *tosign = NULL; in sshsig_wrap_sign() local 165 if ((tosign = sshbuf_new()) == NULL || in sshsig_wrap_sign() 172 if ((r = sshbuf_put(tosign, MAGIC_PREAMBLE, MAGIC_PREAMBLE_LEN)) != 0 || in sshsig_wrap_sign() 173 (r = sshbuf_put_cstring(tosign, sig_namespace)) != 0 || in sshsig_wrap_sign() 174 (r = sshbuf_put_string(tosign, NULL, 0)) != 0 || /* reserved */ in sshsig_wrap_sign() 175 (r = sshbuf_put_cstring(tosign, hashalg)) != 0 || in sshsig_wrap_sign() 176 (r = sshbuf_put_stringb(tosign, h_message)) != 0) { in sshsig_wrap_sign() 187 sshbuf_ptr(tosign), sshbuf_len(tosign), in sshsig_wrap_sign() 194 sshbuf_ptr(tosign), sshbuf_len(tosign), in sshsig_wrap_sign() 220 sshbuf_free(tosign); in sshsig_wrap_sign()
|