Lines Matching refs:signature
146 u_char *signature = NULL;
170 (r = sshpkt_get_string(ssh, &signature, &slen)) != 0 ||
217 if ((r = sshkey_verify(server_host_key, signature, slen, hash, hashlen,
225 /* save initial signature and hostkey */
235 if ((r = sshbuf_put(kex->initial_sig, signature, slen)) != 0)
247 free(signature);
274 u_char *signature = NULL, hash[SSH_DIGEST_MAX_LENGTH];
343 &signature, &slen, hash, hashlen, kex->hostkey_alg)) != 0)
350 (r = sshpkt_put_string(ssh, signature, slen)) != 0 ||
366 free(signature);