Home
last modified time | relevance | path

Searched refs:ak (Results 1 - 25 of 30) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_psk_common.c19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk) in eap_psk_key_setup() argument
21 os_memset(ak, 0, aes_block_size); in eap_psk_key_setup()
22 if (aes_128_encrypt_block(psk, ak, ak)) in eap_psk_key_setup()
24 os_memcpy(kdk, ak, aes_block_size); in eap_psk_key_setup()
25 ak[aes_block_size - 1] ^= 0x01; in eap_psk_key_setup()
27 if (aes_128_encrypt_block(psk, ak, ak) || in eap_psk_key_setup()
H A Deap_pax_common.c121 * @ak: Authentication Key
129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument
133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation()
143 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: AK", ak, EAP_PAX_AK_LEN); in eap_pax_initial_key_derivation()
H A Deap_psk_common.h68 int __must_check eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk);
H A Deap_pax_common.h89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_psk_common.c19 int eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk) in eap_psk_key_setup() argument
21 os_memset(ak, 0, aes_block_size); in eap_psk_key_setup()
22 if (aes_128_encrypt_block(psk, ak, ak)) in eap_psk_key_setup()
24 os_memcpy(kdk, ak, aes_block_size); in eap_psk_key_setup()
25 ak[aes_block_size - 1] ^= 0x01; in eap_psk_key_setup()
27 if (aes_128_encrypt_block(psk, ak, ak) || in eap_psk_key_setup()
H A Deap_pax_common.c121 * @ak: Authentication Key
129 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e, in eap_pax_initial_key_derivation() argument
133 if (eap_pax_kdf(mac_id, ak, EAP_PAX_AK_LEN, "Master Key", in eap_pax_initial_key_derivation()
143 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: AK", ak, EAP_PAX_AK_LEN); in eap_pax_initial_key_derivation()
H A Deap_psk_common.h68 int __must_check eap_psk_key_setup(const u8 *psk, u8 *ak, u8 *kdk);
H A Deap_pax_common.h89 int eap_pax_initial_key_derivation(u8 mac_id, const u8 *ak, const u8 *e,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/
H A Dmilenage.c84 * @ak: Buffer for AK = 48-bit anonymity key (f5), or %NULL
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) in milenage_f2345()
117 if (ak) in milenage_f2345()
118 os_memcpy(ak, tmp3, 6); /* f5 */ in milenage_f2345()
178 u8 mac_a[8], ak[6]; in milenage_generate() local
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) { in milenage_generate()
193 autn[i] = sqn[i] ^ ak[i]; in milenage_generate()
212 u8 ak[6], mac_s[8]; in milenage_auts() local
215 if (milenage_f2345(opc, k, _rand, NULL, NULL, NULL, NULL, ak)) in milenage_auts()
218 sqn[i] = auts[i] ^ ak[ in milenage_auts()
88 milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) milenage_f2345() argument
275 u8 mac_a[8], ak[6], rx_sqn[6]; milenage_check() local
[all...]
H A Dmilenage.h25 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
H A Dmilenage.c84 * @ak: Buffer for AK = 48-bit anonymity key (f5), or %NULL
89 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) in milenage_f2345()
117 if (ak) in milenage_f2345()
118 os_memcpy(ak, tmp3, 6); /* f5 */ in milenage_f2345()
178 u8 mac_a[8], ak[6]; in milenage_generate() local
185 milenage_f2345(opc, k, _rand, res, ck, ik, ak, NULL)) { in milenage_generate()
193 autn[i] = sqn[i] ^ ak[i]; in milenage_generate()
212 u8 ak[6], mac_s[8]; in milenage_auts() local
215 if (milenage_f2345(opc, k, _rand, NULL, NULL, NULL, NULL, ak)) in milenage_auts()
218 sqn[i] = auts[i] ^ ak[ in milenage_auts()
88 milenage_f2345(const u8 *opc, const u8 *k, const u8 *_rand, u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar) milenage_f2345() argument
275 u8 mac_a[8], ak[6], rx_sqn[6]; milenage_check() local
[all...]
H A Dmilenage.h25 u8 *res, u8 *ck, u8 *ik, u8 *ak, u8 *akstar);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_psk.c25 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member
49 if (eap_psk_key_setup(password, data->ak, data->kdk)) { in eap_psk_init()
53 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_init()
159 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) { in eap_psk_process_1()
234 if (omac1_aes_128(data->ak, buf, buflen, mac)) { in eap_psk_process_3()
H A Deap_pax.c37 u8 ak[EAP_PAX_AK_LEN]; member
79 os_memcpy(data->ak, password, EAP_PAX_AK_LEN); in eap_pax_init()
180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_psk.c27 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member
120 if (omac1_aes_128(data->ak, buf, buflen, psk->mac_s)) { in eap_psk_build_3()
284 if (eap_psk_key_setup(sm->user->password, data->ak, data->kdk)) { in eap_psk_process_2()
288 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_process_2()
309 if (omac1_aes_128(data->ak, buf, buflen, mac)) { in eap_psk_process_2()
H A Deap_server_pax.c35 u8 ak[EAP_PAX_AK_LEN]; member
406 os_memcpy(data->ak, sm->user->password, EAP_PAX_AK_LEN); in eap_pax_process_std_2()
408 if (eap_pax_initial_key_derivation(data->mac_id, data->ak, in eap_pax_process_std_2()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_psk.c25 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member
49 if (eap_psk_key_setup(password, data->ak, data->kdk)) { in eap_psk_init()
53 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_init()
159 if (omac1_aes_128(data->ak, buf, buflen, hdr2->mac_p)) { in eap_psk_process_1()
234 if (omac1_aes_128(data->ak, buf, buflen, mac)) { in eap_psk_process_3()
H A Deap_pax.c37 u8 ak[EAP_PAX_AK_LEN]; member
79 os_memcpy(data->ak, password, EAP_PAX_AK_LEN); in eap_pax_init()
180 if (eap_pax_initial_key_derivation(req->mac_id, data->ak, data->rand.e, in eap_pax_process_std_1()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_psk.c27 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member
120 if (omac1_aes_128(data->ak, buf, buflen, psk->mac_s)) { in eap_psk_build_3()
284 if (eap_psk_key_setup(sm->user->password, data->ak, data->kdk)) { in eap_psk_process_2()
288 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_process_2()
309 if (omac1_aes_128(data->ak, buf, buflen, mac)) { in eap_psk_process_2()
H A Deap_server_pax.c35 u8 ak[EAP_PAX_AK_LEN]; member
406 os_memcpy(data->ak, sm->user->password, EAP_PAX_AK_LEN); in eap_pax_process_std_2()
408 if (eap_pax_initial_key_derivation(data->mac_id, data->ak, in eap_pax_process_std_2()
/third_party/ffmpeg/libavcodec/
H A Dspeexdec.c738 static void multicomb(const float *exc, float *new_exc, float *ak, int p, int nsf, in multicomb() argument
822 static void lsp_to_lpc(const float *freq, float *ak, int lpcrdr) in lsp_to_lpc() argument
857 ak[j - 1] = (xout1 + xout2) * 0.5f; in lsp_to_lpc()
877 float ak[NB_ORDER]; in nb_decode() local
1133 lsp_to_lpc(interp_qlsp, ak, NB_ORDER); /* Compute interpolated LPCs (unquantized) */ in nb_decode()
1136 pi_g += ak[i + 1] - ak[i]; in nb_decode()
1142 memcpy(st->interp_qlpc, ak, sizeof(st->interp_qlpc)); in nb_decode()
1228 float ak[NB_ORDER]; in sb_decode() local
1295 lsp_to_lpc(interp_qlsp, ak, s in sb_decode()
[all...]
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
H A Dsign.c468 const char *ak, char **aws_keyid, in lws_aws_filesystem_credentials_helper()
504 if (strncmp(line, i ? kid : ak, strlen(i ? kid : ak))) in lws_aws_filesystem_credentials_helper()
467 lws_aws_filesystem_credentials_helper(const char *path, const char *kid, const char *ak, char **aws_keyid, char **aws_key) lws_aws_filesystem_credentials_helper() argument
/third_party/mesa3d/src/gallium/tools/trace/
H A Ddiff_state.py149 ak = sorted(a)
151 if ak != bk and not self.ignore_added:
153 for k in ak:
/third_party/mesa3d/src/mesa/main/
H A Dmipmap.c154 const GLfloat ak = _mesa_half_to_float(rowA[k][e]); \
161 dst[i][e] = _mesa_float_to_half((aj + ak + bj + bk + cj + ck + dj + dk) \
442 GLfloat aj, ak, bj, bk; in do_row() local
444 ak = _mesa_half_to_float(rowA[k][comp]); in do_row()
447 dst[i][comp] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
459 GLfloat aj, ak, bj, bk; in do_row() local
461 ak = _mesa_half_to_float(rowA[k][comp]); in do_row()
464 dst[i][comp] = _mesa_float_to_half((aj + ak + bj + bk) * 0.25F); in do_row()
476 GLfloat aj, ak, bj, bk; in do_row() local
478 ak in do_row()
492 GLfloat aj, ak, bj, bk; do_row() local
[all...]
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-secure-streams.h827 * \param ak: eg, "aws_secret_access_key"
840 const char *ak, char **aws_keyid,

Completed in 19 milliseconds

12