[PATCH v2 2/2] test/crypto: add tests for 256-NxA4/5/6 algorithms
Stephen Hemminger
stephen at networkplumber.org
Mon Jan 19 18:05:20 CET 2026
On Mon, 19 Jan 2026 11:28:56 +0000
Radu Nicolau <radu.nicolau at intel.com> wrote:
> +struct nxa_256_test_data nea4_test_1 = {
> + .key = {
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
> + },
> + .iv = {
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
> + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
> + },
Could all these test vectors be declared static and const to avoid
any possibility of link mixups and corruption by crypto.
More information about the dev
mailing list