Searched refs:sshbuf_put_bignum2 (Results 1 – 12 of 12) sorted by relevance
/freebsd/crypto/openssh/ |
H A D | kexgex.c | 82 (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()
|
H A D | ssh-rsa.c | 84 if ((r = sshbuf_put_bignum2(b, rsa_e)) != 0 || in ssh_rsa_serialize_public() 85 (r = sshbuf_put_bignum2(b, rsa_n)) != 0) in ssh_rsa_serialize_public() 107 if ((r = sshbuf_put_bignum2(b, rsa_n)) != 0 || in ssh_rsa_serialize_private() 108 (r = sshbuf_put_bignum2(b, rsa_e)) != 0) in ssh_rsa_serialize_private() 111 if ((r = sshbuf_put_bignum2(b, rsa_d)) != 0 || in ssh_rsa_serialize_private() 112 (r = sshbuf_put_bignum2(b, rsa_iqmp)) != 0 || in ssh_rsa_serialize_private() 113 (r = sshbuf_put_bignum2(b, rsa_p)) != 0 || in ssh_rsa_serialize_private() 114 (r = sshbuf_put_bignum2(b, rsa_q)) != 0) in ssh_rsa_serialize_private()
|
H A D | kexdh.c | 107 r = sshbuf_put_bignum2(out, shared_secret); in kex_dh_compute_key() 126 if ((r = sshbuf_put_bignum2(buf, pub_key)) != 0 || in kex_dh_keypair() 160 if ((r = sshbuf_put_bignum2(server_blob, pub_key)) != 0 || in kex_dh_enc()
|
H A D | ssh-dss.c | 118 if ((r = sshbuf_put_bignum2(b, dsa_p)) != 0 || in ssh_dss_serialize_public() 119 (r = sshbuf_put_bignum2(b, dsa_q)) != 0 || in ssh_dss_serialize_public() 120 (r = sshbuf_put_bignum2(b, dsa_g)) != 0 || in ssh_dss_serialize_public() 121 (r = sshbuf_put_bignum2(b, dsa_pub_key)) != 0) in ssh_dss_serialize_public() 139 if ((r = sshbuf_put_bignum2(b, dsa_priv_key)) != 0) in ssh_dss_serialize_private()
|
H A D | ssh-ecdsa.c | 161 if ((r = sshbuf_put_bignum2(b, in ssh_ecdsa_serialize_private() 360 if ((ret = sshbuf_put_bignum2(bb, sig_r)) != 0 || in ssh_ecdsa_sign() 361 (ret = sshbuf_put_bignum2(bb, sig_s)) != 0) in ssh_ecdsa_sign()
|
H A D | sshbuf-getput-crypto.c | 131 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) in sshbuf_put_bignum2() function
|
H A D | kexecdh.c | 187 if ((r = sshbuf_put_bignum2(buf, shared_secret)) != 0) in kex_ecdh_dec_key_group()
|
H A D | sshbuf.h | 221 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
|
H A D | monitor.c | 601 (r = sshbuf_put_bignum2(m, dh_p)) != 0 || in mm_answer_moduli() 602 (r = sshbuf_put_bignum2(m, dh_g)) != 0) in mm_answer_moduli()
|
H A D | ssh_namespace.h | 817 #define sshbuf_put_bignum2 Fssh_sshbuf_put_bignum2 macro
|
H A D | packet.c | 2667 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v); in sshpkt_put_bignum2()
|
/freebsd/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_getput_crypto.c | 84 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests() 97 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests() 108 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0); in sshbuf_getput_crypto_tests() 122 r = sshbuf_put_bignum2(p1, bn); in sshbuf_getput_crypto_tests()
|