Searched refs:sshbuf_get_bignum1 (Results 1 - 11 of 11) sorted by relevance

/freebsd-10.3-release/crypto/openssh/
H A Dbufbn.c56 if ((ret = sshbuf_get_bignum1(buffer, value)) != 0) {
H A Dssh-agent.c339 (r = sshbuf_get_bignum1(e->request, key->rsa->e)) != 0 ||
340 (r = sshbuf_get_bignum1(e->request, key->rsa->n)) != 0 ||
341 (r = sshbuf_get_bignum1(e->request, challenge)))
488 (r = sshbuf_get_bignum1(e->request, key->rsa->e)) != 0 ||
489 (r = sshbuf_get_bignum1(e->request, key->rsa->n)) != 0)
599 (r = sshbuf_get_bignum1(m, k->rsa->n)) != 0 ||
600 (r = sshbuf_get_bignum1(m, k->rsa->e)) != 0 ||
601 (r = sshbuf_get_bignum1(m, k->rsa->d)) != 0 ||
602 (r = sshbuf_get_bignum1(m, k->rsa->iqmp)) != 0 ||
604 (r = sshbuf_get_bignum1(
[all...]
H A Dssh-keyscan.c219 (r = sshbuf_get_bignum1(msg, NULL)) != 0 ||
220 (r = sshbuf_get_bignum1(msg, NULL)) != 0 ||
223 (r = sshbuf_get_bignum1(msg, rsa->rsa->e)) != 0 ||
224 (r = sshbuf_get_bignum1(msg, rsa->rsa->n)) != 0) {
H A Dsshbuf-getput-crypto.c49 sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v) function
H A Dsshbuf.h216 int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v);
H A Dauthfd.c214 (r = sshbuf_get_bignum1(ids, key->rsa->e)) != 0 ||
215 (r = sshbuf_get_bignum1(ids, key->rsa->n)) != 0 ||
H A Dsshkey.c3623 (r = sshbuf_get_bignum1(copy, pub->rsa->n)) != 0 ||
3624 (r = sshbuf_get_bignum1(copy, pub->rsa->e)) != 0)
3694 (r = sshbuf_get_bignum1(copy, prv->rsa->n)) != 0 ||
3695 (r = sshbuf_get_bignum1(copy, prv->rsa->e)) != 0 ||
3730 if ((r = sshbuf_get_bignum1(decrypted, prv->rsa->d)) != 0 ||
3731 (r = sshbuf_get_bignum1(decrypted, prv->rsa->iqmp)) != 0 ||
3732 (r = sshbuf_get_bignum1(decrypted, prv->rsa->q)) != 0 ||
3733 (r = sshbuf_get_bignum1(decrypted, prv->rsa->p)) != 0)
H A Dssh_namespace.h743 #define sshbuf_get_bignum1 Fssh_sshbuf_get_bignum1 macro
H A Dpacket.c2888 return sshbuf_get_bignum1(ssh->state->incoming_packet, v);
/freebsd-10.3-release/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_getput_crypto.c177 TEST_START("sshbuf_get_bignum1");
186 ASSERT_INT_EQ(sshbuf_get_bignum1(p1, bn2), 0);
194 TEST_START("sshbuf_get_bignum1 truncated");
202 r = sshbuf_get_bignum1(p1, bn2);
210 TEST_START("sshbuf_get_bignum1 giant");
218 r = sshbuf_get_bignum1(p1, bn2);
226 TEST_START("sshbuf_get_bignum1 bn2");
235 ASSERT_INT_EQ(sshbuf_get_bignum1(p1, bn2), 0);
243 TEST_START("sshbuf_get_bignum1 bn2 truncated");
251 r = sshbuf_get_bignum1(p
[all...]
H A Dtest_sshbuf_getput_fuzz.c58 sshbuf_get_bignum1(p1, bn);

Completed in 109 milliseconds