/freebsd/contrib/bearssl/src/aead/ |
H A D | gcm.c | 236 br_gcm_get_tag(br_gcm_context *ctx, void *tag) in br_gcm_get_tag() argument 262 memcpy(tag, ctx->y, 16); in br_gcm_get_tag() 263 (*ctx->bctx)->run(ctx->bctx, ctx->j0_1, ctx->j0_2, tag, 16); in br_gcm_get_tag() 268 br_gcm_get_tag_trunc(br_gcm_context *ctx, void *tag, size_t len) in br_gcm_get_tag_trunc() argument 273 memcpy(tag, tmp, len); in br_gcm_get_tag_trunc() 278 br_gcm_check_tag_trunc(br_gcm_context *ctx, const void *tag, size_t len) in br_gcm_check_tag_trunc() argument 287 x |= tmp[u] ^ ((const unsigned char *)tag)[u]; in br_gcm_check_tag_trunc() 294 br_gcm_check_tag(br_gcm_context *ctx, const void *tag) in br_gcm_check_tag() argument 296 return br_gcm_check_tag_trunc(ctx, tag, 16); in br_gcm_check_tag()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.gen.c | 325 ev_uint32_t tag; in msg_unmarshal() local 329 switch (tag) { in msg_unmarshal() 412 ev_uint32_t tag; in evtag_unmarshal_msg() local 417 if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) in evtag_unmarshal_msg() 639 ev_uint32_t tag; in kill_unmarshal() local 643 switch (tag) { in kill_unmarshal() 700 ev_uint32_t tag; in evtag_unmarshal_kill() local 705 if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) in evtag_unmarshal_kill() 1092 ev_uint32_t tag; in run_unmarshal() local 1096 switch (tag) { in run_unmarshal() [all …]
|
/freebsd/contrib/libevent/test/ |
H A D | regress.gen.c | 325 ev_uint32_t tag; in msg_unmarshal() local 329 switch (tag) { in msg_unmarshal() 412 ev_uint32_t tag; in evtag_unmarshal_msg() local 417 if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) in evtag_unmarshal_msg() 639 ev_uint32_t tag; in kill_unmarshal() local 643 switch (tag) { in kill_unmarshal() 700 ev_uint32_t tag; in evtag_unmarshal_kill() local 705 if (evtag_unmarshal(evbuf, &tag, tmp) == -1 || tag != need_tag) in evtag_unmarshal_kill() 1092 ev_uint32_t tag; in run_unmarshal() local 1096 switch (tag) { in run_unmarshal() [all …]
|
/freebsd/crypto/openssl/providers/implementations/include/prov/ |
H A D | ciphercommon_ccm.h | 60 unsigned char *tag, size_t taglen)); 64 unsigned char *tag, size_t taglen)); 66 unsigned char *tag, size_t taglen)); 94 int ossl_ccm_generic_gettag(PROV_CCM_CTX *ctx, unsigned char *tag, size_t tlen); 97 unsigned char *tag, size_t taglen);
|
/freebsd/crypto/openssh/regress/ |
H A D | scp3.sh | 36 tag="$tid: $mode mode" 43 verbose "$tag: simple copy remote file to remote file" 48 verbose "$tag: simple copy remote file to remote dir" 54 verbose "$tag: recursive remote dir to remote dir" 60 verbose "$tag: detect non-directory target"
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | wmi-tlv.c | 101 tlv_tag = __le16_to_cpu(tlv->tag); in ath10k_wmi_tlv_iter() 139 if (tag < WMI_TLV_TAG_MAX) in ath10k_wmi_tlv_iter_parse() 140 tb[tag] = ptr; in ath10k_wmi_tlv_iter_parse() 241 if (tag != WMI_TLV_TAG_STRUCT_PEER_STATS_INFO) in ath10k_wmi_tlv_parse_peer_stats_info() 905 switch (tag) { in ath10k_wmi_tlv_mgmt_tx_bundle_compl_parse() 1121 if (tag != WMI_TLV_TAG_STRUCT_TIM_INFO) in ath10k_wmi_tlv_swba_tim_parse() 1150 if (tag != WMI_TLV_TAG_STRUCT_P2P_NOA_INFO) in ath10k_wmi_tlv_swba_noa_parse() 1166 switch (tag) { in ath10k_wmi_tlv_swba_parse() 1304 switch (tag) { in ath10k_wmi_tlv_svc_rdy_parse() 1442 switch (tag) { in ath10k_wmi_tlv_svc_avail_parse() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_nvram.c | 79 uint32_t dword, tag; in tlv_tag() local 84 return (tag); in tlv_tag() 196 __in uint32_t tag) in tlv_find() argument 376 __in uint32_t tag, in tlv_write() argument 401 __in uint32_t tag, in tlv_insert() argument 499 __in uint32_t tag, in tlv_modify() argument 974 uint32_t tag; in ef10_nvram_buffer_find_item() local 1011 uint32_t tag; in ef10_nvram_buffer_peek_item() local 1019 *tagp = tag; in ef10_nvram_buffer_peek_item() 1096 __in uint32_t tag, in ef10_nvram_buffer_insert_item() argument [all …]
|
H A D | ef10_image.c | 54 #define ASN1_TAG_IS_PRIM(tag) ((tag & 0x20) == 0) argument 63 uint8_t tag; member 72 __in uint8_t tag) in efx_asn1_parse_header_match_tag() argument 81 cursor->tag = cursor->buffer[0]; in efx_asn1_parse_header_match_tag() 82 if (cursor->tag != tag) { in efx_asn1_parse_header_match_tag() 88 if ((cursor->tag & 0x1F) == 0x1F) { in efx_asn1_parse_header_match_tag() 156 __in uint8_t tag) in efx_asn1_enter_tag() argument 165 if (ASN1_TAG_IS_PRIM(tag)) { in efx_asn1_enter_tag() 199 __in uint8_t tag, in efx_asn1_match_tag_value() argument 245 __in uint8_t tag) in efx_asn1_skip_tag() argument [all …]
|
/freebsd/crypto/openssl/crypto/modes/ |
H A D | siv128.c | 287 memcpy(ctx->tag.byte, &q, SIV_LEN); in ossl_siv128_encrypt() 313 memcpy(&q, ctx->tag.byte, SIV_LEN); in ossl_siv128_decrypt() 321 p = ctx->tag.byte; in ossl_siv128_decrypt() 344 int ossl_siv128_set_tag(SIV128_CONTEXT *ctx, const unsigned char *tag, size_t len) in ossl_siv128_set_tag() argument 350 memcpy(ctx->tag.byte, tag, len); in ossl_siv128_set_tag() 357 int ossl_siv128_get_tag(SIV128_CONTEXT *ctx, unsigned char *tag, size_t len) in ossl_siv128_get_tag() argument 363 memcpy(tag, ctx->tag.byte, len); in ossl_siv128_get_tag() 380 OPENSSL_cleanse(&ctx->tag, sizeof(ctx->tag)); in ossl_siv128_cleanup()
|
/freebsd/sys/dev/liquidio/base/ |
H A D | lio_device.h | 173 bus_space_tag_t tag; member 358 void *tag; member 495 void *tag; member 827 return (bus_space_read_1(oct->mem_bus_space[0].tag, in lio_read_csr8() 835 bus_space_write_1(oct->mem_bus_space[0].tag, in lio_write_csr8() 843 return (bus_space_read_2(oct->mem_bus_space[0].tag, in lio_read_csr16() 851 bus_space_write_2(oct->mem_bus_space[0].tag, in lio_write_csr16() 859 return (bus_space_read_4(oct->mem_bus_space[0].tag, in lio_read_csr32() 867 bus_space_write_4(oct->mem_bus_space[0].tag, in lio_write_csr32() 879 return (bus_space_read_8(oct->mem_bus_space[0].tag, in lio_read_csr64() [all …]
|
/freebsd/sys/arm64/iommu/ |
H A D | iommu.c | 206 struct bus_dma_tag_iommu *tag; in iommu_ctx_init() local 218 tag = ioctx->tag = malloc(sizeof(struct bus_dma_tag_iommu), in iommu_ctx_init() 220 tag->owner = requester; in iommu_ctx_init() 221 tag->ctx = ioctx; in iommu_ctx_init() 222 tag->ctx->domain = iodom; in iommu_ctx_init() 224 iommu_tag_init(iodom, tag); in iommu_ctx_init() 379 struct bus_dma_tag_iommu *tag; in iommu_free_ctx_locked() local 383 tag = ioctx->tag; in iommu_free_ctx_locked() 387 free(tag, M_IOMMU); in iommu_free_ctx_locked()
|
/freebsd/sys/dev/cxgb/sys/ |
H A D | uipc_mvec.c | 52 busdma_map_sg_collapse(bus_dma_tag_t tag, bus_dmamap_t map, in busdma_map_sg_collapse() argument 63 err = bus_dmamap_load_mbuf_sg(tag, map, *m, segs, &seg_count, 0); in busdma_map_sg_collapse() 93 busdma_map_sg_vec(bus_dma_tag_t tag, bus_dmamap_t map, in busdma_map_sg_vec() argument 99 bus_dmamap_load_mbuf_sg(tag, map, m, segs, &n, 0); in busdma_map_sg_vec()
|
/freebsd/contrib/tcpdump/ |
H A D | print-bootp.c | 586 uint16_t tag; in rfc1048_print() local 601 tag = GET_U_1(bp); in rfc1048_print() 603 if (tag == TAG_PAD && ndo->ndo_vflag < 3) in rfc1048_print() 605 if (tag == TAG_END && ndo->ndo_vflag < 3) in rfc1048_print() 607 cp = tok2str(tag2str, "?Unknown", tag); in rfc1048_print() 610 if (tag == TAG_PAD || tag == TAG_END) in rfc1048_print() 641 if (tag == TAG_PARM_REQUEST) { in rfc1048_print() 774 switch (tag) { in rfc1048_print() 782 tag = GET_U_1(bp); in rfc1048_print() 794 tag = GET_U_1(bp); in rfc1048_print() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stacktrace.h | 45 u32 tag; member 52 StackTrace() : trace(nullptr), size(0), tag(0) {} in StackTrace() 53 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {} in StackTrace() 54 StackTrace(const uptr *trace, u32 size, u32 tag) in StackTrace() 55 : trace(trace), size(size), tag(tag) {} in StackTrace()
|
/freebsd/sys/x86/cpufreq/ |
H A D | smist.c | 192 bus_dma_tag_t tag; in set_ownership() local 205 /*maxsegsize*/ PAGE_SIZE, 0, NULL, NULL, &tag) != 0) { in set_ownership() 209 if (bus_dmamem_alloc(tag, &cb_data.buf, BUS_DMA_NOWAIT, &map) != 0) { in set_ownership() 210 bus_dma_tag_destroy(tag); in set_ownership() 218 if (bus_dmamap_load(tag, map, cb_data.buf, PAGE_SIZE, set_ownership_cb, in set_ownership() 220 bus_dmamem_free(tag, cb_data.buf, map); in set_ownership() 221 bus_dma_tag_destroy(tag); in set_ownership() 226 bus_dmamap_unload(tag, map); in set_ownership() 227 bus_dmamem_free(tag, cb_data.buf, map); in set_ownership() 228 bus_dma_tag_destroy(tag); in set_ownership()
|
/freebsd/crypto/openssl/providers/common/der/ |
H A D | der_dsa_key.c | 20 int ossl_DER_w_algorithmIdentifier_DSA(WPACKET *pkt, int tag, DSA *dsa) in ossl_DER_w_algorithmIdentifier_DSA() argument 22 return ossl_DER_w_begin_sequence(pkt, tag) in ossl_DER_w_algorithmIdentifier_DSA() 26 && ossl_DER_w_end_sequence(pkt, tag); in ossl_DER_w_algorithmIdentifier_DSA()
|
/freebsd/sys/isa/ |
H A D | pnp.c | 398 tag = *resp++; in pnp_create_devices() 400 if (PNP_RES_TYPE(tag) != 0) { in pnp_create_devices() 445 if (scanning < PNP_SRES_LEN(tag)) { in pnp_create_devices() 450 resp += PNP_SRES_LEN(tag); in pnp_create_devices() 451 scanning -= PNP_SRES_LEN(tag); in pnp_create_devices() 453 switch (PNP_SRES_NUM(tag)) { in pnp_create_devices() 588 u_char tag; in pnp_read_resources() local 596 tag = resources[len-1]; in pnp_read_resources() 597 if (PNP_RES_TYPE(tag) == 0) { in pnp_read_resources() 601 error = pnp_read_bytes(PNP_SRES_LEN(tag), in pnp_read_resources() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | dmu_objset.h | 212 int dmu_objset_hold(const char *name, const void *tag, objset_t **osp); 213 int dmu_objset_hold_flags(const char *name, boolean_t decrypt, const void *tag, 216 boolean_t readonly, boolean_t decrypt, const void *tag, objset_t **osp); 219 const void *tag, objset_t **osp); 221 struct dsl_dataset **newds, boolean_t decrypt, const void *tag); 222 void dmu_objset_rele(objset_t *os, const void *tag); 223 void dmu_objset_rele_flags(objset_t *os, boolean_t decrypt, const void *tag); 224 void dmu_objset_disown(objset_t *os, boolean_t decrypt, const void *tag);
|
H A D | dmu.h | 331 boolean_t readonly, boolean_t key_required, const void *tag, 333 void dmu_objset_rele(objset_t *os, const void *tag); 553 const void *tag, dmu_buf_t **dbp); 571 const void *tag, dmu_buf_t **, int flags); 573 uint64_t length, int read, const void *tag, int *numbufsp, 576 const void *tag, dmu_buf_t **dbp); 578 const void *tag, dmu_buf_t **dbp, int flags); 588 void dmu_buf_add_ref(dmu_buf_t *db, const void *tag); 598 uint64_t blkid, const void *tag); 600 void dmu_buf_rele(dmu_buf_t *db, const void *tag); [all …]
|
/freebsd/sys/crypto/openssl/ |
H A D | ossl_aes.c | 174 unsigned char iv[AES_BLOCK_LEN], tag[AES_BLOCK_LEN]; in ossl_aes_gcm() local 247 ctx.ops->tag(&ctx, tag, GMAC_DIGEST_LEN); in ossl_aes_gcm() 249 tag); in ossl_aes_gcm() 252 tag); in ossl_aes_gcm() 253 if (ctx.ops->finish(&ctx, tag, GMAC_DIGEST_LEN) != 0) in ossl_aes_gcm() 258 explicit_bzero(tag, sizeof(tag)); in ossl_aes_gcm()
|
/freebsd/sys/net/ |
H A D | ethernet.h | 97 #define EVL_VLANOFTAG(tag) ((tag) & EVL_VLID_MASK) argument 98 #define EVL_PRIOFTAG(tag) (((tag) >> 13) & 7) argument 99 #define EVL_CFIOFTAG(tag) (((tag) >> 12) & 1) argument 453 static __inline struct mbuf *ether_vlanencap(struct mbuf *m, uint16_t tag) in ether_vlanencap() argument 456 return ether_vlanencap_proto(m, tag, ETHERTYPE_VLAN); in ether_vlanencap()
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | Makefile.in | 167 libhx509_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ 194 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 198 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 993 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1000 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1007 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1042 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1049 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1056 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … 1133 @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) … [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event_rpcgen.py | 426 def __init__(self, ent_type, name, tag): argument 429 self._tag = int(tag) 589 def __init__(self, ent_type, name, tag, length): argument 761 def __init__(self, ent_type, name, tag): argument 1058 def __init__(self, ent_type, name, tag): argument 1481 tag = "" 1522 tag = int(token, 0) 1809 def EntryVarBytes(entry_type, name, tag): argument 1813 def EntryInt(entry_type, name, tag, bits=32): argument 1817 def EntryString(entry_type, name, tag): argument [all …]
|
/freebsd/contrib/libevent/ |
H A D | event_rpcgen.py | 426 def __init__(self, ent_type, name, tag): argument 429 self._tag = int(tag) 589 def __init__(self, ent_type, name, tag, length): argument 761 def __init__(self, ent_type, name, tag): argument 1058 def __init__(self, ent_type, name, tag): argument 1481 tag = "" 1522 tag = int(token, 0) 1809 def EntryVarBytes(entry_type, name, tag): argument 1813 def EntryInt(entry_type, name, tag, bits=32): argument 1817 def EntryString(entry_type, name, tag): argument [all …]
|
/freebsd/sys/netgraph/ |
H A D | ng_tag.c | 253 NETGRAPH_INIT(tag, &typestruct); 504 struct m_tag *tag = NULL; in ng_tag_rcvdata() local 536 tag = m_tag_locate(m, cookie, type, NULL); in ng_tag_rcvdata() 537 while (tag != NULL) { in ng_tag_rcvdata() 538 if (memcmp((void *)(tag + 1), in ng_tag_rcvdata() 543 tag = m_tag_locate(m, cookie, type, tag); in ng_tag_rcvdata() 554 m_tag_delete(m, tag); in ng_tag_rcvdata() 576 tag = m_tag_alloc(cookie, type, tag_len, M_NOWAIT); in ng_tag_rcvdata() 578 if (tag != NULL) { in ng_tag_rcvdata() 581 memcpy((void *)(tag + 1), in ng_tag_rcvdata() [all …]
|