]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/crypto/hkdf.c
Merge tag 'xfs-5.6-merge-8' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux.git] / fs / crypto / hkdf.c
index f21873e1b46749547cd32808f29b26ad6212b036..efb95bd19a8948f1fd7042a5f4a2e9ba2a967c2d 100644 (file)
@@ -112,7 +112,7 @@ int fscrypt_init_hkdf(struct fscrypt_hkdf *hkdf, const u8 *master_key,
  * adds to its application-specific info strings to guarantee that it doesn't
  * accidentally repeat an info string when using HKDF for different purposes.)
  */
-int fscrypt_hkdf_expand(struct fscrypt_hkdf *hkdf, u8 context,
+int fscrypt_hkdf_expand(const struct fscrypt_hkdf *hkdf, u8 context,
                        const u8 *info, unsigned int infolen,
                        u8 *okm, unsigned int okmlen)
 {