Changeset 3e4be0d in mainline for uspace/lib/crypto/crypto.h


Ignore:
Timestamp:
2025-04-18T18:47:34Z (4 days ago)
Author:
Miroslav Cimerman <mc@…>
Parents:
25fdb2d
Message:

libcrypto: create_hash(): const qual for input arg

File:
1 edited

Legend:

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

    r25fdb2d r3e4be0d  
    5454extern errno_t aes_encrypt(uint8_t *, uint8_t *, uint8_t *);
    5555extern errno_t aes_decrypt(uint8_t *, uint8_t *, uint8_t *);
    56 extern errno_t create_hash(uint8_t *, size_t, uint8_t *, hash_func_t);
     56extern errno_t create_hash(const uint8_t *, size_t, uint8_t *, hash_func_t);
    5757extern errno_t hmac(uint8_t *, size_t, uint8_t *, size_t, uint8_t *, hash_func_t);
    5858extern errno_t pbkdf2(uint8_t *, size_t, uint8_t *, size_t, uint8_t *);
Note: See TracChangeset for help on using the changeset viewer.