Searched refs:sigbuf (Results 1 – 7 of 7) sorted by relevance
/external/openssh/ |
D | ssh-ecdsa.c | 122 struct sshbuf *b = NULL, *sigbuf = NULL; in ssh_ecdsa_verify() local 137 sshbuf_froms(b, &sigbuf) != 0) { in ssh_ecdsa_verify() 155 if (sshbuf_get_bignum2(sigbuf, sig->r) != 0 || in ssh_ecdsa_verify() 156 sshbuf_get_bignum2(sigbuf, sig->s) != 0) { in ssh_ecdsa_verify() 160 if (sshbuf_len(sigbuf) != 0) { in ssh_ecdsa_verify() 182 if (sigbuf != NULL) in ssh_ecdsa_verify() 183 sshbuf_free(sigbuf); in ssh_ecdsa_verify()
|
D | serverloop.c | 1158 struct sshbuf *sigbuf = NULL; in server_input_hostkeys_prove() local 1165 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL) in server_input_hostkeys_prove() 1195 sshbuf_reset(sigbuf); in server_input_hostkeys_prove() 1198 if ((r = sshbuf_put_cstring(sigbuf, in server_input_hostkeys_prove() 1200 (r = sshbuf_put_string(sigbuf, in server_input_hostkeys_prove() 1202 (r = sshkey_puts(key, sigbuf)) != 0 || in server_input_hostkeys_prove() 1204 sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), 0)) != 0 || in server_input_hostkeys_prove() 1218 sshbuf_free(sigbuf); in server_input_hostkeys_prove()
|
D | ssh-rsa.c | 214 u_char *sigbuf, size_t siglen, RSA *rsa) in openssh_RSA_verify() argument 245 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, in openssh_RSA_verify()
|
D | monitor.c | 693 struct sshbuf *sigbuf; in mm_answer_sign() local 726 if ((sigbuf = sshbuf_new()) == NULL) in mm_answer_sign() 728 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 || in mm_answer_sign() 729 (r = sshbuf_put_string(sigbuf, session_id2, in mm_answer_sign() 731 (r = sshkey_puts(key, sigbuf)) != 0) in mm_answer_sign() 734 if (datlen != sshbuf_len(sigbuf) || in mm_answer_sign() 735 memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0) in mm_answer_sign() 737 __func__, datlen, sshbuf_len(sigbuf)); in mm_answer_sign() 738 sshbuf_free(sigbuf); in mm_answer_sign()
|
/external/valgrind/none/tests/ |
D | async-sigs.c | 42 char sigbuf[20]; in do_kill() local 44 sprintf(sigbuf, "-%d", sig); in do_kill() 46 execl("/bin/kill", "kill", sigbuf, pidbuf, NULL); in do_kill()
|
/external/boringssl/src/include/openssl/ |
D | rsa.h | 414 const uint8_t *sigbuf, unsigned int siglen, const RSA *rsa);
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 1808 const unsigned char* sigbuf = reinterpret_cast<const unsigned char*>(signatureBytes.get()); local 1810 return d2i_ECDSA_SIG(NULL, &sigbuf, siglen);
|