Lines Matching refs:sshbuf_ptr
682 if (timingsafe_bcmp(sshbuf_ptr(a->certblob), sshbuf_ptr(b->certblob), in cert_compare()
831 memcpy(*blobp, sshbuf_ptr(b), len); in to_blob()
1304 if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) { in sshkey_write()
1605 sshbuf_ptr(prvbuf), sshbuf_len(prvbuf), 0, 0)) != 0) in sshkey_shield_private()
1870 sshbuf_ptr(key->cert->certblob), signed_len, NULL, 0, NULL)) != 0) in cert_parse()
2255 if ((ret = signer(ca, &sig_blob, &sig_len, sshbuf_ptr(cert), in sshkey_certify_custom()
2846 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2()
2894 cp = sshbuf_ptr(blob); in private2_uudecode()
2929 if ((r = sshbuf_b64tod(decoded, (char *)sshbuf_ptr(encoded))) != 0) in private2_uudecode()
2934 memcmp(sshbuf_ptr(decoded), AUTH_MAGIC, sizeof(AUTH_MAGIC))) { in private2_uudecode()
3048 if ((r = cipher_crypt(ciphercontext, 0, dp, sshbuf_ptr(decoded), in private2_decrypt()
3437 if (BIO_write(bio, sshbuf_ptr(blob), sshbuf_len(blob)) != in sshkey_parse_private_pem_fileblob()