Home
last modified time | relevance | path

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

/external/openssh/
Dkexgex.c82 (r = sshbuf_put_bignum2(b, prime)) != 0 || in kexgex_hash()
83 (r = sshbuf_put_bignum2(b, gen)) != 0 || in kexgex_hash()
84 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 || in kexgex_hash()
85 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 || in kexgex_hash()
Dkexdh.c106 r = sshbuf_put_bignum2(out, shared_secret); in kex_dh_compute_key()
125 if ((r = sshbuf_put_bignum2(buf, pub_key)) != 0 || in kex_dh_keypair()
159 if ((r = sshbuf_put_bignum2(server_blob, pub_key)) != 0 || in kex_dh_enc()
Dssh-ecdsa.c87 if ((ret = sshbuf_put_bignum2(bb, sig_r)) != 0 || in ssh_ecdsa_sign()
88 (ret = sshbuf_put_bignum2(bb, sig_s)) != 0) in ssh_ecdsa_sign()
Dsshkey.c842 (ret = sshbuf_put_bignum2(b, dsa_p)) != 0 || in to_blob_buf()
843 (ret = sshbuf_put_bignum2(b, dsa_q)) != 0 || in to_blob_buf()
844 (ret = sshbuf_put_bignum2(b, dsa_g)) != 0 || in to_blob_buf()
845 (ret = sshbuf_put_bignum2(b, dsa_pub_key)) != 0) in to_blob_buf()
870 (ret = sshbuf_put_bignum2(b, rsa_e)) != 0 || in to_blob_buf()
871 (ret = sshbuf_put_bignum2(b, rsa_n)) != 0) in to_blob_buf()
2945 if ((ret = sshbuf_put_bignum2(cert, dsa_p)) != 0 || in sshkey_certify_custom()
2946 (ret = sshbuf_put_bignum2(cert, dsa_q)) != 0 || in sshkey_certify_custom()
2947 (ret = sshbuf_put_bignum2(cert, dsa_g)) != 0 || in sshkey_certify_custom()
2948 (ret = sshbuf_put_bignum2(cert, dsa_pub_key)) != 0) in sshkey_certify_custom()
[all …]
Dsshbuf-getput-crypto.c131 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() function
Dkexecdh.c187 if ((r = sshbuf_put_bignum2(buf, shared_secret)) != 0) in kex_ecdh_dec_key_group()
Dsshbuf.h235 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
Dmonitor.c603 (r = sshbuf_put_bignum2(m, dh_p)) != 0 || in mm_answer_moduli()
604 (r = sshbuf_put_bignum2(m, dh_g)) != 0) in mm_answer_moduli()
Dpacket.c2545 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v); in sshpkt_put_bignum2()
/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_getput_crypto.c85 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests()
98 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests()
109 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests()
123 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests()