hkdf_sha256: okm is a void *.
[ccan] / ccan / crypto / hkdf_sha256 / hkdf_sha256.h
index cb295027fd72e35497b0c6dfc395ea65479cfa96..cf95c5afd8e74809433300cf6f0d784775a8309f 100644 (file)
@@ -15,7 +15,7 @@
  * @info: pointer to info
  * @isize: the number of bytes pointed to by @info
  */
-void hkdf_sha256(unsigned char *okm, size_t okm_size,
+void hkdf_sha256(void *okm, size_t okm_size,
                 const void *s, size_t ssize,
                 const void *k, size_t ksize,
                 const void *info, size_t isize);