Home
last modified time | relevance | path

Searched refs:sshbuf_put_bignum2 (Results 1 – 11 of 11) sorted by relevance

/external/openssh/
Dkexgex.c80 (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()
Dkexdh.c74 (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()
Dsshkey.c761 (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 …]
Dssh-ecdsa.c83 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()
Dbufbn.c76 if ((ret = sshbuf_put_bignum2(buffer, value)) != 0) { in buffer_put_bignum2_ret()
Dkexecdh.c82 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kex_ecdh_hash()
Dsshbuf-getput-crypto.c147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() function
Dsshbuf.h225 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
Dkex.c984 if ((r = sshbuf_put_bignum2(shared_secret, secret)) == 0) in kex_derive_keys_bn()
Dpacket.c2876 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v); in sshpkt_put_bignum2()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_crypto.c132 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()