OSDN Git Service

Merge tag 'armsoc-arm64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[uclinux-h8/linux.git] / crypto / dh.c
index ddcb528..87e3542 100644 (file)
@@ -79,7 +79,8 @@ static int dh_set_params(struct dh_ctx *ctx, struct dh *params)
        return 0;
 }
 
-static int dh_set_secret(struct crypto_kpp *tfm, void *buf, unsigned int len)
+static int dh_set_secret(struct crypto_kpp *tfm, const void *buf,
+                        unsigned int len)
 {
        struct dh_ctx *ctx = dh_get_ctx(tfm);
        struct dh params;