remove useless functions

This commit is contained in:
Akagi201 2014-12-24 15:27:21 +08:00
parent 6d7b233cd3
commit a7bc71bde1
2 changed files with 1 additions and 13 deletions

1
.gitignore vendored
View File

@ -27,3 +27,4 @@
*.i*86
*.x86_64
*.hex
/build

View File

@ -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_