Searched refs:sshbuf_from (Results 1 - 24 of 24) sorted by relevance

/freebsd-current/crypto/openssh/regress/misc/fuzz-harness/
H A Dsshsig_fuzz.cc22 struct sshbuf *signature = sshbuf_from(sig, slen);
23 struct sshbuf *message = sshbuf_from(data, strlen(data));
H A Dprivkey_fuzz.cc13 struct sshbuf *b = sshbuf_from(data, size);
H A Dagent_fuzz_helper.c46 if ((b = sshbuf_from(s, strlen(s))) == NULL) {
47 error_f("sshbuf_from failed");
H A Dkex_fuzz.cc282 if ((b = sshbuf_from(privstr, strlen(privstr))) == NULL)
/freebsd-current/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c37 TEST_START("sshbuf_from");
38 p1 = sshbuf_from(test_buf, sizeof(test_buf));
50 TEST_START("sshbuf_from data");
51 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1);
H A Dtest_sshbuf_misc.c168 p1 = sshbuf_from(msg, sizeof(msg) - 1);
188 p1 = sshbuf_from(msg, sizeof(msg) - 1);
/freebsd-current/crypto/openssh/
H A Dsshbuf.c111 sshbuf_from(const void *blob, size_t len) function
149 if ((ret = sshbuf_from(sshbuf_ptr(buf), sshbuf_len(buf))) == NULL)
H A Dssh-ecdsa-sk.c179 (chall = sshbuf_from(data, datalen)) == NULL) {
264 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dttymodes.c357 if ((buf = sshbuf_from(data, len)) == NULL) {
358 error_f("sshbuf_from failed");
H A Dssh-ed25519.c225 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dssh-ed25519-sk.c155 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dssh-keysign.c82 if ((b = sshbuf_from(data, datalen)) == NULL)
83 fatal_f("sshbuf_from failed");
H A Dsshbuf.h48 struct sshbuf *sshbuf_from(const void *blob, size_t len);
H A Dssh-ecdsa.c315 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dssh-xmss.c301 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dssh-dss.c350 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dsshbuf-getput-basic.c559 if ((ret = sshbuf_from(p, len)) == NULL)
H A Dssh-rsa.c494 if ((b = sshbuf_from(sig, siglen)) == NULL)
H A Dmonitor.c1254 if ((b = sshbuf_from(data, datalen)) == NULL)
1255 fatal_f("sshbuf_from");
1335 if ((b = sshbuf_from(data, datalen)) == NULL)
H A Dauth2-pubkey.c126 if ((pkbuf = sshbuf_from(pkblob, blen)) == NULL)
127 fatal_f("sshbuf_from failed");
H A Dssh_namespace.h769 #define sshbuf_from Fssh_sshbuf_from macro
H A Dsshkey-xmss.c420 if ((enc = sshbuf_from(data, len)) == NULL) {
H A Dchannels.c3172 if ((original = sshbuf_from(cp, have)) == NULL ||
3199 if ((original = sshbuf_from(cp, have)) == NULL ||
3224 if ((original = sshbuf_from(cp, have)) == NULL) {
H A Dsshkey.c1969 if ((b = sshbuf_from(blob, blen)) == NULL)
2004 if ((b = sshbuf_from(sig, siglen)) == NULL)

Completed in 278 milliseconds