summaryrefslogtreecommitdiffstats
path: root/src/hkdf_sha256.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hkdf_sha256.h')
-rw-r--r--src/hkdf_sha256.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hkdf_sha256.h b/src/hkdf_sha256.h
index 4da2f5b..97af3a6 100644
--- a/src/hkdf_sha256.h
+++ b/src/hkdf_sha256.h
@@ -28,12 +28,13 @@
#define _FASTD_HKDF_SHA256_H_
#include "sha256.h"
+#include "types.h"
static inline void fastd_hkdf_sha256_extract(fastd_sha256_t *out, const uint32_t salt[FASTD_HMACSHA256_KEY_WORDS], const uint32_t *in, size_t len) {
fastd_hmacsha256(out, salt, in, len);
}
-void fastd_hkdf_sha256_expand(fastd_sha256_t *out, size_t blocks, const fastd_sha256_t *prk, const uint8_t *info, size_t infolen);
+void fastd_hkdf_sha256_expand(fastd_sha256_t *out, size_t blocks, const fastd_sha256_t *prk, const data_t *info, size_t infolen);
#endif /* _FASTD_HKDF_SHA256_H_ */