Home
last modified time | relevance | path

Searched refs:content_len (Results 1 – 11 of 11) sorted by relevance

/openbsd/regress/lib/libcrypto/asn1/
H A Dasn1object.c72 size_t content_len; member
85 .content_len = 1,
97 .content_len = 2,
109 .content_len = 3,
121 .content_len = 3,
133 .content_len = 3,
145 .content_len = 3,
158 .content_len = 10,
242 aot->oid, ret, aot->content_len); in do_asn1_object_test()
251 if (aot->content_len == 0) { in do_asn1_object_test()
[all …]
H A Dasn1basic.c271 size_t content_len; member
282 .content_len = 1,
289 .content_len = 1,
296 .content_len = 1,
304 .content_len = 1,
311 .content_len = 1,
319 .content_len = 1,
326 .content_len = 1,
334 .content_len = 9,
341 .content_len = 9,
[all …]
/openbsd/lib/libssl/
H A Dtls12_record_layer.c727 content, content_len + mac_len, content_len + mac_len + padding_len, in tls12_record_layer_read_mac_cbc()
744 size_t content_len) in tls12_record_layer_read_mac() argument
856 size_t content_len = 0; in tls12_record_layer_open_record_protected_aead() local
887 content_len = 0; in tls12_record_layer_open_record_protected_aead()
907 if (out_len != content_len) in tls12_record_layer_open_record_protected_aead()
912 content_len = 0; in tls12_record_layer_open_record_protected_aead()
918 freezero(content, content_len); in tls12_record_layer_open_record_protected_aead()
935 size_t content_len = 0; in tls12_record_layer_open_record_protected_cipher() local
986 rrec.length = content_len; in tls12_record_layer_open_record_protected_cipher()
1036 content_len = 0; in tls12_record_layer_open_record_protected_cipher()
[all …]
H A Dtls_content.c124 size_t content_len; in tls_content_set_bounds() local
126 content_len = offset + len; in tls_content_set_bounds()
127 if (content_len < len) in tls_content_set_bounds()
129 if (content_len > content->data_len) in tls_content_set_bounds()
132 CBS_init(&content->cbs, content->data, content_len); in tls_content_set_bounds()
H A Dtls13_record_layer.c559 size_t content_len = 0; in tls13_record_layer_open_record_protected() local
574 content_len = CBS_len(&enc_record); in tls13_record_layer_open_record_protected()
581 content, &out_len, content_len, in tls13_record_layer_open_record_protected()
622 freezero(content, content_len); in tls13_record_layer_open_record_protected()
679 rl->wrec_content_len = content_len; in tls13_record_layer_seal_record_plaintext()
709 if (!CBB_init(&cbb, content_len + 1)) in tls13_record_layer_seal_record_protected()
711 if (!CBB_add_bytes(&cbb, content, content_len)) in tls13_record_layer_seal_record_protected()
773 rl->wrec_content_len = content_len; in tls13_record_layer_seal_record_protected()
805 content_type, content, content_len); in tls13_record_layer_seal_record()
808 content, content_len); in tls13_record_layer_seal_record()
[all …]
H A Dssl_local.h654 uint8_t content_type, const uint8_t *content, size_t content_len,
/openbsd/usr.sbin/httpd/
H A Dserver_fcgi.c63 uint16_t content_len; member
149 h->content_len = htons(sizeof(struct fcgi_begin_request_body)); in server_fcgi()
164 h->content_len = param.total_len = 0; in server_fcgi()
357 ntohs(h->content_len)) == -1) { in server_fcgi()
364 h->content_len = 0; in server_fcgi()
426 h.content_len = 0; in fcgi_add_stdin()
430 h.content_len = htons(EVBUFFER_LENGTH(evbuf)); in fcgi_add_stdin()
491 h->content_len = htons(p->total_len); in fcgi_add_param()
545 ntohs(h->content_len), h->padding_len); in server_fcgi_read()
547 clt->clt_fcgi.toread = ntohs(h->content_len); in server_fcgi_read()
/openbsd/usr.sbin/bgplgd/
H A Dslowcgi.c90 uint16_t content_len; member
844 if (n < sizeof(struct fcgi_record_header) + ntohs(h->content_len) in parse_record()
854 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
858 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
862 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
869 return (sizeof(struct fcgi_record_header) + ntohs(h->content_len) in parse_record()
1072 header->content_len = htons(n); in script_in()
1128 header->content_len = htons(n); in create_data_record()
1153 header->content_len = htons(sizeof(struct in create_end_record()
1229 ldebug("%scontentLength: %d", p, ntohs(h->content_len)); in dump_fcgi_record_header()
/openbsd/usr.sbin/slowcgi/
H A Dslowcgi.c95 uint16_t content_len; member
836 if (n < sizeof(struct fcgi_record_header) + ntohs(h->content_len) in parse_record()
846 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
850 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
854 ntohs(h->content_len), c, ntohs(h->id)); in parse_record()
861 return (sizeof(struct fcgi_record_header) + ntohs(h->content_len) in parse_record()
1003 header->content_len = htons(sizeof(struct in create_end_record()
1051 header->content_len = htons(n); in script_in()
1189 ldebug("%scontentLength: %d", p, ntohs(h->content_len)); in dump_fcgi_record_header()
/openbsd/gnu/llvm/llvm/lib/Support/BLAKE3/
H A Dblake3.c164 INLINE size_t left_len(size_t content_len) { in left_len() argument
167 size_t full_chunks = (content_len - 1) / BLAKE3_CHUNK_LEN; in left_len()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Delf32-xtensa.c3294 bfd_size_type content_len, in get_asm_simplify_size() argument
3300 insnlen = insn_decode_len (contents, content_len, offset); in get_asm_simplify_size()
3306 insnlen = insn_decode_len (contents, content_len, offset + size); in get_asm_simplify_size()
3351 bfd_size_type content_len, in insn_decode_len() argument
3359 if (offset + MIN_INSN_LENGTH > content_len) in insn_decode_len()
3365 content_len - offset); in insn_decode_len()
3381 bfd_size_type content_len, in insn_decode_opcode() argument
3390 if (offset + MIN_INSN_LENGTH > content_len) in insn_decode_opcode()
3400 content_len - offset); in insn_decode_opcode()
5589 bfd_size_type content_len, in insn_block_decodable_len() argument
[all …]