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

/freebsd-10-stable/crypto/openssh/
H A Dkexgex.c80 (r = sshbuf_put_bignum2(b, prime)) != 0 ||
81 (r = sshbuf_put_bignum2(b, gen)) != 0 ||
82 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 ||
83 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 ||
84 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) {
H A Dkexdh.c74 (r = sshbuf_put_bignum2(b, client_dh_pub)) != 0 ||
75 (r = sshbuf_put_bignum2(b, server_dh_pub)) != 0 ||
76 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) {
H A Dbufbn.c76 if ((ret = sshbuf_put_bignum2(buffer, value)) != 0) {
H A Dssh-ecdsa.c83 if ((ret = sshbuf_put_bignum2(bb, sig->r)) != 0 ||
84 (ret = sshbuf_put_bignum2(bb, sig->s)) != 0)
H A Dkexecdh.c82 (r = sshbuf_put_bignum2(b, shared_secret)) != 0) {
H A Dsshkey.c759 (ret = sshbuf_put_bignum2(b, key->dsa->p)) != 0 ||
760 (ret = sshbuf_put_bignum2(b, key->dsa->q)) != 0 ||
761 (ret = sshbuf_put_bignum2(b, key->dsa->g)) != 0 ||
762 (ret = sshbuf_put_bignum2(b, key->dsa->pub_key)) != 0)
780 (ret = sshbuf_put_bignum2(b, key->rsa->e)) != 0 ||
781 (ret = sshbuf_put_bignum2(b, key->rsa->n)) != 0)
2406 if ((ret = sshbuf_put_bignum2(cert, k->dsa->p)) != 0 ||
2407 (ret = sshbuf_put_bignum2(cert, k->dsa->q)) != 0 ||
2408 (ret = sshbuf_put_bignum2(cert, k->dsa->g)) != 0 ||
2409 (ret = sshbuf_put_bignum2(cer
[all...]
H A Dsshbuf-getput-crypto.c147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) function
H A Dsshbuf.h217 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
H A Dssh_namespace.h771 #define sshbuf_put_bignum2 Fssh_sshbuf_put_bignum2 macro
H A Dkex.c963 if ((r = sshbuf_put_bignum2(shared_secret, secret)) == 0)
H A Dpacket.c2869 return sshbuf_put_bignum2(ssh->state->outgoing_packet, v);
/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_crypto.c128 TEST_START("sshbuf_put_bignum2");
132 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0);
140 TEST_START("sshbuf_put_bignum2 limited");
145 r = sshbuf_put_bignum2(p1, bn);
152 TEST_START("sshbuf_put_bignum2 bn2");
156 ASSERT_INT_EQ(sshbuf_put_bignum2(p1, bn), 0);
165 TEST_START("sshbuf_put_bignum2 bn2 limited");
170 r = sshbuf_put_bignum2(p1, bn);

Completed in 188 milliseconds