Searched refs:sshbuf_put_bignum1 (Results 1 - 10 of 10) sorted by relevance

/freebsd-10-stable/crypto/openssh/
H A Dauthfd.c403 (r = sshbuf_put_bignum1(msg, key->rsa->e)) != 0 ||
404 (r = sshbuf_put_bignum1(msg, key->rsa->n)) != 0 ||
405 (r = sshbuf_put_bignum1(msg, challenge)) != 0 ||
505 (r = sshbuf_put_bignum1(b, key->n)) != 0 ||
506 (r = sshbuf_put_bignum1(b, key->e)) != 0 ||
507 (r = sshbuf_put_bignum1(b, key->d)) != 0 ||
508 (r = sshbuf_put_bignum1(b, key->iqmp)) != 0 ||
509 (r = sshbuf_put_bignum1(b, key->q)) != 0 ||
510 (r = sshbuf_put_bignum1(b, key->p)) != 0 ||
628 (r = sshbuf_put_bignum1(ms
[all...]
H A Dbufbn.c37 if ((ret = sshbuf_put_bignum1(buffer, value)) != 0) {
H A Dsshbuf-getput-crypto.c169 sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v) function
H A Dsshbuf.h218 int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v);
H A Dsshd.c1076 (r = sshbuf_put_bignum1(m,
1078 (r = sshbuf_put_bignum1(m,
1080 (r = sshbuf_put_bignum1(m,
1082 (r = sshbuf_put_bignum1(m,
1084 (r = sshbuf_put_bignum1(m,
1086 (r = sshbuf_put_bignum1(m,
H A Dssh-agent.c276 (r = sshbuf_put_bignum1(msg,
278 (r = sshbuf_put_bignum1(msg,
H A Dsshkey.c3437 if ((r = sshbuf_put_bignum1(buffer, key->rsa->d)) != 0 ||
3438 (r = sshbuf_put_bignum1(buffer, key->rsa->iqmp)) != 0 ||
3439 (r = sshbuf_put_bignum1(buffer, key->rsa->q)) != 0 ||
3440 (r = sshbuf_put_bignum1(buffer, key->rsa->p)) != 0)
3466 (r = sshbuf_put_bignum1(encrypted, key->rsa->n)) != 0 ||
3467 (r = sshbuf_put_bignum1(encrypted, key->rsa->e)) != 0 ||
H A Dssh_namespace.h770 #define sshbuf_put_bignum1 Fssh_sshbuf_put_bignum1 macro
H A Dpacket.c2862 return sshbuf_put_bignum1(ssh->state->outgoing_packet, v);
/freebsd-10-stable/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_crypto.c80 TEST_START("sshbuf_put_bignum1");
84 ASSERT_INT_EQ(sshbuf_put_bignum1(p1, bn), 0);
92 TEST_START("sshbuf_put_bignum1 limited");
97 r = sshbuf_put_bignum1(p1, bn);
104 TEST_START("sshbuf_put_bignum1 bn2");
108 ASSERT_INT_EQ(sshbuf_put_bignum1(p1, bn), 0);
116 TEST_START("sshbuf_put_bignum1 bn2 limited");
121 r = sshbuf_put_bignum1(p1, bn);

Completed in 310 milliseconds