| /freebsd-14.2/crypto/openssl/crypto/ess/ |
| H A D | ess_lib.c | 73 return cid; in ESS_CERT_ID_new_init() 91 return cid; in ESS_CERT_ID_new_init() 112 if (cid == NULL) in OSSL_ESS_signing_cert_v2_new_init() 116 cid = NULL; in OSSL_ESS_signing_cert_v2_new_init() 125 cid = NULL; in OSSL_ESS_signing_cert_v2_new_init() 140 ESS_CERT_ID_V2 *cid; in ESS_CERT_ID_V2_new_init() local 171 return cid; in ESS_CERT_ID_V2_new_init() 188 return cid; in ESS_CERT_ID_V2_new_init() 234 if (cid != NULL) in find() 264 if (memcmp(cid != NULL ? cid->hash->data : cid_v2->hash->data, in find() [all …]
|
| /freebsd-14.2/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_ooo.c | 63 u32 cid, u8 isle) in ecore_ooo_seek_isle() argument 206 u32 cid) in ecore_ooo_release_connection_isles() argument 403 u32 cid, in ecore_ooo_delete_isles() argument 414 cid, drop_isle); in ecore_ooo_delete_isles() 418 drop_isle, cid); in ecore_ooo_delete_isles() 424 drop_isle, cid); in ecore_ooo_delete_isles() 454 ooo_isle - 1, cid); in ecore_ooo_add_new_isle() 503 u32 cid, in ecore_ooo_add_new_buffer() argument 513 ooo_isle, cid); in ecore_ooo_add_new_buffer() 538 left_isle + 1, cid); in ecore_ooo_join_isles() [all …]
|
| H A D | ecore_ooo.h | 104 u32 cid); 122 u32 cid, 128 u32 cid, 134 u32 cid, 141 u32 cid,
|
| H A D | ecore_iwarp.c | 155 cid); in ecore_iwarp_alloc_cid() 191 cid); in ecore_iwarp_set_tcp_cid() 209 cid); in ecore_iwarp_alloc_tcp_cid() 240 cid); in ecore_iwarp_cid_cleaned() 260 u32 cid; in ecore_iwarp_create_qp() local 1367 u32 cid; in ecore_iwarp_connect() local 1571 u32 cid; in ecore_iwarp_free_prealloc_ep() local 1616 u32 cid; in ecore_iwarp_prealloc_ep() local 2483 curr_pkt->cid = OSAL_LE32_TO_CPU(curr_pkt->cid); in ecore_iwarp_mpa_get_data() 3619 u16 cid; in ecore_iwarp_async_event() local [all …]
|
| H A D | ecore_roce.c | 356 cid = start_cid + icid; in ecore_roce_alloc_qp_idx() 380 u32 cid) in ecore_roce_set_cid() argument 385 cid); in ecore_roce_set_cid() 423 init_data.cid = qp->icid; in ecore_roce_sp_create_responder() 730 init_data.cid = qp->icid; in ecore_roce_sp_modify_responder() 951 init_data.cid = qp->icid; in ecore_roce_sp_destroy_qp_responder() 1117 init_data.cid = qp->icid; in ecore_roce_sp_query_responder() 1306 init_data.cid = cid; in ecore_roce_destroy_ud_qp() 1354 init_data.cid = icid; in ecore_roce_create_ud_qp() 1514 u32 start_cid, cid; in ecore_roce_free_icid() local [all …]
|
| /freebsd-14.2/contrib/libfido2/src/ |
| H A D | io.c | 13 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() 220 __func__, fp->cid, d->cid, fp->body.init.cmd, cmd); in rx_preamble() 273 f.cid = d->cid; in rx() 277 if (f.cid != d->cid || f.body.cont.seq != seq) { in rx() [all …]
|
| /freebsd-14.2/sys/dev/bhnd/ |
| H A D | bhnd_erom.c | 102 struct bhnd_chipid *cid) in bhnd_erom_probe_driver_classes() argument 145 *cid = pcid; in bhnd_erom_probe_driver_classes() 181 if ((error = BHND_EROM_INIT(erom, cid, eio))) { in bhnd_erom_alloc() 183 (uintmax_t)cid->enum_addr, error); in bhnd_erom_alloc() 227 return (BHND_EROM_INIT(erom, cid, eio)); in bhnd_erom_init_static() 287 cid->chip_id = CHIPC_GET_BITS(idreg, CHIPC_ID_CHIP); in bhnd_erom_read_chipid() 294 if (BHND_CHIPTYPE_HAS_EROM(cid->chip_type)) { in bhnd_erom_read_chipid() 297 cid->enum_addr = cc_addr; in bhnd_erom_read_chipid() 302 cid->chip_caps = 0x0; in bhnd_erom_read_chipid() 305 cid->chip_caps |= BHND_CAP_BP64; in bhnd_erom_read_chipid() [all …]
|
| H A D | bhnd_erom.h | 56 struct bhnd_chipid *cid); 59 const struct bhnd_chipid *cid, 64 const struct bhnd_chipid *cid, 145 const struct bhnd_chipid *hint, struct bhnd_chipid *cid) in bhnd_erom_probe() argument 147 return (BHND_EROM_PROBE(cls, eio, hint, cid)); in bhnd_erom_probe()
|
| /freebsd-14.2/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 123 query->cid = id; in bhnd_pmu_query_init() 336 sc->cid.chip_id); in bhnd_pmu_set_ldo_voltage() 683 if (sc->cid.chip_id == BHND_CHIPID_BCM4325 && sc->cid.chip_rev <= 1) in bhnd_pmu_res_depfltr_ncb() 1389 sc->cid.chip_id); in bhnd_pmu1_xtaltab0() 1422 sc->cid.chip_id); in bhnd_pmu1_xtaldef0() 1865 if (sc->cid.chip_id == BHND_CHIPID_BCM4329 && sc->cid.chip_rev == 0) { in bhnd_pmu1_pllinit0() 1985 if (sc->cid.chip_id == BHND_CHIPID_BCM4329 && sc->cid.chip_rev == 0) { in bhnd_pmu1_pllinit0() 2136 sc->cid.chip_id, sc->cid.chip_rev, BHND_PMU_REV(sc)); in bhnd_pmu_pll_init() 2433 sc->cid.chip_id, sc->cid.chip_rev, BHND_PMU_REV(sc), clock); in bhnd_pmu_si_clock() 2632 "rev %hhd pmurev %hhd\n", sc->cid.chip_id, sc->cid.chip_rev, in bhnd_pmu_sdiod_drive_strength_init() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/ocsp/ |
| H A D | ocsp_lib.c | 50 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 D | ocsp_vfy.c | 22 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() 335 if (cid->issuerNameHash.length != mdlen || in ocsp_match_issuerid() 336 cid->issuerKeyHash.length != mdlen) { in ocsp_match_issuerid() [all …]
|
| H A D | ocsp_srv.c | 40 ASN1_INTEGER **pserial, OCSP_CERTID *cid) in OCSP_id_get0_info() argument 42 if (!cid) in OCSP_id_get0_info() 45 *pmd = cid->hashAlgorithm.algorithm; in OCSP_id_get0_info() 47 *piNameHash = &cid->issuerNameHash; in OCSP_id_get0_info() 49 *pikeyHash = &cid->issuerKeyHash; in OCSP_id_get0_info() 51 *pserial = &cid->serialNumber; in OCSP_id_get0_info() 86 OCSP_CERTID *cid, in OCSP_basic_add1_status() argument 112 if ((single->certId = OCSP_CERTID_dup(cid)) == NULL) in OCSP_basic_add1_status()
|
| H A D | ocsp_ext.c | 363 OCSP_CRLID *cid = NULL; in OCSP_crlID_new() local 365 if ((cid = OCSP_CRLID_new()) == NULL) in OCSP_crlID_new() 368 if ((cid->crlUrl = ASN1_IA5STRING_new()) == NULL) in OCSP_crlID_new() 370 if (!(ASN1_STRING_set(cid->crlUrl, url, -1))) in OCSP_crlID_new() 374 if ((cid->crlNum = ASN1_INTEGER_new()) == NULL) in OCSP_crlID_new() 376 if (!(ASN1_INTEGER_set(cid->crlNum, *n))) in OCSP_crlID_new() 380 if ((cid->crlTime = ASN1_GENERALIZEDTIME_new()) == NULL) in OCSP_crlID_new() 382 if (!(ASN1_GENERALIZEDTIME_set_string(cid->crlTime, tim))) in OCSP_crlID_new() 385 x = X509V3_EXT_i2d(NID_id_pkix_OCSP_CrlID, 0, cid); in OCSP_crlID_new() 387 OCSP_CRLID_free(cid); in OCSP_crlID_new()
|
| /freebsd-14.2/sys/dev/bhnd/siba/ |
| H A D | siba_erom.c | 67 struct bhnd_chipid *cid); 130 *cid = *hint; in siba_erom_probe() 142 if (cid->chip_type != BHND_CHIPTYPE_SIBA) in siba_erom_probe() 170 error = bhnd_erom_io_map(eio, cid->enum_addr, in siba_erom_init() 171 cid->ncores * SIBA_CORE_SIZE); in siba_erom_init() 174 cid->ncores, error); in siba_erom_init() 387 struct bhnd_chipid *cid) in siba_eio_read_chipid() argument 415 switch (cid->chip_id) { in siba_eio_read_chipid() 417 cid->ncores = 6; in siba_eio_read_chipid() 420 cid->ncores = 9; in siba_eio_read_chipid() [all …]
|
| /freebsd-14.2/sys/netgraph/bluetooth/l2cap/ |
| H A D | ng_l2cap_misc.c | 631 u_int16_t cid ; in ng_l2cap_get_cid() local 641 endcid = l2cap->cid; in ng_l2cap_get_cid() 646 cid = (endcid+1) & mask; 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() 654 l2cap->cid = cid; in ng_l2cap_get_cid() 656 l2cap->lecid = cid; in ng_l2cap_get_cid() 658 return (cid); in ng_l2cap_get_cid() 661 cid ++; in ng_l2cap_get_cid() 662 cid &= mask; in ng_l2cap_get_cid() [all …]
|
| /freebsd-14.2/sys/dev/bhnd/cores/chipc/pwrctl/ |
| H A D | bhnd_pwrctl_subr.c | 83 bhnd_pwrctl_si_clkreg_m(const struct bhnd_chipid *cid, in bhnd_pwrctl_si_clkreg_m() argument 106 bhnd_pwrctl_si_clock_rate(const struct bhnd_chipid *cid, in bhnd_pwrctl_si_clock_rate() argument 111 KASSERT(bhnd_pwrctl_si_clkreg_m(cid, pll_type, NULL) != 0, in bhnd_pwrctl_si_clock_rate() 131 bhnd_pwrctl_cpu_clkreg_m(const struct bhnd_chipid *cid, in bhnd_pwrctl_cpu_clkreg_m() argument 148 if (cid->chip_id == BHND_CHIPID_BCM5365) { in bhnd_pwrctl_cpu_clkreg_m() 172 bhnd_pwrctl_cpu_clock_rate(const struct bhnd_chipid *cid, in bhnd_pwrctl_cpu_clock_rate() argument 175 KASSERT(bhnd_pwrctl_cpu_clkreg_m(cid, pll_type, NULL) != 0, in bhnd_pwrctl_cpu_clock_rate() 302 const struct bhnd_chipid *cid; in bhnd_pwrctl_getclk_speed() local 310 cid = bhnd_get_chipid(sc->chipc_dev); in bhnd_pwrctl_getclk_speed() 316 creg = bhnd_pwrctl_si_clkreg_m(cid, ccaps->pll_type, &rate); in bhnd_pwrctl_getclk_speed() [all …]
|
| H A D | bhnd_pwrctlvar.h | 43 bus_size_t bhnd_pwrctl_si_clkreg_m(const struct bhnd_chipid *cid, 45 uint32_t bhnd_pwrctl_si_clock_rate(const struct bhnd_chipid *cid, 48 bus_size_t bhnd_pwrctl_cpu_clkreg_m(const struct bhnd_chipid *cid, 50 uint32_t bhnd_pwrctl_cpu_clock_rate(const struct bhnd_chipid *cid,
|
| /freebsd-14.2/crypto/openssl/crypto/x509/ |
| H A D | pcy_data.c | 39 const ASN1_OBJECT *cid, int crit) in ossl_policy_data_new() argument 44 if (policy == NULL && cid == NULL) in ossl_policy_data_new() 46 if (cid) { in ossl_policy_data_new() 47 id = OBJ_dup(cid); in ossl_policy_data_new()
|
| /freebsd-14.2/crypto/openssl/crypto/crmf/ |
| H A D | crmf_lib.c | 180 OSSL_CRMF_CERTID *cid = NULL; in IMPLEMENT_CRMF_CTRL_FUNC() local 187 if ((cid = OSSL_CRMF_CERTID_new()) == NULL) in IMPLEMENT_CRMF_CTRL_FUNC() 190 if (!X509_NAME_set(&cid->issuer->d.directoryName, issuer)) in IMPLEMENT_CRMF_CTRL_FUNC() 192 cid->issuer->type = GEN_DIRNAME; in IMPLEMENT_CRMF_CTRL_FUNC() 194 ASN1_INTEGER_free(cid->serialNumber); in IMPLEMENT_CRMF_CTRL_FUNC() 195 if ((cid->serialNumber = ASN1_INTEGER_dup(serial)) == NULL) in IMPLEMENT_CRMF_CTRL_FUNC() 198 return cid; in IMPLEMENT_CRMF_CTRL_FUNC() 201 OSSL_CRMF_CERTID_free(cid); in IMPLEMENT_CRMF_CTRL_FUNC() 562 return cid != NULL && cid->issuer->type == GEN_DIRNAME ? in OSSL_CRMF_CERTID_get0_issuer() 563 cid->issuer->d.directoryName : NULL; in OSSL_CRMF_CERTID_get0_issuer() [all …]
|
| /freebsd-14.2/crypto/openssl/doc/man3/ |
| H A D | OCSP_REQUEST_new.pod | 16 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-14.2/sys/dev/bhnd/bcma/ |
| H A D | bcma_bhndb.c | 54 const struct bhnd_chipid *cid; in bcma_bhndb_probe() local 62 cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev); in bcma_bhndb_probe() 63 if (cid->chip_type != BHND_CHIPTYPE_BCMA) in bcma_bhndb_probe() 67 bhnd_set_default_bus_desc(dev, cid); in bcma_bhndb_probe()
|
| /freebsd-14.2/sys/dev/mmc/ |
| H A D | mmc.c | 1090 memset(cid, 0, sizeof(*cid)); in mmc_decode_cid_sd() 1095 cid->pnm[5] = 0; in mmc_decode_cid_sd() 1108 memset(cid, 0, sizeof(*cid)); in mmc_decode_cid_mmc() 1113 cid->pnm[6] = 0; in mmc_decode_cid_mmc() 1119 cid->mdt_year += 2013; in mmc_decode_cid_mmc() 1121 cid->mdt_year += 1997; in mmc_decode_cid_mmc() 1148 c2 = ivar->cid.oid & 0x0ff; in mmc_format_card_id_string() 1154 "%08X", ivar->cid.psn); in mmc_format_card_id_string() 1158 ivar->cid.pnm, ivar->cid.prv >> 4, ivar->cid.prv & 0x0f, in mmc_format_card_id_string() 1159 ivar->cid.psn, ivar->cid.mdt_month, ivar->cid.mdt_year, in mmc_format_card_id_string() [all …]
|
| /freebsd-14.2/contrib/lib9p/pytest/ |
| H A D | client.py | 43 def ccc(self, cid=None): argument 52 if cid is None: 53 cid = 'base' 54 pair = self.clnt_tab.get(cid) 65 def dcc(self, cid=None): argument 70 if cid is None: 72 self.dcc(cid) 78 del self.clnt_tab[cid] 80 def ccs(self, cid=None): argument 87 pair = self.ccc(cid) [all …]
|
| /freebsd-14.2/sys/cam/mmc/ |
| H A D | mmc_da.c | 125 struct mmc_cid cid; member 371 memset(cid, 0, sizeof(*cid)); in mmc_decode_cid_sd() 376 cid->pnm[5] = 0; in mmc_decode_cid_sd() 389 memset(cid, 0, sizeof(*cid)); in mmc_decode_cid_mmc() 394 cid->pnm[6] = 0; in mmc_decode_cid_mmc() 424 c1 = (sc->cid.oid >> 8) & 0x0ff; in mmc_format_card_id_string() 425 c2 = sc->cid.oid & 0x0ff; in mmc_format_card_id_string() 431 "%08X", sc->cid.psn); in mmc_format_card_id_string() 436 sc->cid.pnm, sc->cid.prv >> 4, sc->cid.prv & 0x0f, in mmc_format_card_id_string() 437 sc->cid.psn, sc->cid.mdt_month, sc->cid.mdt_year, in mmc_format_card_id_string() [all …]
|
| /freebsd-14.2/contrib/wpa/src/eap_server/ |
| H A D | eap_server_pax.c | 41 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() 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() 359 (u8 *) data->cid, data->cid_len); in eap_pax_process_std_2() 373 (u8 *) data->cid, data->cid_len); in eap_pax_process_std_2() 393 (u8 *) data->cid, data->cid_len); in eap_pax_process_std_2() 402 (u8 *) data->cid, data->cid_len); in eap_pax_process_std_2() [all …]
|