Lines Matching refs:signature
603 u_char *p = NULL, *signature = NULL;
624 * Otherwise, verify the signature request is for a hostkey
627 * XXX perform similar check for KEX signature requests too?
663 if ((r = sshkey_sign(key, &signature, &siglen, p, datlen, alg,
668 if ((r = ssh_agent_sign(auth_sock, key, &signature, &siglen,
674 debug3_f("%s %s signature len=%zu", alg,
678 if ((r = sshbuf_put_string(m, signature, siglen)) != 0)
683 free(signature);
1165 * mismatches in the signature algorithm. (Signature algorithm checks are
1439 const u_char *signature, *data, *blob;
1447 (r = sshbuf_get_string_direct(m, &signature, &signaturelen)) != 0 ||
1456 /* Empty signature algorithm means NULL. */
1481 fatal_f("bad %s signature data blob",
1489 ret = sshkey_verify(key, signature, signaturelen, data, datalen,
1491 debug3_f("%s %s signature using %s %s%s%s", auth_method,
1502 error("public key %s %s signature for %s%s from %.128s "
1515 error("public key %s %s signature for %s%s from %.128s "