public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: constify test vectors
@ 2017-02-24 23:46 Eric Biggers
  2017-02-24 23:46 ` [PATCH 1/2] crypto: kpp - constify buffer passed to crypto_kpp_set_secret() Eric Biggers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Biggers @ 2017-02-24 23:46 UTC (permalink / raw)
  To: linux-crypto; +Cc: Herbert Xu, David S . Miller, linux-kernel, Eric Biggers

From: Eric Biggers <ebiggers@google.com>

These two patches mark all the cryptographic test vectors as 'const'.
This has several potential advantages and moves a large amount of data
from .data to .rodata when the tests are enabled.  The second patch does
the real work; the first just prepares for it by updating a function to
take a const buffer argument.

Eric Biggers (2):
  crypto: kpp - constify buffer passed to crypto_kpp_set_secret()
  crypto: testmgr - constify all test vectors

 crypto/dh.c                                   |   3 +-
 crypto/ecdh.c                                 |   3 +-
 crypto/testmgr.c                              |  71 ++--
 crypto/testmgr.h                              | 512 +++++++++++++-------------
 drivers/crypto/qat/qat_common/qat_asym_algs.c |   2 +-
 include/crypto/kpp.h                          |   6 +-
 6 files changed, 305 insertions(+), 292 deletions(-)

-- 
2.11.0.483.g087da7b7c-goog

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-09 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 23:46 [PATCH 0/2] crypto: constify test vectors Eric Biggers
2017-02-24 23:46 ` [PATCH 1/2] crypto: kpp - constify buffer passed to crypto_kpp_set_secret() Eric Biggers
2017-02-24 23:46 ` [PATCH 2/2] crypto: testmgr - constify all test vectors Eric Biggers
2017-03-09 10:47 ` [PATCH 0/2] crypto: constify " Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox