Home
last modified time | relevance | path

Searched full:cid (Results 1 – 25 of 327) sorted by relevance

12345678910>>...14

/freebsd/crypto/openssl/crypto/ess/
H A Dess_lib.c28 ESS_CERT_ID *cid = NULL; in OSSL_ESS_signing_cert_new_init() local
42 if ((cid = ESS_CERT_ID_new_init(signcert, set_issuer_serial)) == NULL in OSSL_ESS_signing_cert_new_init()
43 || !sk_ESS_CERT_ID_push(sc->cert_ids, cid)) { in OSSL_ESS_signing_cert_new_init()
50 if ((cid = ESS_CERT_ID_new_init(cert, 1)) == NULL) { in OSSL_ESS_signing_cert_new_init()
54 if (!sk_ESS_CERT_ID_push(sc->cert_ids, cid)) { in OSSL_ESS_signing_cert_new_init()
63 ESS_CERT_ID_free(cid); in OSSL_ESS_signing_cert_new_init()
70 ESS_CERT_ID *cid = NULL; in ESS_CERT_ID_new_init() local
74 if ((cid = ESS_CERT_ID_new()) == NULL) { in ESS_CERT_ID_new_init()
82 if (!ASN1_OCTET_STRING_set(cid->hash, cert_sha1, SHA_DIGEST_LENGTH)) { in ESS_CERT_ID_new_init()
89 return cid; in ESS_CERT_ID_new_init()
[all …]
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_qpair.c23 uint16_t cid; member
43 /* Indexed by cid. */
94 nvmf_abort_request(struct nvmf_request *req, uint16_t cid) in nvmf_abort_request() argument
99 cqe.cid = cid; in nvmf_abort_request()
140 * NB: Don't bother byte-swapping the cid so that receive in nvmf_dispatch_command()
143 sqe->cid = cmd->cid; in nvmf_dispatch_command()
178 uint16_t cid; in nvmf_receive_capsule() local
186 * NB: Don't bother byte-swapping the cid as transmit doesn't in nvmf_receive_capsule()
189 cid = cqe->cid; in nvmf_receive_capsule()
191 if (cid > qp->num_commands) { in nvmf_receive_capsule()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_ooo.c45 ecore_ooo_seek_archipelago(struct ecore_ooo_info *p_ooo_info, u32 cid) in ecore_ooo_seek_archipelago() argument
47 u32 idx = (cid & 0xffff) - p_ooo_info->cid_base; in ecore_ooo_seek_archipelago()
63 u32 cid, u8 isle) in ecore_ooo_seek_isle() argument
69 p_archipelago = ecore_ooo_seek_archipelago(p_ooo_info, cid); in ecore_ooo_seek_isle()
72 "Connection %d is not found in OOO list\n", cid); in ecore_ooo_seek_isle()
206 u32 cid) in ecore_ooo_release_connection_isles() argument
212 p_archipelago = ecore_ooo_seek_archipelago(p_ooo_info, cid); in ecore_ooo_release_connection_isles()
403 u32 cid, in ecore_ooo_delete_isles() argument
411 p_archipelago = ecore_ooo_seek_archipelago(p_ooo_info, cid); in ecore_ooo_delete_isles()
414 cid, drop_isle); in ecore_ooo_delete_isles()
[all …]
H A Decore_iwarp.c100 ecore_iwarp_get_curr_fpdu(struct ecore_hwfn *p_hwfn, u16 cid);
147 ecore_iwarp_alloc_cid(struct ecore_hwfn *p_hwfn, u32 *cid) in ecore_iwarp_alloc_cid() argument
155 cid); in ecore_iwarp_alloc_cid()
158 *cid += ecore_cxt_get_proto_cid_start(p_hwfn, in ecore_iwarp_alloc_cid()
161 DP_NOTICE(p_hwfn, false, "Failed in allocating iwarp cid\n"); in ecore_iwarp_alloc_cid()
165 rc = ecore_cxt_dynamic_ilt_alloc(p_hwfn, ECORE_ELEM_CXT, *cid); in ecore_iwarp_alloc_cid()
169 *cid -= ecore_cxt_get_proto_cid_start(p_hwfn, in ecore_iwarp_alloc_cid()
174 *cid); in ecore_iwarp_alloc_cid()
183 ecore_iwarp_set_tcp_cid(struct ecore_hwfn *p_hwfn, u32 cid) in ecore_iwarp_set_tcp_cid() argument
185 cid -= ecore_cxt_get_proto_cid_start(p_hwfn, in ecore_iwarp_set_tcp_cid()
[all …]
H A Decore_roce.c71 data->rdma_data.rdma_destroy_qp_data.cid); in ecore_roce_async_event()
208 "cid bitmap wait timed out\n"); in ecore_roce_stop()
263 static void ecore_roce_free_cid_pair(struct ecore_hwfn *p_hwfn, u16 cid)
266 ecore_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->qp_map, cid);
267 ecore_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->qp_map, cid + 1);
329 u32 start_cid, icid, cid, qp_idx; in ecore_roce_alloc_qp_idx() local
342 /* Verify the cid bits that of this qp index are clear */ in ecore_roce_alloc_qp_idx()
356 cid = start_cid + icid; in ecore_roce_alloc_qp_idx()
358 rc = ecore_cxt_dynamic_ilt_alloc(p_hwfn, ECORE_ELEM_CXT, cid); in ecore_roce_alloc_qp_idx()
362 rc = ecore_cxt_dynamic_ilt_alloc(p_hwfn, ECORE_ELEM_CXT, cid + 1); in ecore_roce_alloc_qp_idx()
[all …]
H A Decore_cxt.h172 * @brief ecore_cxt_release - Release a cid
175 * @param cid
177 void ecore_cxt_release_cid(struct ecore_hwfn *p_hwfn, u32 cid);
180 * @brief ecore_cxt_release - Release a cid belonging to a vf-queue
183 * @param cid
187 u32 cid, u8 vfid);
190 * @brief ecore_cxt_acquire - Acquire a new cid of a specific protocol type
203 * @brief _ecore_cxt_acquire - Acquire a new cid of a specific protocol type
/freebsd/contrib/libfido2/src/
H A Dio.c13 uint32_t cid; /* channel id */ in PACKED_TYPE()
60 fp->cid = d->cid; in tx_empty()
83 fp->cid = d->cid; in tx_preamble()
110 fp->cid = d->cid; in tx_frame()
205 fp->cid = d->cid; in rx_preamble()
207 } while (fp->cid != d->cid || (fp->cid == d->cid && in rx_preamble()
218 if (fp->cid != d->cid || fp->body.init.cmd != (CTAP_FRAME_INIT | cmd)) { in rx_preamble()
219 fido_log_debug("%s: cid (0x%x, 0x%x), cmd (0x%02x, 0x%02x)", in rx_preamble()
220 __func__, fp->cid, d->cid, fp->body.init.cmd, cmd); in rx_preamble()
273 f.cid = d->cid; in rx()
[all …]
/freebsd/sys/dev/nvmf/controller/
H A Dnvmft_qpair.c77 printf("NVMFT: %s received CID %u opcode %u on newborn queue\n", in nvmft_receive_capsule()
78 qp->name, le16toh(cmd->cid), cmd->opc); in nvmft_receive_capsule()
90 /* Don't bother byte-swapping CID. */ in nvmft_receive_capsule()
91 if (BIT_TEST_SET_ATOMIC(NUM_CIDS, cmd->cid, qp->cids)) { in nvmft_receive_capsule()
224 /* Don't bother byte-swapping CID. */ in nvmft_command_completed()
225 KASSERT(BIT_ISSET(NUM_CIDS, cmd->cid, qp->cids), in nvmft_command_completed()
226 ("%s: CID %u not busy", __func__, cmd->cid)); in nvmft_command_completed()
228 BIT_CLR_ATOMIC(NUM_CIDS, cmd->cid, qp->cids); in nvmft_command_completed()
236 /* Don't bother byte-swapping CID. */ in nvmft_send_response()
237 KASSERT(BIT_ISSET(NUM_CIDS, cpl->cid, qp->cids), in nvmft_send_response()
[all …]
/freebsd/share/man/man4/
H A Dng_l2cap.493 All L2CAP signalling commands are sent to CID 0x0001.
95 The same CID must not be reused as a local L2CAP
101 Thus, even if the same CID value has been
104 remote CID with a different device.
108 In this state, there is no channel associated with this CID.
116 In this state, the CID represents a local end-point and an L2CAP Connect
167 Indication has been sent to the upper layer to notify the owner of the CID
250 Output parameters are the local CID (LCID)
257 issued the connection request, the local CID representing the channel being
271 Input parameters are the local CID endpoint, new
[all …]
/freebsd/sys/dev/bhnd/
H A Dbhnd_erom.c92 * @param[out] cid On success, the probed chip identifier.
101 struct bhnd_chipid *cid) in bhnd_erom_probe_driver_classes() argument
144 *cid = pcid; in bhnd_erom_probe_driver_classes()
164 * @param cid The device's chip identifier.
171 bhnd_erom_alloc(bhnd_erom_class_t *cls, const struct bhnd_chipid *cid, in bhnd_erom_alloc() argument
180 if ((error = BHND_EROM_INIT(erom, cid, eio))) { in bhnd_erom_alloc()
182 (uintmax_t)cid->enum_addr, error); in bhnd_erom_alloc()
203 * @param cid The device's chip identifier.
214 const struct bhnd_chipid *cid, struct bhnd_erom_io *eio) in bhnd_erom_init_static() argument
226 return (BHND_EROM_INIT(erom, cid, eio)); in bhnd_erom_init_static()
[all …]
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_lcidm.c33 QUIC_CONN_ID cid; member
80 SipHash_Update(&siphash, lcid_obj->cid.id, lcid_obj->cid.id_len); in lcid_hash()
90 return !ossl_quic_conn_id_eq(&a->cid, &b->cid); in lcid_comp()
180 key.cid = *lcid; in lcidm_get0_lcid()
183 if (key.cid.id_len > QUIC_MAX_CONN_ID_LEN) in lcidm_get0_lcid()
264 lcid_obj->cid = *lcid; in lcidm_conn_new_lcid()
304 QUIC_CONN_ID *cid) in lcidm_generate_cid() argument
310 *cid = lcidm->next_lcid; in lcidm_generate_cid()
318 return ossl_quic_gen_rand_conn_id(lcidm->libctx, lcidm->lcid_len, cid); in lcidm_generate_cid()
352 key.cid = *lcid_out; in lcidm_generate()
[all …]
/freebsd/contrib/wpa/src/eap_server/
H A Deap_server_pax.c41 char *cid; member
67 os_free(data->cid); in eap_pax_reset()
154 (u8 *) data->cid, data->cid_len, NULL, 0, pos) < 0) { in eap_pax_build_std_3()
160 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: MAC_CK(B, CID)", in eap_pax_build_std_3()
340 wpa_printf(MSG_INFO, "EAP-PAX: Too short PAX_STD-2 (CID)"); in eap_pax_process_std_2()
345 wpa_printf(MSG_INFO, "EAP-PAX: Too long CID"); in eap_pax_process_std_2()
349 os_free(data->cid); in eap_pax_process_std_2()
350 data->cid = os_memdup(pos + 2, data->cid_len); in eap_pax_process_std_2()
351 if (data->cid == NULL) { in eap_pax_process_std_2()
353 "CID"); in eap_pax_process_std_2()
[all …]
/freebsd/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu_subr.c122 query->cid = id; in bhnd_pmu_query_init()
201 switch (sc->cid.chip_id) { in bhnd_pmu_set_ldo_voltage()
335 sc->cid.chip_id); in bhnd_pmu_set_ldo_voltage()
356 switch (sc->cid.chip_id) { in bhnd_pmu_fast_pwrup_delay()
682 if (sc->cid.chip_id == BHND_CHIPID_BCM4325 && sc->cid.chip_rev <= 1) in bhnd_pmu_res_depfltr_ncb()
719 switch (sc->cid.chip_id) { in bhnd_pmu_res_masks()
763 if (sc->cid.chip_rev >= 2) in bhnd_pmu_res_masks()
816 if (sc->cid.chip_rev >= 0x2) { in bhnd_pmu_res_masks()
928 switch (sc->cid.chip_id) { in bhnd_pmu_res_init()
1370 switch (sc->cid.chip_id) { in bhnd_pmu1_xtaltab0()
[all …]
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_lib.c50 OCSP_CERTID *cid = NULL; in OCSP_cert_id_new() local
53 if ((cid = OCSP_CERTID_new()) == NULL) in OCSP_cert_id_new()
56 alg = &cid->hashAlgorithm; in OCSP_cert_id_new()
70 if (!(ASN1_OCTET_STRING_set(&cid->issuerNameHash, md, i))) in OCSP_cert_id_new()
77 if (!(ASN1_OCTET_STRING_set(&cid->issuerKeyHash, md, i))) in OCSP_cert_id_new()
81 if (ASN1_STRING_copy(&cid->serialNumber, serialNumber) == 0) in OCSP_cert_id_new()
84 return cid; in OCSP_cert_id_new()
88 OCSP_CERTID_free(cid); in OCSP_cert_id_new()
H A Docsp_vfy.c22 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
269 OCSP_CERTID *tmpid, *cid; in ocsp_check_ids() local
278 cid = sk_OCSP_SINGLERESP_value(sresp, 0)->certId; in ocsp_check_ids()
284 if (OCSP_id_issuer_cmp(cid, tmpid)) { in ocsp_check_ids()
287 cid->hashAlgorithm.algorithm)) in ocsp_check_ids()
295 *ret = cid; in ocsp_check_ids()
303 static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid, in ocsp_match_issuerid() argument
310 if (cid != NULL) { in ocsp_match_issuerid()
316 OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0); in ocsp_match_issuerid()
335 if (cid->issuerNameHash.length != mdlen || in ocsp_match_issuerid()
[all …]
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dquic-connID-retire.md9 MVP does most of one side of the CID management. The major outstanding items
13 * use more than the just latest CID for packet transmission
19 MVP does not issue multiple connection CIDs, instead it uses a zero length CID.
32 * Supporting migration goes well beyond CID management. The additions required
33 to the CID code should be undertaken when/if connection migration is
64 * routes we've retired until they are acked as being retired (uint64_t max CID)
68 be retransmitted, they'll be done so using a new CID on a new route.
H A Dglossary.md30 **CID:** Connection ID.
93 **LCID:** Local CID. Refers to a CID which will be recognised as identifying a
96 **LCIDM:** Local CID Manager. Tracks LCIDs which have been advertised to a peer.
139 **Numbered CID:** Refers to a Connection ID which has a sequence number assigned
141 number assigned. See also Unnumbered CID.
143 **ODCID:** Original Destination CID. This is the DCID found in the first Initial
228 **RCID:** Remote CID. Refers to a CID which has been provided to us by a peer
230 Unnumbered CID and Numbered CID.
232 **RCIDM:** Remote CID Manager. Tracks RCIDs which have been provided to us by a
323 **Unnumbered CID:** Refers to a CID which does not have a sequence number
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DOCSP_REQUEST_new.pod16 OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
34 OCSP_request_add0_id() adds certificate ID B<cid> to B<req>. It returns
59 OCSP_request_add0_id() returns the B<OCSP_ONEREQ> structure containing B<cid>
85 OCSP_ID *cid;
90 cid = OCSP_cert_to_id(EVP_sha1(), cert, issuer);
91 if (cid == NULL)
94 if (OCSP_REQUEST_add0_id(req, cid) == NULL)
/freebsd/sys/dev/bhnd/siba/
H A Dsiba_erom.c66 struct bhnd_chipid *cid);
92 const struct bhnd_chipid *hint, struct bhnd_chipid *cid) in siba_erom_probe() argument
129 *cid = *hint; in siba_erom_probe()
137 if ((error = siba_eio_read_chipid(&io, SIBA_ENUM_ADDR, cid))) in siba_erom_probe()
141 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe()
149 * if (cid.ncores > SIBA_MAX_CORES) in siba_erom_probe()
152 _Static_assert((2^sizeof(cid->ncores)) <= SIBA_MAX_CORES, in siba_erom_probe()
160 siba_erom_init(bhnd_erom_t *erom, const struct bhnd_chipid *cid, in siba_erom_init() argument
169 error = bhnd_erom_io_map(eio, cid->enum_addr, in siba_erom_init()
170 cid->ncores * SIBA_CORE_SIZE); in siba_erom_init()
[all …]
/freebsd/crypto/openssl/fuzz/
H A Dquic-rcidm.c31 * RESET_WITH_ODCID u8(0x00) u8(cidl):cid
34 * ADD_FROM_INITIAL u8(0x02) u8(cidl):cid
35 * ADD_FROM_SERVER_RETRY u8(0x03) u8(cidl):cid
37 * u64(retire_prior_to) u8(cidl):cid
62 static int get_cid(PACKET *pkt, QUIC_CONN_ID *cid) in get_cid() argument
68 || !PACKET_copy_bytes(pkt, cid->id, cidl)) in get_cid()
71 cid->id_len = (unsigned char)cidl; in get_cid()
/freebsd/secure/lib/libcrypto/man/man3/
H A DOCSP_REQUEST_new.375 \& OCSP_ONEREQ *OCSP_request_add0_id(OCSP_REQUEST *req, OCSP_CERTID *cid);
93 \&\fBOCSP_request_add0_id()\fR adds certificate ID \fBcid\fR to \fBreq\fR. It returns
117 \&\fBOCSP_request_add0_id()\fR returns the \fBOCSP_ONEREQ\fR structure containing \fBcid\fR
142 \& OCSP_ID *cid;
147 \& cid = OCSP_cert_to_id(EVP_sha1(), cert, issuer);
148 \& if (cid == NULL)
151 \& if (OCSP_REQUEST_add0_id(req, cid) == NULL)
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/
H A Dbhnd_pwrctl_subr.c76 * @param cid Chip identification.
82 bhnd_pwrctl_si_clkreg_m(const struct bhnd_chipid *cid, in bhnd_pwrctl_si_clkreg_m() argument
99 * @param cid Chip identification.
105 bhnd_pwrctl_si_clock_rate(const struct bhnd_chipid *cid, in bhnd_pwrctl_si_clock_rate() argument
110 KASSERT(bhnd_pwrctl_si_clkreg_m(cid, pll_type, NULL) != 0, in bhnd_pwrctl_si_clock_rate()
124 * @param cid Chip identification.
130 bhnd_pwrctl_cpu_clkreg_m(const struct bhnd_chipid *cid, in bhnd_pwrctl_cpu_clkreg_m() argument
147 if (cid->chip_id == BHND_CHIPID_BCM5365) { in bhnd_pwrctl_cpu_clkreg_m()
165 * @param cid Chip identification.
171 bhnd_pwrctl_cpu_clock_rate(const struct bhnd_chipid *cid, in bhnd_pwrctl_cpu_clock_rate() argument
[all …]
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_pax.c35 char *cid; member
57 wpa_printf(MSG_INFO, "EAP-PAX: CID (nai) or key (password) " in eap_pax_init()
72 data->cid = os_memdup(identity, identity_len); in eap_pax_init()
73 if (data->cid == NULL) { in eap_pax_init()
88 os_free(data->cid); in eap_pax_deinit()
201 wpabuf_put_data(resp, data->cid, data->cid_len); in eap_pax_process_std_1()
202 wpa_hexdump_ascii(MSG_MSGDUMP, "EAP-PAX: CID", in eap_pax_process_std_1()
203 (u8 *) data->cid, data->cid_len); in eap_pax_process_std_1()
210 (u8 *) data->cid, data->cid_len, rpos); in eap_pax_process_std_1()
211 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: MAC_CK(A, B, CID)", in eap_pax_process_std_1()
[all …]
/freebsd/sys/contrib/openzfs/scripts/
H A Dcommitcheck.sh72 # subject starts with Fix coverity defects: CID dddd, dddd...
74 grep -E -m 1 'Fix coverity defects: CID [[:digit:]]+(, [[:digit:]]+)*')
76 …Coverity defect fixes must have a subject line that starts with \"Fix coverity defects: CID dddd\""
89 for line in $(git log --no-show-signature -n 1 --pretty=%b "$REF" | grep -E '^CID'); do
90 …if ! echo "$line" | grep -qE '^CID [[:digit:]]+: ([[:graph:]]+|[[:space:]])+ \(([[:upper:]]|\_)+\)…
91 echo "error: commit message has an improperly formatted CID defect line"
/freebsd/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c631 u_int16_t cid ; in ng_l2cap_get_cid() local
637 /*Assume Last CID is 2^n-1 */ in ng_l2cap_get_cid()
641 endcid = l2cap->cid; in ng_l2cap_get_cid()
642 /*Assume Last CID is 2^n-1 */ in ng_l2cap_get_cid()
646 cid = (endcid+1) & mask; in ng_l2cap_get_cid()
648 if (cid < NG_L2CAP_FIRST_CID) in ng_l2cap_get_cid()
649 cid = NG_L2CAP_FIRST_CID; in ng_l2cap_get_cid()
651 while (cid != endcid) { in ng_l2cap_get_cid()
652 if (ng_l2cap_chan_by_scid(l2cap, cid, idtype) == NULL) { in ng_l2cap_get_cid()
654 l2cap->cid = cid; in ng_l2cap_get_cid()
[all …]

12345678910>>...14