Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dsshsig_fuzz.cc22 struct sshbuf *signature = sshbuf_from(sig, slen); in LLVMFuzzerTestOneInput()
23 struct sshbuf *message = sshbuf_from(data, strlen(data)); in LLVMFuzzerTestOneInput()
H A Dprivkey_fuzz.cc13 struct sshbuf *b = sshbuf_from(data, size); in LLVMFuzzerTestOneInput()
H A Dagent_fuzz_helper.c46 if ((b = sshbuf_from(s, strlen(s))) == NULL) { in privkey_or_die()
H A Dkex_fuzz.cc282 if ((b = sshbuf_from(privstr, strlen(privstr))) == NULL) in prepare_key()
/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fixed.c38 p1 = sshbuf_from(test_buf, sizeof(test_buf)); in sshbuf_fixed()
51 p1 = sshbuf_from(test_buf, sizeof(test_buf) - 1); in sshbuf_fixed()
H A Dtest_sshbuf_misc.c168 p1 = sshbuf_from(msg, sizeof(msg) - 1); in sshbuf_misc_tests()
188 p1 = sshbuf_from(msg, sizeof(msg) - 1); in sshbuf_misc_tests()
/freebsd/crypto/openssh/
H A Dssh-ecdsa-sk.c179 (chall = sshbuf_from(data, datalen)) == NULL) { in webauthn_check_prepare_hash()
264 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_ecdsa_sk_verify()
H A Dsshbuf.c111 sshbuf_from(const void *blob, size_t len) in sshbuf_from() function
149 if ((ret = sshbuf_from(sshbuf_ptr(buf), sshbuf_len(buf))) == NULL) in sshbuf_fromb()
H A Dttymodes.c357 if ((buf = sshbuf_from(data, len)) == NULL) { in ssh_tty_parse_modes()
H A Dssh-ed25519-sk.c155 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_ed25519_sk_verify()
H A Dssh-ed25519.c225 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_ed25519_verify()
H A Dssh-keysign.c82 if ((b = sshbuf_from(data, datalen)) == NULL) in valid_request()
H A Dsshbuf.h48 struct sshbuf *sshbuf_from(const void *blob, size_t len);
H A Dssh-xmss.c301 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_xmss_verify()
H A Dssh-ecdsa.c315 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_ecdsa_verify()
H A Dssh-dss.c350 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_dss_verify()
H A Dsshbuf-getput-basic.c559 if ((ret = sshbuf_from(p, len)) == NULL) in sshbuf_froms()
H A Dssh-rsa.c494 if ((b = sshbuf_from(sig, siglen)) == NULL) in ssh_rsa_verify()
H A Dauth2-pubkey.c126 if ((pkbuf = sshbuf_from(pkblob, blen)) == NULL) in userauth_pubkey()
H A Dmonitor.c1254 if ((b = sshbuf_from(data, datalen)) == NULL) in monitor_valid_userblob()
1335 if ((b = sshbuf_from(data, datalen)) == NULL) in monitor_valid_hostbasedblob()
H A Dssh_namespace.h769 #define sshbuf_from Fssh_sshbuf_from macro
H A Dsshkey-xmss.c420 if ((enc = sshbuf_from(data, len)) == NULL) { in sshkey_xmss_get_state_from_file()
H A Dchannels.c3172 if ((original = sshbuf_from(cp, have)) == NULL || in channel_proxy_downstream()
3199 if ((original = sshbuf_from(cp, have)) == NULL || in channel_proxy_downstream()
3224 if ((original = sshbuf_from(cp, have)) == NULL) { in channel_proxy_downstream()
H A Dsshkey.c1969 if ((b = sshbuf_from(blob, blen)) == NULL) in sshkey_from_blob()
2004 if ((b = sshbuf_from(sig, siglen)) == NULL) in sshkey_get_sigtype()