• Home
  • Raw
  • Download

Lines Matching refs:sshbuf_len

672 	if (sshbuf_len(a->certblob) != sshbuf_len(b->certblob))  in cert_compare()
675 sshbuf_len(a->certblob)) != 0) in cert_compare()
868 len = sshbuf_len(b); in to_blob()
1333 sshbuf_len(blob), &k)) != 0) { in sshkey_read()
1425 if (sshbuf_len(key->cert->certblob) == 0) in sshkey_write()
1483 if (fwrite(sshbuf_ptr(b), sshbuf_len(b), 1, f) != 1) { in sshkey_write()
1875 signed_len = sshbuf_len(key->cert->certblob) - sshbuf_len(b); in cert_parse()
1889 while (sshbuf_len(principals) > 0) { in cert_parse()
1928 while (sshbuf_len(crit) != 0) { in cert_parse()
1936 while (exts != NULL && sshbuf_len(exts) != 0) { in cert_parse()
2138 if (key != NULL && sshbuf_len(b) != 0) { in sshkey_from_blob_internal()
2513 sshbuf_len(cert), 0)) != 0) in sshkey_certify()
2609 if (key->cert == NULL || sshbuf_len(key->cert->certblob) == 0) { in sshkey_private_serialize()
2630 if (key->cert == NULL || sshbuf_len(key->cert->certblob) == 0) { in sshkey_private_serialize()
2648 if (key->cert == NULL || sshbuf_len(key->cert->certblob) == 0) { in sshkey_private_serialize()
2667 if (key->cert == NULL || sshbuf_len(key->cert->certblob) == 0) { in sshkey_private_serialize()
3133 while (sshbuf_len(encrypted) % blocksize) { in sshkey_private_to_blob2()
3139 if ((r = sshbuf_put_u32(encoded, sshbuf_len(encrypted))) != 0) in sshkey_private_to_blob2()
3144 sshbuf_len(encrypted) + authlen, &cp)) != 0) in sshkey_private_to_blob2()
3147 sshbuf_ptr(encrypted), sshbuf_len(encrypted), 0, authlen)) != 0) in sshkey_private_to_blob2()
3227 encoded_len = sshbuf_len(blob); in sshkey_parse_private2()
3265 if (sshbuf_len(decoded) < sizeof(AUTH_MAGIC) || in sshkey_parse_private2()
3335 sshbuf_len(decoded), 0, cipher_authlen(cipher))) != 0) { in sshkey_parse_private2()
3344 if (sshbuf_len(decoded) != 0) { in sshkey_parse_private2()
3365 while (sshbuf_len(decrypted)) { in sshkey_parse_private2()
3459 if ((r = sshbuf_put(buffer, buf, 8 - (sshbuf_len(buffer) % 8))) != 0) in sshkey_private_rsa1_to_blob()
3486 if ((r = sshbuf_reserve(encrypted, sshbuf_len(buffer), &cp)) != 0) in sshkey_private_rsa1_to_blob()
3493 sshbuf_ptr(buffer), sshbuf_len(buffer), 0, 0)) != 0) in sshkey_private_rsa1_to_blob()
3619 if (sshbuf_len(blob) < sizeof(LEGACY_BEGIN)) in sshkey_parse_public_rsa1_fileblob()
3686 if (sshbuf_len(blob) < sizeof(LEGACY_BEGIN)) in sshkey_parse_private_rsa1()
3727 if ((r = sshbuf_reserve(decrypted, sshbuf_len(copy), &cp)) != 0) in sshkey_parse_private_rsa1()
3735 sshbuf_ptr(copy), sshbuf_len(copy), 0, 0)) != 0) { in sshkey_parse_private_rsa1()
3799 if ((bio = BIO_new(BIO_s_mem())) == NULL || sshbuf_len(blob) > INT_MAX) in sshkey_parse_private_pem_fileblob()
3801 if (BIO_write(bio, sshbuf_ptr(blob), sshbuf_len(blob)) != in sshkey_parse_private_pem_fileblob()
3802 (int)sshbuf_len(blob)) { in sshkey_parse_private_pem_fileblob()