Changeset a931b7b in mainline for uspace/lib/crypto/crypto.h


Ignore:
Timestamp:
2015-04-13T20:48:33Z (10 years ago)
Author:
Jan Kolarik <kolarik@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cc575ef9
Parents:
053fc2b
Message:

Added TKIP support, handling old WPA in 4way handshake, some fixes in wifi_supplicant app

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/crypto/crypto.h

    r053fc2b ra931b7b  
    4141} hash_func_t;
    4242
    43 extern int rc4(uint8_t *key, size_t key_size, uint8_t *input,
    44         size_t input_size, uint8_t *output);
     43extern int rc4(uint8_t *key, size_t key_size, uint8_t *input, size_t input_size,
     44        size_t skip, uint8_t *output);
    4545extern int aes_encrypt(uint8_t *key, uint8_t *input, uint8_t *output);
    4646extern int aes_decrypt(uint8_t *key, uint8_t *input, uint8_t *output);
     
    5050        uint8_t *hash, hash_func_t hash_sel);
    5151extern int pbkdf2(uint8_t *pass, size_t pass_size, uint8_t *salt,
    52         size_t salt_size, uint8_t *hash, hash_func_t hash_sel);
     52        size_t salt_size, uint8_t *hash);
    5353
    5454#endif
Note: See TracChangeset for help on using the changeset viewer.