crypto: kpp - constify buffer passed to crypto_kpp_set_secret()
authorEric Biggers <ebiggers@google.com>
Fri, 24 Feb 2017 23:46:58 +0000 (15:46 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Mar 2017 10:34:27 +0000 (18:34 +0800)
commit5527dfb6ddac2aac98c2939f27840cb47abd5693
tree5a898221ea9be92a0c8c93a6b5a5375b79da259c
parentcd220ae6c7fbb0c80c3301e011e1baf4f352e497
crypto: kpp - constify buffer passed to crypto_kpp_set_secret()

Constify the buffer passed to crypto_kpp_set_secret() and
kpp_alg.set_secret, since it is never modified.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/dh.c
crypto/ecdh.c
drivers/crypto/qat/qat_common/qat_asym_algs.c
include/crypto/kpp.h