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

/freebsd-10-stable/crypto/openssh/
H A Dbufbn.c56 if ((ret = sshbuf_get_bignum1(buffer, value)) != 0) {
H A Dssh-agent.c327 (r = sshbuf_get_bignum1(e->request, key->rsa->e)) != 0 ||
328 (r = sshbuf_get_bignum1(e->request, key->rsa->n)) != 0 ||
329 (r = sshbuf_get_bignum1(e->request, challenge)))
476 (r = sshbuf_get_bignum1(e->request, key->rsa->e)) != 0 ||
477 (r = sshbuf_get_bignum1(e->request, key->rsa->n)) != 0)
587 (r = sshbuf_get_bignum1(m, k->rsa->n)) != 0 ||
588 (r = sshbuf_get_bignum1(m, k->rsa->e)) != 0 ||
589 (r = sshbuf_get_bignum1(m, k->rsa->d)) != 0 ||
590 (r = sshbuf_get_bignum1(m, k->rsa->iqmp)) != 0 ||
592 (r = sshbuf_get_bignum1(
[all...]
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 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 Dauthfd.c214 (r = sshbuf_get_bignum1(ids, key->rsa->e)) != 0 ||
215 (r = sshbuf_get_bignum1(ids, key->rsa->n)) != 0 ||
H A Dsshkey.c3626 (r = sshbuf_get_bignum1(copy, pub->rsa->n)) != 0 ||
3627 (r = sshbuf_get_bignum1(copy, pub->rsa->e)) != 0)
3696 (r = sshbuf_get_bignum1(copy, prv->rsa->n)) != 0 ||
3697 (r = sshbuf_get_bignum1(copy, prv->rsa->e)) != 0 ||
3732 if ((r = sshbuf_get_bignum1(decrypted, prv->rsa->d)) != 0 ||
3733 (r = sshbuf_get_bignum1(decrypted, prv->rsa->iqmp)) != 0 ||
3734 (r = sshbuf_get_bignum1(decrypted, prv->rsa->q)) != 0 ||
3735 (r = sshbuf_get_bignum1(decrypted, prv->rsa->p)) != 0)
H A Dssh_namespace.h748 #define sshbuf_get_bignum1 Fssh_sshbuf_get_bignum1 macro
H A Dpacket.c2930 return sshbuf_get_bignum1(ssh->state->incoming_packet, v);
/freebsd-10-stable/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 486 milliseconds