/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 276 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/ |
D | entenc.c | 247 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/ |
D | eap_sim_common.h | 80 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
|
D | eap_gpsk_common.c | 112 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()
|
D | eap_sim_common.c | 77 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 …]
|
D | eap_psk_common.c | 34 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()
|
D | eap_fast_common.c | 114 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()
|
D | eap_sake_common.c | 260 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()
|
D | eap_psk_common.h | 70 u8 *msk, u8 *emsk);
|
D | eap_gpsk_common.h | 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
D | eap_pwd_common.h | 67 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id);
|
D | eap_fast_common.h | 102 int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk);
|
D | eap_eke_common.c | 547 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/ |
D | ieee802_1x_key.c | 82 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()
|
D | ieee802_1x_key.h | 12 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/ |
D | radeon_program_constants.h | 121 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) argument
|
/external/v8/test/unittests/compiler/mips64/ |
D | instruction-selector-mips64-unittest.cc | 368 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/ |
D | prog_instruction.h | 61 #define GET_BIT(msk, idx) (((msk) >> (idx)) & 0x1) argument
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_psk.c | 28 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()
|
D | eap_server_aka.c | 26 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()
|
D | eap_server_sim.c | 24 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/ |
D | eap_psk.c | 28 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()
|
D | eap_sake.c | 26 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/ |
D | crypto_module_tests.c | 899 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/ |
D | instruction-selector-mips-unittest.cc | 361 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()
|