Home
last modified time | relevance | path

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

/freebsd-12.1/crypto/openssh/
H A 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()
86 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kexgex_hash()
H A Dkexdh.c76 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 || in kex_dh_hash()
77 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 || in kex_dh_hash()
78 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kex_dh_hash()
H A Dsshkey.c799 (ret = sshbuf_put_bignum2(b, rsa_n)) != 0) in to_blob_buf()
2742 if ((r = sshbuf_put_bignum2(b, rsa_n)) != 0 || in sshkey_private_serialize_opt()
2743 (r = sshbuf_put_bignum2(b, rsa_e)) != 0 || in sshkey_private_serialize_opt()
2744 (r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in sshkey_private_serialize_opt()
2746 (r = sshbuf_put_bignum2(b, rsa_p)) != 0 || in sshkey_private_serialize_opt()
2747 (r = sshbuf_put_bignum2(b, rsa_q)) != 0) in sshkey_private_serialize_opt()
2759 (r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in sshkey_private_serialize_opt()
2761 (r = sshbuf_put_bignum2(b, rsa_p)) != 0 || in sshkey_private_serialize_opt()
2762 (r = sshbuf_put_bignum2(b, rsa_q)) != 0) in sshkey_private_serialize_opt()
2790 (r = sshbuf_put_bignum2(b, in sshkey_private_serialize_opt()
[all …]
H A 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()
H A Dkexecdh.c82 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) { in kex_ecdh_hash()
H A Dsshbuf-getput-crypto.c147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() function
H A Dsshbuf.h225 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
H A Dmonitor.c604 (r = sshbuf_put_bignum2(m, dh_p)) != 0 || in mm_answer_moduli()
605 (r = sshbuf_put_bignum2(m, dh_g)) != 0) in mm_answer_moduli()
H A Dssh_namespace.h683 #define sshbuf_put_bignum2 Fssh_sshbuf_put_bignum2 macro
H A Dkex.c1028 if ((r = sshbuf_put_bignum2(shared_secret, secret)) == 0) in kex_derive_keys_bn()
H A Dpacket.c2487 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v); in sshpkt_put_bignum2()
/freebsd-12.1/crypto/openssh/regress/unittests/sshbuf/
H A 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()