Home
last modified time | relevance | path

Searched refs:msk (Results 1 – 25 of 67) sorted by relevance

123

/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c276 u8 *msk, size_t *len) in ieee802_1x_auth_get_msk() argument
297 os_memcpy(msk, key, keylen); in ieee802_1x_auth_get_msk()
311 struct mka_key *msk; in ieee802_1x_notify_create_actor() local
321 msk = os_zalloc(sizeof(*msk)); in ieee802_1x_notify_create_actor()
325 if (!msk || !sid || !ckn || !cak) in ieee802_1x_notify_create_actor()
328 msk->len = DEFAULT_KEY_LEN; in ieee802_1x_notify_create_actor()
329 if (ieee802_1x_auth_get_msk(wpa_s, wpa_s->bssid, msk->key, &msk->len)) { in ieee802_1x_notify_create_actor()
343 if (ieee802_1x_cak_128bits_aes_cmac(msk->key, wpa_s->own_addr, in ieee802_1x_notify_create_actor()
353 if (ieee802_1x_ckn_128bits_aes_cmac(msk->key, wpa_s->own_addr, in ieee802_1x_notify_create_actor()
366 if (msk) { in ieee802_1x_notify_create_actor()
[all …]
/external/libopus/celt/
Dentenc.c247 opus_uint32 msk; in ec_enc_done() local
253 msk=(EC_CODE_TOP-1)>>l; in ec_enc_done()
254 end=(_this->val+msk)&~msk; in ec_enc_done()
255 if((end|msk)>=_this->val+_this->rng){ in ec_enc_done()
257 msk>>=1; in ec_enc_done()
258 end=(_this->val+msk)&~msk; in ec_enc_done()
/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h80 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk,
84 const u8 *nonce_s, const u8 *mk, u8 *msk,
94 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk);
97 const u8 *nonce_s, u8 *msk, u8 *emsk);
112 u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument
119 const u8 *nonce_s, u8 *msk, in eap_aka_prime_derive_keys_reauth() argument
Deap_gpsk_common.c112 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_helper() argument
169 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper()
191 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys_aes() argument
219 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_aes()
227 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_sha256() argument
253 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_sha256()
284 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys() argument
320 msk, emsk, sk, sk_len, in eap_gpsk_derive_keys()
327 msk, emsk, sk, sk_len); in eap_gpsk_derive_keys()
Deap_sim_common.c77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) in eap_sim_derive_keys() argument
90 os_memcpy(msk, pos, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys()
99 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys()
109 const u8 *nonce_s, const u8 *mk, u8 *msk, in eap_sim_derive_keys_reauth() argument
150 if (msk) { in eap_sim_derive_keys_reauth()
151 os_memcpy(msk, buf, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth()
153 msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_derive_keys_reauth()
278 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument
316 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
317 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
[all …]
Deap_psk_common.c34 int eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, in eap_psk_derive_keys() argument
52 if (aes_128_encrypt_block(kdk, hash, &msk[i * aes_block_size])) in eap_psk_derive_keys()
Deap_fast_common.c114 int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk) in eap_fast_derive_eap_msk() argument
123 msk, EAP_FAST_KEY_LEN) < 0) in eap_fast_derive_eap_msk()
126 msk, EAP_FAST_KEY_LEN); in eap_fast_derive_eap_msk()
Deap_sake_common.c260 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, in eap_sake_derive_keys() argument
294 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
296 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
Deap_psk_common.h70 u8 *msk, u8 *emsk);
Deap_gpsk_common.h54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
Deap_pwd_common.h67 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id);
Deap_fast_common.h102 int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk);
Deap_eke_common.c547 u8 *msk, u8 *emsk) in eap_eke_derive_msk() argument
583 os_memcpy(msk, buf, EAP_MSK_LEN); in eap_eke_derive_msk()
587 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: MSK", msk, EAP_MSK_LEN); in eap_eke_derive_msk()
588 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: EMSK", msk, EAP_EMSK_LEN); in eap_eke_derive_msk()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_key.c82 int ieee802_1x_cak_128bits_aes_cmac(const u8 *msk, const u8 *mac1, in ieee802_1x_cak_128bits_aes_cmac() argument
88 return aes_kdf_128(msk, "IEEE8021 EAP CAK", in ieee802_1x_cak_128bits_aes_cmac()
99 int ieee802_1x_ckn_128bits_aes_cmac(const u8 *msk, const u8 *mac1, in ieee802_1x_ckn_128bits_aes_cmac() argument
115 res = aes_kdf_128(msk, "IEEE8021 EAP CKN", context, ctx_len * 8, in ieee802_1x_ckn_128bits_aes_cmac()
Dieee802_1x_key.h12 int ieee802_1x_cak_128bits_aes_cmac(const u8 *msk, const u8 *mac1,
14 int ieee802_1x_ckn_128bits_aes_cmac(const u8 *msk, const u8 *mac1,
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_constants.h121 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) argument
/external/v8/test/unittests/compiler/mips64/
Dinstruction-selector-mips64-unittest.cc368 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk; in TEST_F() local
370 m.Return(m.Word32Shr(m.Word32And(m.Parameter(0), m.Int32Constant(msk)), in TEST_F()
385 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk; in TEST_F() local
387 m.Return(m.Word32Shr(m.Word32And(m.Int32Constant(msk), m.Parameter(0)), in TEST_F()
408 uint64_t msk = in TEST_F() local
411 m.Return(m.Word64Shr(m.Word64And(m.Parameter(0), m.Int64Constant(msk)), in TEST_F()
426 uint64_t msk = in TEST_F() local
429 m.Return(m.Word64Shr(m.Word64And(m.Int64Constant(msk), m.Parameter(0)), in TEST_F()
615 uint32_t msk = (1 << width) - 1; in TEST_F() local
618 m.Int32Constant(msk))); in TEST_F()
[all …]
/external/mesa3d/src/mesa/program/
Dprog_instruction.h61 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) argument
/external/wpa_supplicant_8/src/eap_server/
Deap_server_psk.c28 u8 msk[EAP_MSK_LEN]; member
126 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, data->msk, in eap_psk_build_3()
130 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_build_3()
456 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
Deap_server_aka.c26 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member
558 data->msk, data->emsk); in eap_aka_build_reauth()
561 data->msk, data->emsk); in eap_aka_build_reauth()
564 data->mk, data->msk, data->emsk); in eap_aka_build_reauth()
838 data->k_re, data->msk, data->emsk); in eap_aka_fullauth()
843 data->msk, data->emsk); in eap_aka_fullauth()
1267 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_aka_getKey()
Deap_server_sim.c24 u8 msk[EAP_SIM_KEYING_DATA_LEN]; member
260 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_build_reauth()
264 data->msk, data->emsk); in eap_sim_build_reauth()
552 eap_sim_derive_keys(data->mk, data->k_encr, data->k_aut, data->msk, in eap_sim_process_start()
793 os_memcpy(key, data->msk, EAP_SIM_KEYING_DATA_LEN); in eap_sim_getKey()
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c28 u8 msk[EAP_MSK_LEN]; member
250 data->msk, data->emsk)) { in eap_psk_process_3()
256 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3()
433 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
Deap_sake.c26 u8 msk[EAP_MSK_LEN]; member
242 (u8 *) &data->tek, data->msk, data->emsk); in eap_sake_process_challenge()
447 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_sake_getKey()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_module_tests.c899 const u8 msk[] = { in test_eap_fast() local
974 (u8 *) "", 0, buf, sizeof(msk)) < 0 || in test_eap_fast()
975 os_memcmp(msk, buf, sizeof(msk)) != 0) { in test_eap_fast()
982 (u8 *) "", 0, buf, sizeof(msk)) < 0 || in test_eap_fast()
/external/v8/test/unittests/compiler/mips/
Dinstruction-selector-mips-unittest.cc361 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk; in TEST_F() local
363 m.Return(m.Word32Shr(m.Word32And(m.Parameter(0), m.Int32Constant(msk)), in TEST_F()
378 uint32_t msk = ((0xffffffffu >> (32 - width)) << lsb) | jnk; in TEST_F() local
380 m.Return(m.Word32Shr(m.Word32And(m.Int32Constant(msk), m.Parameter(0)), in TEST_F()
490 uint32_t msk = (1 << width) - 1; in TEST_F() local
493 m.Int32Constant(msk))); in TEST_F()
506 uint32_t msk = (1 << width) - 1; in TEST_F() local
509 m.Word32And(m.Int32Constant(msk), in TEST_F()

123