Searched defs:icv (Results 1 - 25 of 37) sorted by relevance

12

/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_ikev2_common.c74 u8 icv[IKEV2_MAX_HASH_LEN]; local
98 wpabuf_len(msg) - icv_len, icv) < 0) {
103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
106 icv, icv_len);
H A Deap_eke_common.c664 u8 icv[EAP_EKE_MAX_HASH_LEN]; local
683 prot_len - block_size - icv_len, icv) < 0)
685 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) {
H A Dikev2_common.c537 u8 *icv, *iv; local
594 icv = wpabuf_put(msg, integ_alg->hash_len);
602 wpabuf_len(msg) - integ_alg->hash_len, icv);
/external/wpa_supplicant_8/src/eap_common/
H A Deap_ikev2_common.c74 u8 icv[IKEV2_MAX_HASH_LEN]; local
98 wpabuf_len(msg) - icv_len, icv) < 0) {
103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
106 icv, icv_len);
H A Deap_eke_common.c664 u8 icv[EAP_EKE_MAX_HASH_LEN]; local
683 prot_len - block_size - icv_len, icv) < 0)
685 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) {
H A Dikev2_common.c537 u8 *icv, *iv; local
594 icv = wpabuf_put(msg, integ_alg->hash_len);
602 wpabuf_len(msg) - integ_alg->hash_len, icv);
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Deap_ikev2_common.c74 u8 icv[IKEV2_MAX_HASH_LEN]; local
98 wpabuf_len(msg) - icv_len, icv) < 0) {
103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
106 icv, icv_len);
H A Deap_eke_common.c664 u8 icv[EAP_EKE_MAX_HASH_LEN]; local
683 prot_len - block_size - icv_len, icv) < 0)
685 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) {
H A Dikev2_common.c537 u8 *icv, *iv; local
594 icv = wpabuf_put(msg, integ_alg->hash_len);
602 wpabuf_len(msg) - integ_alg->hash_len, icv);
/external/syslinux/gpxe/src/net/80211/
H A Dwep.c126 u32 iv, icv; local
149 icv = ~crc32_le ( ~0, iob->data + hdrlen, datalen );
150 cipher_encrypt ( &arc4_algorithm, &ctx->arc4, &icv,
175 u32 iv, icv, crc; local
198 WEP_HEADER_LEN + datalen, &icv, WEP_ICV_LEN );
200 if ( crc != icv ) {
202 crypto, icv, crc );
H A Dwpa_tkip.c384 u32 icv; local
425 icv = crc32_le ( ~0, iob->data + hdrlen, datalen );
426 icv = crc32_le ( icv, mic, sizeof ( mic ) );
427 icv = cpu_to_le32 ( ~icv );
428 cipher_encrypt ( &arc4_algorithm, &arc4, &icv,
457 u32 icv, crc; local
498 icv = le32_to_cpu ( *( u32 * ) ( iob->tail + TKIP_MIC_LEN ) );
500 if ( crc != icv ) {
[all...]
/external/bzip2/
H A Dcompress.c361 register UInt16 icv; local
365 icv = mtfv[gs+(nn)]; \
366 cost01 += s->len_pack[icv][0]; \
367 cost23 += s->len_pack[icv][1]; \
368 cost45 += s->len_pack[icv][2]; \
390 UInt16 icv = mtfv[i]; local
391 for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv];
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_pax.c341 const u8 *icv, *pos; local
418 icv = pos + len - EAP_PAX_ICV_LEN;
419 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
429 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Deap_server_pax.c190 u8 icvbuf[EAP_PAX_ICV_LEN], *icv; local
265 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN;
266 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
271 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_key.c169 size_t msg_bytes, u8 *icv)
171 if (omac1_aes_128(ick, msg, msg_bytes, icv)) {
168 ieee802_1x_icv_128bits_aes_cmac(const u8 *ick, const u8 *msg, size_t msg_bytes, u8 *icv) argument
H A Dieee802_1x_kay_i.h78 int (*icv_hash)(const u8 *ick, const u8 *msg, size_t msg_len, u8 *icv);
420 u8 icv[0]; member in struct:ieee802_1x_mka_icv_body
H A Dieee802_1x_kay.c1743 return body->icv;
1884 /* icv parameter set */
2855 u8 icv[MAX_ICV_LEN]; local
2917 buf, len - mka_alg_tbl[kay->mka_algindex].icv_len, icv)) {
2928 if (os_memcmp_const(msg_icv, icv,
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_pax.c341 const u8 *icv, *pos; local
418 icv = pos + len - EAP_PAX_ICV_LEN;
419 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
429 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_pax.c190 u8 icvbuf[EAP_PAX_ICV_LEN], *icv; local
265 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN;
266 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
271 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_key.c169 size_t msg_bytes, u8 *icv)
171 if (omac1_aes_128(ick, msg, msg_bytes, icv)) {
168 ieee802_1x_icv_128bits_aes_cmac(const u8 *ick, const u8 *msg, size_t msg_bytes, u8 *icv) argument
H A Dieee802_1x_kay_i.h78 int (*icv_hash)(const u8 *ick, const u8 *msg, size_t msg_len, u8 *icv);
420 u8 icv[0]; member in struct:ieee802_1x_mka_icv_body
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_pax.c341 const u8 *icv, *pos; local
418 icv = pos + len - EAP_PAX_ICV_LEN;
419 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
429 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Deap_server_pax.c190 u8 icvbuf[EAP_PAX_ICV_LEN], *icv; local
265 icv = wpabuf_mhead_u8(respData) + mlen - EAP_PAX_ICV_LEN;
266 wpa_hexdump(MSG_MSGDUMP, "EAP-PAX: ICV", icv, EAP_PAX_ICV_LEN);
271 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_key.c169 size_t msg_bytes, u8 *icv)
171 if (omac1_aes_128(ick, msg, msg_bytes, icv)) {
168 ieee802_1x_icv_128bits_aes_cmac(const u8 *ick, const u8 *msg, size_t msg_bytes, u8 *icv) argument
H A Dieee802_1x_kay_i.h78 int (*icv_hash)(const u8 *ick, const u8 *msg, size_t msg_len, u8 *icv);
420 u8 icv[0]; member in struct:ieee802_1x_mka_icv_body

Completed in 416 milliseconds

12