Searched refs:sshbuf_put_bignum2 (Results 1 – 11 of 11) sorted by relevance
/external/openssh/ |
D | kexgex.c | 80 (r = sshbuf_put_bignum2(b, prime)) != 0 || in kexgex_hash() 81 (r = sshbuf_put_bignum2(b, gen)) != 0 || in kexgex_hash() 82 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 || in kexgex_hash() 83 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 || in kexgex_hash() 84 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kexgex_hash()
|
D | kexdh.c | 74 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 || in kex_dh_hash() 75 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 || in kex_dh_hash() 76 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kex_dh_hash()
|
D | sshkey.c | 761 (ret = sshbuf_put_bignum2(b, key->dsa->p)) != 0 || in to_blob_buf() 762 (ret = sshbuf_put_bignum2(b, key->dsa->q)) != 0 || in to_blob_buf() 763 (ret = sshbuf_put_bignum2(b, key->dsa->g)) != 0 || in to_blob_buf() 764 (ret = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0) in to_blob_buf() 782 (ret = sshbuf_put_bignum2(b, key->rsa->e)) != 0 || in to_blob_buf() 783 (ret = sshbuf_put_bignum2(b, key->rsa->n)) != 0) in to_blob_buf() 2414 if ((ret = sshbuf_put_bignum2(cert, k->dsa->p)) != 0 || in sshkey_certify() 2415 (ret = sshbuf_put_bignum2(cert, k->dsa->q)) != 0 || in sshkey_certify() 2416 (ret = sshbuf_put_bignum2(cert, k->dsa->g)) != 0 || in sshkey_certify() 2417 (ret = sshbuf_put_bignum2(cert, k->dsa->pub_key)) != 0) in sshkey_certify() [all …]
|
D | ssh-ecdsa.c | 83 if ((ret = sshbuf_put_bignum2(bb, sig->r)) != 0 || in ssh_ecdsa_sign() 84 (ret = sshbuf_put_bignum2(bb, sig->s)) != 0) in ssh_ecdsa_sign()
|
D | bufbn.c | 76 if ((ret = sshbuf_put_bignum2(buffer, value)) != 0) { in buffer_put_bignum2_ret()
|
D | kexecdh.c | 82 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kex_ecdh_hash()
|
D | sshbuf-getput-crypto.c | 147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() function
|
D | sshbuf.h | 225 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
|
D | kex.c | 984 if ((r = sshbuf_put_bignum2(shared_secret, secret)) == 0) in kex_derive_keys_bn()
|
D | packet.c | 2876 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v); in sshpkt_put_bignum2()
|
/external/openssh/regress/unittests/sshbuf/ |
D | test_sshbuf_getput_crypto.c | 132 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests() 145 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests() 156 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests() 170 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests()
|