]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
crypto: testmgr - constify all test vectors
authorEric Biggers <ebiggers@google.com>
Fri, 24 Feb 2017 23:46:59 +0000 (15:46 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Mar 2017 10:34:39 +0000 (18:34 +0800)
commitb13b1e0c6b171b4f6ad94dd99020708719983494
treeb009912627ebc58497f26e7e9f8da8d1d430e315
parent5527dfb6ddac2aac98c2939f27840cb47abd5693
crypto: testmgr - constify all test vectors

Cryptographic test vectors should never be modified, so constify them to
enforce this at both compile-time and run-time.  This moves a significant
amount of data from .data to .rodata when the crypto tests are enabled.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h