mirror of
https://github.com/Akagi201/hmac-sha1.git
synced 2025-05-08 19:40:51 +08:00
remove useless functions
This commit is contained in:
parent
6d7b233cd3
commit
a7bc71bde1
1
.gitignore
vendored
1
.gitignore
vendored
@ -27,3 +27,4 @@
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
/build
|
||||
|
@ -16,17 +16,4 @@ void hmac_sha1(const uint8_t *k, /* secret key */
|
||||
uint8_t *out, /* output buffer, at least "t" bytes */
|
||||
size_t *t);
|
||||
|
||||
|
||||
enum hmac_hash {
|
||||
HMAC_HASH_SHA1
|
||||
};
|
||||
|
||||
struct hmac;
|
||||
|
||||
int hmac_create(struct hmac **hmacp, enum hmac_hash hash,
|
||||
const uint8_t *key, size_t key_len);
|
||||
|
||||
int hmac_digest(struct hmac *hmac, uint8_t *md, size_t md_len,
|
||||
const uint8_t *data, size_t data_len);
|
||||
|
||||
#endif // HMAC_H_
|
||||
|
Loading…
x
Reference in New Issue
Block a user