• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/crypto/openssh/

Lines Matching defs:sect

582 	struct sshbuf *sect;
585 if ((sect = sshbuf_new()) == NULL)
629 if ((r = put_bitmap(sect, bitmap)) != 0)
636 (r = sshbuf_put_stringb(buf, sect)) != 0)
638 sshbuf_reset(sect);
646 sshbuf_reset(sect);
657 if ((r = sshbuf_put_u64(sect,
668 if ((r = sshbuf_put_u64(sect, rs->lo + i)) != 0)
673 if ((r = sshbuf_put_u64(sect, rs->lo)) != 0 ||
674 (r = sshbuf_put_u64(sect, rs->hi)) != 0)
702 if ((r = put_bitmap(sect, bitmap)) != 0)
709 (r = sshbuf_put_stringb(buf, sect)) != 0)
715 sshbuf_reset(sect);
718 if ((r = sshbuf_put_cstring(sect, rki->key_id)) != 0)
721 if (sshbuf_len(sect) != 0) {
723 (r = sshbuf_put_stringb(buf, sect)) != 0)
729 sshbuf_free(sect);
740 struct sshbuf *sect;
747 if ((sect = sshbuf_new()) == NULL)
762 sshbuf_reset(sect);
763 if ((r = revoked_certs_generate(rc, sect)) != 0)
766 (r = sshbuf_put_stringb(buf, sect)) != 0)
771 sshbuf_reset(sect);
774 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
777 if (sshbuf_len(sect) != 0) {
779 (r = sshbuf_put_stringb(buf, sect)) != 0)
782 sshbuf_reset(sect);
785 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
788 if (sshbuf_len(sect) != 0) {
791 (r = sshbuf_put_stringb(buf, sect)) != 0)
794 sshbuf_reset(sect);
797 if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
800 if (sshbuf_len(sect) != 0) {
803 (r = sshbuf_put_stringb(buf, sect)) != 0)
825 sshbuf_free(sect);
959 blob_section(struct sshbuf *sect, struct revoked_blob_tree *target_tree,
966 while (sshbuf_len(sect) > 0) {
967 if ((r = sshbuf_get_string(sect, &rdata, &rlen)) != 0)
987 struct sshbuf *copy = NULL, *sect = NULL;
1122 sshbuf_free(sect);
1123 sect = NULL;
1125 (r = sshbuf_froms(copy, &sect)) != 0)
1131 if ((r = parse_revoked_certs(sect, krl)) != 0)
1135 if ((r = blob_section(sect,
1140 if ((r = blob_section(sect,
1145 if ((r = blob_section(sect,
1151 sshbuf_free(sect);
1152 sect = NULL;
1161 if (sect != NULL && sshbuf_len(sect) > 0) {
1214 sshbuf_free(sect);