summaryrefslogtreecommitdiffstats
path: root/src/hkdf_sha256.c
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.c
parent61349d3d273aa23935b0c413c5885005db2669db (diff)
downloadfastd-30016f8c828ae2d8191d5490cf599bbf006d024b.tar
fastd-30016f8c828ae2d8191d5490cf599bbf006d024b.zip
HKDF: add a forgotten const qualifier
Diffstat (limited to 'src/hkdf_sha256.c')
-rw-r--r--src/hkdf_sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hkdf_sha256.c b/src/hkdf_sha256.c
index 26568f9..854cb86 100644
--- a/src/hkdf_sha256.c
+++ b/src/hkdf_sha256.c
@@ -29,7 +29,7 @@
#include <string.h>
-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) {
if (!blocks)
return;