Ignore:
Timestamp:
2015-04-08T10:54:31Z (10 years ago)
Author:
Jan Kolarik <kolarik@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
053fc2b
Parents:
1dcc0b9
Message:

RC4 and MD5 algorithm used in TKIP/WEP security suites

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ieee80211/src/ieee80211.c

    r1dcc0b9 rd7dadcb4  
    5656};
    5757
    58 /** Broadcast MAC address used to spread probe request through channel. */
     58/** Broadcast MAC address. */
    5959static const uint8_t ieee80211_broadcast_mac_addr[] = {
    6060        0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
     
    14071407
    14081408        /* Compute MIC of key frame data from KCK part of PTK. */
    1409         uint8_t mic[SHA1_HASH_LENGTH];
     1409        uint8_t mic[hash_sel];
    14101410        hmac(ptk, 16, (uint8_t *) output_key_frame,
    14111411                output_size - sizeof(eth_header_t), mic, hash_sel);
Note: See TracChangeset for help on using the changeset viewer.