Changeset a931b7b in mainline for uspace/lib/crypto/crypto.h
- Timestamp:
- 2015-04-13T20:48:33Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc575ef9
- Parents:
- 053fc2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/crypto/crypto.h
r053fc2b ra931b7b 41 41 } hash_func_t; 42 42 43 extern int rc4(uint8_t *key, size_t key_size, uint8_t *input, 44 size_t input_size, uint8_t *output);43 extern int rc4(uint8_t *key, size_t key_size, uint8_t *input, size_t input_size, 44 size_t skip, uint8_t *output); 45 45 extern int aes_encrypt(uint8_t *key, uint8_t *input, uint8_t *output); 46 46 extern int aes_decrypt(uint8_t *key, uint8_t *input, uint8_t *output); … … 50 50 uint8_t *hash, hash_func_t hash_sel); 51 51 extern 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); 53 53 54 54 #endif
Note:
See TracChangeset
for help on using the changeset viewer.