/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_crypto.c | 368 int dpp_derive_k1(const u8 *Mx, size_t Mx_len, u8 *k1, unsigned int hash_len) in dpp_derive_k1() argument 378 if (dpp_hmac(hash_len, salt, hash_len, Mx, Mx_len, prk) < 0) in dpp_derive_k1() 436 "DPP: Mx/Nx not available - cannot derive ke"); in dpp_derive_bk_ke() 443 addr[num_elem] = auth->Mx; in dpp_derive_bk_ke() 1588 const u8 *Mx, size_t Mx_len, in dpp_pkex_derive_z() 1629 os_memcpy(pos, Mx, Mx_len); in dpp_pkex_derive_z() 1669 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; in dpp_reconfig_derive_ke_responder() local 1719 crypto_ec_point_to_bin(ec, M, Mx, NULL)) { in dpp_reconfig_derive_ke_responder() 1723 wpa_hexdump_key(MSG_DEBUG, "DPP: M.x", Mx, curve->prime_len); in dpp_reconfig_derive_ke_responder() 1731 Mx, curv in dpp_reconfig_derive_ke_responder() 1586 dpp_pkex_derive_z(const u8 *mac_init, const u8 *mac_resp, u8 ver_init, u8 ver_resp, const u8 *Mx, size_t Mx_len, const u8 *Nx, size_t Nx_len, const char *code, const u8 *Kx, size_t Kx_len, u8 *z, unsigned int hash_len) dpp_pkex_derive_z() argument 1768 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; dpp_reconfig_derive_ke_initiator() local [all...] |
H A D | dpp_pkex.c | 35 u8 *Mx, *My; in dpp_pkex_build_exchange_req() local 145 Mx = wpabuf_put(msg, curve->prime_len); in dpp_pkex_build_exchange_req() 147 if (crypto_ec_point_to_bin(ec, M, Mx, My)) in dpp_pkex_build_exchange_req() 150 os_memcpy(pkex->Mx, Mx, curve->prime_len); in dpp_pkex_build_exchange_req() 483 os_memcpy(pkex->Mx, attr_key, attr_key_len / 2); in dpp_pkex_rx_exchange_req() 550 pkex->Mx, curve->prime_len, in dpp_pkex_rx_exchange_req() 867 pkex->Mx, curve->prime_len, in dpp_pkex_rx_exchange_resp()
|
H A D | dpp_i.h | 101 int dpp_derive_k1(const u8 *Mx, size_t Mx_len, u8 *k1, unsigned int hash_len); 122 const u8 *Mx, size_t Mx_len,
|
H A D | dpp_auth.c | 46 os_memset(auth->Mx, 0, sizeof(auth->Mx)); in dpp_auth_success() 782 if (dpp_ecdh(own_bi->pubkey, pi, auth->Mx, &secret_len) < 0) in dpp_auth_req_rx() 787 auth->Mx, auth->secret_len); in dpp_auth_req_rx() 790 if (dpp_derive_k1(auth->Mx, auth->secret_len, auth->k1, in dpp_auth_req_rx() 1242 auth->Mx, &secret_len) < 0) in dpp_auth_init() 1247 auth->Mx, auth->secret_len); in dpp_auth_init() 1250 if (dpp_derive_k1(auth->Mx, auth->secret_len, auth->k1, in dpp_auth_init()
|
H A D | dpp.h | 187 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; member 287 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; member
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.h | 138 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; member 206 u8 Mx[DPP_MAX_SHARED_SECRET_LEN]; member
|
H A D | dpp.c | 1519 static int dpp_derive_k1(const u8 *Mx, size_t Mx_len, u8 *k1, in dpp_derive_k1() argument 1530 if (dpp_hmac(hash_len, salt, hash_len, Mx, Mx_len, prk) < 0) in dpp_derive_k1() 1590 "DPP: Mx/Nx not available - cannot derive ke"); in dpp_derive_ke() 1600 addr[num_elem] = auth->Mx; in dpp_derive_ke() 2299 auth->Mx, &secret_len) < 0) in dpp_auth_init() 2304 auth->Mx, auth->secret_len); in dpp_auth_init() 2307 if (dpp_derive_k1(auth->Mx, auth->secret_len, auth->k1, in dpp_auth_init() 2519 os_memset(auth->Mx, 0, sizeof(auth->Mx)); in dpp_auth_success() 3185 if (dpp_ecdh(own_bi->pubkey, pi, auth->Mx, in dpp_auth_req_rx() 6903 BIGNUM *Mx = NULL, *My = NULL; dpp_pkex_build_exchange_req() local 7167 dpp_pkex_derive_z(const u8 *mac_init, const u8 *mac_resp, const u8 *Mx, size_t Mx_len, const u8 *Nx, size_t Nx_len, const char *code, const u8 *Kx, size_t Kx_len, u8 *z, unsigned int hash_len) dpp_pkex_derive_z() argument 7268 BIGNUM *Mx = NULL, *My = NULL; dpp_pkex_rx_exchange_req() local [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Matrix.cpp | 234 float Mx = M(1, 1) * v.x + M(1, 2) * v.y + M(1, 3) * v.z + M(1, 4) * v.w; in operator *() local 239 return {Mx, My, Mz, Mw}; in operator *()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonInstrInfo.cpp | 992 Register Mx = MI.getOperand(MxOp).getReg(); in expandPostRAPseudo() 993 unsigned CSx = (Mx == Hexagon::M0 ? Hexagon::CS0 : Hexagon::CS1); in expandPostRAPseudo()
|