Changeset b7fd2a0 in mainline for uspace/lib/crypto/crypto.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/crypto/crypto.c
r36f0738 rb7fd2a0 194 194 * 195 195 */ 196 int create_hash(uint8_t *input, size_t input_size, uint8_t *output,196 errno_t create_hash(uint8_t *input, size_t input_size, uint8_t *output, 197 197 hash_func_t hash_sel) 198 198 { … … 266 266 * 267 267 */ 268 int hmac(uint8_t *key, size_t key_size, uint8_t *msg, size_t msg_size,268 errno_t hmac(uint8_t *key, size_t key_size, uint8_t *msg, size_t msg_size, 269 269 uint8_t *hash, hash_func_t hash_sel) 270 270 { … … 322 322 * 323 323 */ 324 int pbkdf2(uint8_t *pass, size_t pass_size, uint8_t *salt, size_t salt_size,324 errno_t pbkdf2(uint8_t *pass, size_t pass_size, uint8_t *salt, size_t salt_size, 325 325 uint8_t *hash) 326 326 {
Note:
See TracChangeset
for help on using the changeset viewer.