summaryrefslogtreecommitdiffstats
path: root/src/hkdf_sha256.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-29 05:50:28 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-29 05:50:28 +0100
commit30016f8c828ae2d8191d5490cf599bbf006d024b (patch)
tree0bdbde4e00d51e09aca3f0e083511dd4b558a78d /src/hkdf_sha256.h
parent61349d3d273aa23935b0c413c5885005db2669db (diff)
downloadfastd-30016f8c828ae2d8191d5490cf599bbf006d024b.tar
fastd-30016f8c828ae2d8191d5490cf599bbf006d024b.zip
HKDF: add a forgotten const qualifier
Diffstat (limited to 'src/hkdf_sha256.h')
-rw-r--r--src/hkdf_sha256.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hkdf_sha256.h b/src/hkdf_sha256.h
index 830d0aa..4da2f5b 100644
--- a/src/hkdf_sha256.h
+++ b/src/hkdf_sha256.h
@@ -34,6 +34,6 @@ static inline void fastd_hkdf_sha256_extract(fastd_sha256_t *out, const uint32_t
fastd_hmacsha256(out, salt, in, len);
}
-void fastd_hkdf_sha256_expand(fastd_sha256_t *out, size_t blocks, 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 uint8_t *info, size_t infolen);
#endif /* _FASTD_HKDF_SHA256_H_ */