Changeset 0639afc in mainline for uspace/lib/crypto/crypto.h


Ignore:
Timestamp:
2025-04-18T18:52:01Z (3 weeks ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
23d4e6ae, 4f63e1b2, 55a81a31, 9fc15f9
Parents:
25fdb2d
git-author:
Miroslav Cimerman <70661600+mcimerman@…> (2025-04-18 18:52:01)
git-committer:
GitHub <noreply@…> (2025-04-18 18:52:01)
Message:

libcrypto: create_hash(): const qual for input arg (#250)

File:
1 edited

Legend:

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

    r25fdb2d r0639afc  
    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.