diff --git a/.gitignore b/.gitignore index edf6645..a32de82 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ *.i*86 *.x86_64 *.hex +/build diff --git a/src/hmac/hmac.h b/src/hmac/hmac.h index 29da7d2..b325bf3 100644 --- a/src/hmac/hmac.h +++ b/src/hmac/hmac.h @@ -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_