Home
last modified time | relevance | path

Searched refs:content_type (Results 1 – 25 of 32) sorted by relevance

12

/openbsd-src/lib/libssl/
H A Dtls13_record_layer.c23 uint8_t content_type, const uint8_t *buf, size_t n);
25 uint8_t content_type, const uint8_t *content, size_t content_len);
560 uint8_t content_type; in tls13_record_layer_open_record_protected()
601 content_type = 0; in tls13_record_layer_open_record_protected()
602 while (CBS_get_last_u8(&inner, &content_type)) { in tls13_record_layer_open_record_protected()
603 if (content_type != 0) in tls13_record_layer_open_record_protected()
606 if (content_type == 0) { in tls13_record_layer_open_record_protected()
616 tls_content_set_data(rl->rcontent, content_type, CBS_data(&inner), in tls13_record_layer_open_record_protected()
641 uint8_t content_type, const uint8_t *content, size_t content_len) in tls13_record_layer_seal_record_plaintext()
654 if (rl->aead != NULL && content_type ! in tls13_record_layer_seal_record_plaintext()
553 uint8_t content_type; tls13_record_layer_open_record_protected() local
634 tls13_record_layer_seal_record_plaintext(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record_plaintext() argument
686 tls13_record_layer_seal_record_protected(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record_protected() argument
786 tls13_record_layer_seal_record(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_seal_record() argument
807 uint8_t content_type, ccs; tls13_record_layer_read_record() local
907 tls13_record_layer_pending(struct tls13_record_layer * rl,uint8_t content_type) tls13_record_layer_pending() argument
951 tls13_record_layer_read_internal(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n,int peek) tls13_record_layer_read_internal() argument
1002 tls13_record_layer_peek(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n) tls13_record_layer_peek() argument
1018 tls13_record_layer_read(struct tls13_record_layer * rl,uint8_t content_type,uint8_t * buf,size_t n) tls13_record_layer_read() argument
1035 tls13_record_layer_write_record(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * content,size_t content_len) tls13_record_layer_write_record() argument
1095 tls13_record_layer_write_chunk(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * buf,size_t n) tls13_record_layer_write_chunk() argument
1104 tls13_record_layer_write(struct tls13_record_layer * rl,uint8_t content_type,const uint8_t * buf,size_t n) tls13_record_layer_write() argument
[all...]
H A Dtls13_record.c23 uint8_t content_type; member
71 return rec->content_type; in tls13_record_content_type()
125 uint8_t content_type; in tls13_record_recv() local
132 if (rec->content_type == 0) { in tls13_record_recv()
140 if (!CBS_get_u8(&cbs, &content_type)) in tls13_record_recv()
152 rec->content_type = content_type; in tls13_record_recv()
H A Dtls12_record_layer.c621 uint8_t content_type, uint16_t record_len, CBS *seq_num, uint8_t **out, in tls12_record_layer_pseudo_header() argument
635 if (!CBB_add_u8(&cbb, content_type)) in tls12_record_layer_pseudo_header()
655 EVP_MD_CTX *hash_ctx, int stream_mac, CBS *seq_num, uint8_t content_type, in tls12_record_layer_mac() argument
670 if (!tls12_record_layer_pseudo_header(rl, content_type, content_len, in tls12_record_layer_mac()
704 uint8_t content_type, CBS *seq_num, const uint8_t *content, in tls12_record_layer_read_mac_cbc() argument
720 if (!tls12_record_layer_pseudo_header(rl, content_type, content_len, in tls12_record_layer_read_mac_cbc()
743 uint8_t content_type, CBS *seq_num, const uint8_t *content, in tls12_record_layer_read_mac() argument
753 rl->read->stream_mac, seq_num, content_type, content, content_len, in tls12_record_layer_read_mac()
759 uint8_t content_type, CBS *seq_num, const uint8_t *content, in tls12_record_layer_write_mac() argument
763 rl->write->stream_mac, seq_num, content_type, content, content_len, in tls12_record_layer_write_mac()
[all …]
H A Dssl_local.h654 uint8_t content_type, const uint8_t *content, size_t content_len,
658 typedef void (ssl_msg_callback_fn)(int is_write, int version, int content_type,
1216 void ssl_msg_callback(SSL *s, int is_write, int content_type,
1218 void ssl_msg_callback_cbs(SSL *s, int is_write, int content_type, CBS *cbs);
H A Dssl_lib.c3039 ssl_msg_callback(SSL *s, int is_write, int content_type,
3045 s->msg_callback(is_write, s->version, content_type, in ssl_msg_callback()
3050 ssl_msg_callback_cbs(SSL *s, int is_write, int content_type, CBS *cbs)
3052 ssl_msg_callback(s, is_write, content_type, CBS_data(cbs), CBS_len(cbs)); in ssl_msg_callback_cbs() argument
3493 int content_type, const void *buf, size_t len, SSL *ssl, void *arg))
3502 int content_type, const void *buf, size_t len, SSL *ssl, void *arg)) in SSL_cache_hit()
3041 ssl_msg_callback(SSL * s,int is_write,int content_type,const void * msg_buf,size_t msg_len) ssl_msg_callback() argument
3486 SSL_CTX_set_msg_callback(SSL_CTX * ctx,void (* cb)(int write_p,int version,int content_type,const void * buf,size_t len,SSL * ssl,void * arg)) SSL_CTX_set_msg_callback() argument
3495 SSL_set_msg_callback(SSL * ssl,void (* cb)(int write_p,int version,int content_type,const void * buf,size_t len,SSL * ssl,void * arg)) SSL_set_msg_callback() argument
/openbsd-src/sys/dev/pci/drm/display/
H A Ddrm_hdmi_helper.c177 switch (conn_state->content_type) { in drm_hdmi_avi_infoframe_content_type()
179 frame->content_type = HDMI_CONTENT_TYPE_GRAPHICS; in drm_hdmi_avi_infoframe_content_type()
182 frame->content_type = HDMI_CONTENT_TYPE_CINEMA; in drm_hdmi_avi_infoframe_content_type()
185 frame->content_type = HDMI_CONTENT_TYPE_GAME; in drm_hdmi_avi_infoframe_content_type()
188 frame->content_type = HDMI_CONTENT_TYPE_PHOTO; in drm_hdmi_avi_infoframe_content_type()
192 frame->content_type = HDMI_CONTENT_TYPE_GRAPHICS; in drm_hdmi_avi_infoframe_content_type()
195 frame->itc = conn_state->content_type != DRM_MODE_CONTENT_TYPE_NO_DATA; in drm_hdmi_avi_infoframe_content_type()
/openbsd-src/gnu/llvm/llvm/include/llvm/Object/
H A DSymbolicFile.h69 template <class content_type> class content_iterator {
70 content_type Current;
74 using value_type = content_type;
79 content_iterator(content_type symb) : Current(std::move(symb)) {} in content_iterator()
81 const content_type *operator->() const { return &Current; }
83 const content_type &operator*() const { return Current; }
/openbsd-src/usr.sbin/bgplgd/
H A Dbgplgd.c37 const char *content_type; member
116 if (ctx->command->content_type == NULL) in bgpctl_call()
119 printf("Content-type: %s\r\n\r\n", ctx->command->content_type); in bgpctl_call()
/openbsd-src/usr.bin/openssl/
H A Ds_cb.c358 msg_cb(int write_p, int version, int content_type, const void *buf, size_t len, SSL * ssl, void *arg)
456 switch (content_type) { in msg_cb()
468 if (content_type == 21) { /* Alert */ in msg_cb()
573 if (content_type == 22) { /* Handshake */ in msg_cb()
360 msg_cb(int write_p,int version,int content_type,const void * buf,size_t len,SSL * ssl,void * arg) msg_cb() argument
H A Ds_apps.h
/openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/lib/Pod/Simple/
H A DHTMLBatch.pm575 my($self, $url, $is_default, $name, $content_type, $media, $_code) = @_;
586 $content_type ||= 'text/css';
588 my $bunch = [$url, $name, $content_type, $media, $_code];
750 my($self, $url, $content_type, $_code) = @_;
753 $url, $content_type || 'text/javascript', $_code
/openbsd-src/usr.sbin/unbound/testcode/
H A Ddohclient.c70 const char* content_type; member
196 headers[4].value = (uint8_t*)h2_session->content_type; in submit_query()
594 h2_session->content_type = "application/dns-message"; in main()
599 h2_session->content_type = optarg; in main()
/openbsd-src/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.h80 uint8_t content_type,
H A Damdgpu_dm_trace.h117 __field(unsigned int, content_type)
137 __entry->content_type = state->content_type;
154 __entry->picture_aspect_ratio, __entry->content_type,
H A Damdgpu_dm_hdcp.c167 u8 content_type, in hdcp_update_display() argument
194 if (content_type == DRM_MODE_HDCP_CONTENT_TYPE0) { in hdcp_update_display()
196 } else if (content_type == DRM_MODE_HDCP_CONTENT_TYPE1) { in hdcp_update_display()
/openbsd-src/sys/dev/pci/drm/i915/display/
H A Dintel_atomic.c142 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check()
H A Dintel_hdcp.c63 * content_type for all streams in DP MST topology because security f/w doesn't
64 * have any provision to mark content_type for each stream separately, it marks
65 * all available streams with the content_type proivided at the time of port
100 data->streams[0].stream_type = hdcp->content_type; in intel_hdcp_prepare_streams()
1717 hdcp->content_type); in hdcp2_authenticate_sink()
1942 hdcp->content_type); in _intel_hdcp2_enable()
1947 hdcp->content_type, ret); in _intel_hdcp2_enable()
1953 hdcp->content_type); in _intel_hdcp2_enable()
2375 hdcp->content_type = (u8)conn_state->hdcp_content_type; in intel_hdcp_enable()
2412 hdcp->content_type ! in intel_hdcp_enable()
[all...]
H A Dintel_dp_hdcp.c578 bool is_repeater, u8 content_type) in intel_dp_hdcp2_config_stream_type() argument
594 stream_type_msg.stream_type = content_type; in intel_dp_hdcp2_config_stream_type()
/openbsd-src/lib/libcrypto/pkcs7/
H A Dpk7_lib.c201 p7->d.signed_and_enveloped->enc_data->content_type = in PKCS7_set_type()
210 p7->d.enveloped->enc_data->content_type = in PKCS7_set_type()
219 p7->d.encrypted->enc_data->content_type = in PKCS7_set_type()
H A Dpkcs7.h122 ASN1_OBJECT *content_type; member
/openbsd-src/sys/dev/pci/drm/
H A Dhdmi.c166 ((frame->content_type & 0x3) << 4) | in hdmi_avi_infoframe_pack_only()
1223 hdmi_content_type_get_name(enum hdmi_content_type content_type) in hdmi_content_type_get_name() argument
1225 switch (content_type) { in hdmi_content_type_get_name()
1265 hdmi_content_type_get_name(frame->content_type)); in hdmi_avi_infoframe_log()
1640 frame->content_type = (ptr[4] >> 4) & 0x3; in hdmi_avi_infoframe_unpack()
/openbsd-src/regress/lib/libssl/shutdown/
H A Dshutdowntest.c267 ssl_msg_callback(int is_write, int version, int content_type, const void *buf, in ssl_msg_callback() argument
273 if (is_write || content_type != SSL3_RT_ALERT) in ssl_msg_callback()
/openbsd-src/sys/dev/pci/drm/include/linux/
H A Dhdmi.h185 enum hdmi_content_type content_type; member
/openbsd-src/sys/dev/pci/drm/include/drm/display/
H A Ddrm_dp_helper.h98 enum dp_content_type content_type; member
/openbsd-src/sys/dev/pci/drm/include/drm/
H A Ddrm_connector.h962 unsigned int content_type; member

12