diff options
-rw-r--r-- | src/hkdf_sha256.c | 2 | ||||
-rw-r--r-- | src/hkdf_sha256.h | 2 |
2 files changed, 2 insertions, 2 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; 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_ */ |