/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | nvidia,tegra-audio-wm8903.txt | 4 - compatible : "nvidia,tegra-audio-wm8903" 5 - clocks : Must contain an entry for each entry in clock-names. 6 See ../clocks/clock-bindings.txt for details. 7 - clock-names : Must include the following entries: 8 - pll_a 9 - pll_a_out0 10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 11 - nvidia,model : The user-visible name of this sound complex. 12 - nvidia,audio-routing : A list of the connections between audio components. 19 * Int Spk [all …]
|
H A D | nvidia,tegra-audio-rt5631.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audi [all...] |
H A D | nvidia,tegra-audio-wm8903.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-wm8903.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - items: 20 - pattern: '^[a-z0-9]+,tegra-audio-wm8903(-[a-z0-9]+)+$' 21 - const: nvidia,tegra-audio-wm8903 [all …]
|
H A D | nvidia,tegra-audio-max9808x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audi [all...] |
H A D | nvidia,tegra-audio-alc5632.txt | 4 - compatible : "nvidia,tegra-audio-alc5632" 5 - clocks : Must contain an entry for each entry in clock-names. 6 See ../clocks/clock-bindings.txt for details. 7 - clock-names : Must include the following entries: 8 - pll_a 9 - pll_a_out0 10 - mclk (The Tegra cdev1/extern1 clock, which feeds the CODEC's mclk) 11 - nvidia,model : The user-visible name of this sound complex. 12 - nvidia,audio-routing : A list of the connections between audio components. 19 * Int Spk [all …]
|
H A D | imx-audio-es8328.txt | 4 - compatible : "fsl,imx-audio-es8328" 5 - model : The user-visible name of this sound complex 6 - ssi-controller : The phandle of the i.MX SSI controller 7 - jack-gpio : Optional GPIO for headphone jack 8 - audio-amp-supply : Power regulator for speaker amps 9 - audio-codec : The phandle of the ES8328 audio codec 10 - audio-routing : A list of the connections between audio components. 17 * audio-amp 28 * Mic PGA 33 * Mic Jack [all …]
|
H A D | fsl,imx-audio-es8328.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/fsl,imx-audio-es8328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 14 - $ref: sound-card-common.yaml# 18 const: fsl,imx-audio-es8328 22 description: The user-visible name of this sound complex 24 ssi-controller: [all …]
|
H A D | nvidia,tegra-audio-alc5632.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-alc5632.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jon Hunter <jonathanh@nvidia.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 - $ref: nvidia,tegra-audio-common.yaml# 19 - pattern: '^[a-z0-9]+,tegra-audio-alc5632(-[a-z0-9]+)+$' 20 - const: nvidia,tegra-audio-alc5632 22 nvidia,audio-routing: [all …]
|
H A D | imx-audio-sgtl5000.txt | 5 - compatible : "fsl,imx-audio-sgtl5000" 7 - model : The user-visible name of this sound complex 9 - ssi-controller : The phandle of the i.MX SSI controller 11 - audio-codec : The phandle of the SGTL5000 audio codec 13 - audio-routing : A list of the connections between audio components. 20 * Mic Bias 29 * Mic Jack 35 - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX) 37 - mux-ext-port : The external port of the i.MX audio muxer 45 compatible = "fsl,imx51-babbage-sgtl5000", [all …]
|
/freebsd/crypto/openssh/ |
H A D | auth2-gss.c | 1 /* $OpenBSD: auth2-gss.c,v 1.36 2024/05/17 04:42:13 djm Exp $ */ 4 * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved. 48 #include "ssh-gss.h" 56 static int input_gssapi_token(int type, u_int32_t plen, struct ssh *ssh); 57 static int input_gssapi_mic(int type, u_int32_t plen, struct ssh *ssh); 58 static int input_gssapi_exchange_complete(int type, u_int32_t plen, struct ssh *ssh); 59 static int input_gssapi_errtok(int, u_int32_t, struct ssh *); 65 static int 68 Authctxt *authctxt = ssh->authctxt; in userauth_gssapi() 71 int r, present; in userauth_gssapi() [all …]
|
/freebsd/contrib/wpa/src/eap_common/ |
H A D | eap_gpsk_common.c | 2 * EAP server/peer: EAP-GPSK shared routines 3 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> 19 * eap_gpsk_supported_ciphersuite - Check whether ciphersuite is supported 24 int eap_gpsk_supported_ciphersuite(int vendor, int specifier) in eap_gpsk_supported_ciphersuite() 38 static int eap_gpsk_gkdf_cmac(const u8 *psk /* Y */, in eap_gpsk_gkdf_cmac() 49 /* M_i = MAC_Y (i || Z); (MAC = AES-CMAC-128) */ in eap_gpsk_gkdf_cmac() 57 n = (len + hashlen - 1) / hashlen; in eap_gpsk_gkdf_cmac() 61 return -1; in eap_gpsk_gkdf_cmac() 65 left -= clen; in eap_gpsk_gkdf_cmac() 73 static int eap_gpsk_gkdf_sha256(const u8 *psk /* Y */, in eap_gpsk_gkdf_sha256() [all …]
|
/freebsd/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_prot.c | 4 SPDX-License-Identifier: BSD-3-Clause 63 val = p->value; 64 len = p->length; 66 p->value = val; 67 p->length = len; 79 proc = p->gc_proc; in xdr_rpc_gss_cred() 80 svc = p->gc_svc; in xdr_rpc_gss_cred() 81 ret = (xdr_u_int(xdrs, &p->gc_version) && in xdr_rpc_gss_cred() 83 xdr_u_int(xdrs, &p->gc_seq) && in xdr_rpc_gss_cred() 85 xdr_gss_buffer_desc(xdrs, &p->gc_handle)); in xdr_rpc_gss_cred() [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_crypto.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 32 * 802.11 protocol crypto-related definitions. 38 * Old WEP-style key. Deprecated. 61 * of the cipher; any per-key state is hung off wk_private by the 65 * The generic crypto support handles encap/decap of cipher-related 66 * frame contents for both hardware- and software-based implementations. 70 * encrypt/decrypt and MIC processing. 83 #define IEEE80211_KEY_SWENCRYPT 0x00000010 /* host-based encrypt */ [all …]
|
H A D | ieee80211_crypto_tkip.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 56 static int tkip_setkey(struct ieee80211_key *); 58 static int tkip_encap(struct ieee80211_key *, struct mbuf *); 59 static int tkip_enmic(struct ieee80211_key *, struct mbuf *, int); 60 static int tkip_decap(struct ieee80211_key *, struct mbuf *, int); 61 static int tkip_demic(struct ieee80211_key *, struct mbuf *, int); 92 int rx_phase1_done; 94 uint64_t rx_rsc; /* held until MIC verified */ [all …]
|
/freebsd/contrib/wpa/src/common/ |
H A D | wpa_common.c | 2 * WPA/RSN - Shared functions for supplicant and authenticator 3 * Copyright (c) 2002-2018, Jouni Malinen <j@w1.fi> 25 static unsigned int wpa_kck_len(int akmp, size_t pmk_len) in wpa_kck_len() 51 static unsigned int wpa_kck2_len(int akmp) in wpa_kck2_len() 65 static unsigned int wpa_kek_len(int akmp, size_t pmk_len) in wpa_kek_len() 91 static unsigned int wpa_kek2_len(int akmp) in wpa_kek2_len() 105 unsigned int wpa_mic_len(int akmp, size_t pmk_len) in wpa_mic_len() 131 * wpa_use_akm_defined - Is AKM-defined Key Descriptor Version used 133 * Returns: 1 if AKM-defined Key Descriptor Version is used; 0 otherwise 135 int wpa_use_akm_defined(int akmp) in wpa_use_akm_defined() [all …]
|
/freebsd/contrib/wpa/src/eap_server/ |
H A D | eap_server_gpsk.c | 2 * hostapd / EAP-GPSK (RFC 5433) server 3 * Copyright (c) 2006-2007, Jouni Malinen <j@w1.fi> 34 int vendor; /* CSuite/Vendor */ 35 int specifier; /* CSuite/Specifier */ 39 static const char * eap_gpsk_state_txt(int state) in eap_gpsk_state_txt() 43 return "GPSK-1"; in eap_gpsk_state_txt() 45 return "GPSK-3"; in eap_gpsk_state_txt() 56 static void eap_gpsk_state(struct eap_gpsk_data *data, int state) in eap_gpsk_state() 58 wpa_printf(MSG_DEBUG, "EAP-GPSK: %s -> %s", in eap_gpsk_state() 59 eap_gpsk_state_txt(data->state), in eap_gpsk_state() [all …]
|
/freebsd/sys/kgssapi/krb5/ |
H A D | krb5_mech.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 134 *lenp = *lenp - 2; in get_uint16() 150 *lenp = *lenp - 4; in get_uint32() 160 dp->kd_length = sz; in get_data() 161 dp->kd_data = malloc(sz, M_GSSAPI, M_WAITOK); in get_data() 165 bcopy(*pp, dp->kd_data, sz); in get_data() 167 (*lenp) -= sz; in get_data() 173 if (dp->kd_data) { in delete_data() 174 free(dp->kd_data, M_GSSAPI); in delete_data() [all …]
|
/freebsd/contrib/wpa/src/rsn_supp/ |
H A D | tdls.c | 2 * wpa_supplicant - TDLS 3 * Copyright (c) 2010-2011, Atheros Communications 39 unsigned int tdls_testing = 0; 56 u8 mic[TDLS_MIC_LEN]; member 77 /* TDLS frame headers as per IEEE Std 802.11z-2010 */ 89 static int wpa_tdls_send_teardown(struct wpa_sm *sm, const u8 *addr, 98 unsigned int reconfig_key:1; 99 int initiator; /* whether this end was initiator for TDLS setup */ 108 int cipher; /* Selected cipher (WPA_CIPHER_*) */ 112 u8 kck[16]; /* TPK-KCK */ [all …]
|
/freebsd/contrib/wpa/src/pasn/ |
H A D | pasn_responder.c | 33 pasn->pmksa = pmksa; in pasn_set_responder_pmksa() 40 static int pasn_wd_handle_sae_commit(struct pasn_data *pasn, in pasn_wd_handle_sae_commit() 47 int groups[] = { pasn->group, 0 }; in pasn_wd_handle_sae_commit() 48 int ret; in pasn_wd_handle_sae_commit() 51 return -1; in pasn_wd_handle_sae_commit() 59 return -1; in pasn_wd_handle_sae_commit() 72 return -1; in pasn_wd_handle_sae_commit() 75 sae_clear_data(&pasn->sae); in pasn_wd_handle_sae_commit() 76 pasn->sae.state = SAE_NOTHING; in pasn_wd_handle_sae_commit() 78 ret = sae_set_group(&pasn->sae, pasn->group); in pasn_wd_handle_sae_commit() [all …]
|
H A D | pasn_initiator.c | 33 pasn->pmksa = pmksa; in pasn_set_initiator_pmksa() 42 int ret; in wpas_pasn_wd_sae_commit() 44 ret = sae_set_group(&pasn->sae, pasn->group); in wpas_pasn_wd_sae_commit() 50 ret = sae_prepare_commit_pt(&pasn->sae, pasn->pt, in wpas_pasn_wd_sae_commit() 51 pasn->own_addr, pasn->peer_addr, in wpas_pasn_wd_sae_commit() 69 sae_write_commit(&pasn->sae, buf, NULL, 0); in wpas_pasn_wd_sae_commit() 70 pasn->sae.state = SAE_COMMITTED; in wpas_pasn_wd_sae_commit() 76 static int wpas_pasn_wd_sae_rx(struct pasn_data *pasn, struct wpabuf *wd) in wpas_pasn_wd_sae_rx() 81 int groups[] = { pasn->group, 0 }; in wpas_pasn_wd_sae_rx() 82 int ret; in wpas_pasn_wd_sae_rx() [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_keycache.c | 26 * Note: The key cache hardware requires that each double-word 28 * a 64-bit register). Don't reorder the writes in this code 34 (AH9300(ah)->ah_sta_id1_defaults & AR_STA_ID1_CRPT_MIC_ENABLE) 40 static const int keyType[] = { 55 return AH_PRIVATE(ah)->ah_caps.halKeyCacheSize; in ar9300_get_key_cache_size() 64 if (entry < AH_PRIVATE(ah)->ah_caps.halKeyCacheSize) { in ar9300_is_key_cache_entry_valid() 74 * Clear the specified key cache entry and any associated MIC entry. 82 if (entry >= AH_PRIVATE(ah)->ah_caps.halKeyCacheSize) { in ar9300_reset_key_cache_entry() 88 ahp->ah_keytype[entry] = keyType[HAL_CIPHER_CLR]; in ar9300_reset_key_cache_entry() 102 u_int16_t micentry = entry + 64; /* MIC goes at slot+64 */ in ar9300_reset_key_cache_entry() [all …]
|
/freebsd/sys/dev/mmc/ |
H A D | mmcsd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * Group. This Simplified Specification is provided on a non-confidential 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any 45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third 50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC 53 * information, know-how or other confidential information to any third party. [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_keycache.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 90 "AES-OCB", in ath_keyprint() 91 "AES-CCM", in ath_keyprint() 96 int i, n; in ath_keyprint() 98 printf("%s: [%02u] %-7s ", tag, ix, ciphers[hk->kv_type]); in ath_keyprint() 99 for (i = 0, n = hk->kv_len; i < n; i++) in ath_keyprint() 100 printf("%02x", hk->kv_val[i]); in ath_keyprint() 102 if (hk->kv_type == HAL_CIPHER_TKIP) { in ath_keyprint() [all …]
|
/freebsd/tools/regression/net80211/tkip/ |
H A D | test_tkip.c | 1 /*- 62 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56, 0x78, /* TX MIC */ 64 * NB: 11i test vector specifies a RX MIC key different 67 * the same key for doing the MIC in each direction. 69 * XXX need additional vectors to test alternate MIC keys 72 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12, 0x34, /* 11i RX MIC */ 85 /* Plaintext MPDU with MIC */ 95 /* MIC */ 0x68,0x81,0xa3,0xf3,0xd6,0x48,0xd0,0x3c 98 /* Encrypted MPDU with MIC and ICV */ 122 int cipher; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sc7280-crd-r3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include "sc7280-idp.dtsi" 11 #include "sc7280-idp-ec-h1.dtsi" 14 model = "Qualcomm Technologies, Inc. sc7280 CRD platform (rev3 - [all...] |