Lines Matching refs:sshbuf_len
680 if (sshbuf_len(a->certblob) != sshbuf_len(b->certblob)) in cert_compare()
683 sshbuf_len(a->certblob)) != 0) in cert_compare()
757 if (sshbuf_len(key->cert->certblob) == 0) in to_blob_buf()
823 len = sshbuf_len(b); in to_blob()
1304 if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) { in sshkey_write()
1590 while (sshbuf_len(prvbuf) % cipher_blocksize(cipher)) { in sshkey_shield_private()
1599 enclen = sshbuf_len(prvbuf); in sshkey_shield_private()
1605 sshbuf_ptr(prvbuf), sshbuf_len(prvbuf), 0, 0)) != 0) in sshkey_shield_private()
1656 while (sshbuf_len(decrypted)) { in private2_check_padding()
1791 signed_len = sshbuf_len(key->cert->certblob) - sshbuf_len(b); in cert_parse()
1805 while (sshbuf_len(principals) > 0) { in cert_parse()
1843 while (sshbuf_len(crit) != 0) { in cert_parse()
1851 while (exts != NULL && sshbuf_len(exts) != 0) { in cert_parse()
1947 if (key != NULL && sshbuf_len(b) != 0) { in sshkey_from_blob_internal()
2256 sshbuf_len(cert), alg, sk_provider, sk_pin, 0, signer_ctx)) != 0) in sshkey_certify_custom()
2389 if (sshbuf_len(key->cert->critical) != 0) { in sshkey_cert_check_host()
2460 sshbuf_len(key->cert->certblob) == 0) { in sshkey_private_serialize_opt()
2832 while (sshbuf_len(encrypted) % blocksize) { in sshkey_private_to_blob2()
2838 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0) in sshkey_private_to_blob2()
2843 sshbuf_len(encrypted) + authlen, &cp)) != 0) in sshkey_private_to_blob2()
2846 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2()
2895 encoded_len = sshbuf_len(blob); in private2_uudecode()
2933 if (sshbuf_len(decoded) < sizeof(AUTH_MAGIC) || in private2_uudecode()
3037 if (sshbuf_len(decoded) < authlen || in private2_decrypt()
3038 sshbuf_len(decoded) - authlen < encrypted_len) { in private2_decrypt()
3058 if (sshbuf_len(decoded) != 0) { in private2_decrypt()
3435 if ((bio = BIO_new(BIO_s_mem())) == NULL || sshbuf_len(blob) > INT_MAX) in sshkey_parse_private_pem_fileblob()
3437 if (BIO_write(bio, sshbuf_ptr(blob), sshbuf_len(blob)) != in sshkey_parse_private_pem_fileblob()
3438 (int)sshbuf_len(blob)) { in sshkey_parse_private_pem_fileblob()