| /* SPDX-License-Identifier: GPL-2.0-only */ |
| /* Copyright 2021 Google LLC */ |
| |
| /* |
| * This header was automatically generated by gen_fips140_testvecs.py. |
| * Don't edit it directly. |
| */ |
| |
| static const u8 fips_message[32] __initconst = |
| "This is a 32-byte test message."; |
| |
| static const u8 fips_aes_key[16] __initconst = "128-bit AES key"; |
| |
| static const u8 fips_aes_iv[16] __initconst = "ABCDEFGHIJKLMNOP"; |
| |
| static const u8 fips_aes_cbc_ciphertext[32] __initconst = |
| "\x4c\x3e\xeb\x38\x8d\x1f\x28\xfd\xa2\x3b\xa9\xda\x36\xf2\x99\xe2" |
| "\x84\x84\x66\x37\x0a\x53\x68\x2f\x17\x95\x8d\x7f\xca\x5a\x68\x4e"; |
| |
| static const u8 fips_aes_ecb_ciphertext[32] __initconst = |
| "\xc1\x9d\xe6\xb8\xb2\x90\xff\xfe\xf2\x77\x18\xb0\x55\xd3\xee\xa9" |
| "\xe2\x6f\x4a\x32\x67\xfd\xb7\xa5\x2f\x4b\x6e\x1a\x86\x2b\x6e\x3a"; |
| |
| static const u8 fips_aes_ctr_ciphertext[32] __initconst = |
| "\xed\x06\x2c\xd0\xbc\x48\xd1\x2e\x6a\x4e\x13\xe9\xaa\x17\x40\xca" |
| "\x00\xb4\xaf\x3b\x4f\xee\x73\xd6\x6c\x41\xf6\x4c\x8b\x0d\x6a\x0f"; |
| |
| static const u8 fips_aes_gcm_assoc[22] __initconst = "associated data string"; |
| |
| static const u8 fips_aes_gcm_ciphertext[48] __initconst = |
| "\x37\x88\x3e\x1d\x58\x50\xda\x10\x07\xeb\x52\xdf\xea\x0a\x54\xd4" |
| "\x44\xbf\x88\x2a\xf3\x03\x03\x84\xaf\x8b\x96\xbd\xea\x65\x60\x6f" |
| "\x82\xfa\x51\xf4\x28\xad\x0c\xf1\xce\x0f\x91\xdd\x1a\x4c\x77\x5f"; |
| |
| static const u8 fips_aes_xts_key[32] __initconst = |
| "This is an AES-128-XTS key."; |
| |
| static const u8 fips_aes_xts_ciphertext[32] __initconst = |
| "\x4f\xf7\x9f\x6c\x00\xa8\x30\xdf\xff\xf3\x25\x9c\xf6\x0b\x1b\xfd" |
| "\x3b\x34\x5e\x67\x7c\xf8\x8b\x68\x9a\xb9\x5a\x89\x51\x51\xbd\x35"; |
| |
| static const u8 fips_aes_cmac_digest[16] __initconst = |
| "\x0c\x05\xda\x64\x51\x0c\x8e\x6c\x86\x52\x46\xa8\x2d\xb1\xfe\x0f"; |
| |
| static const u8 fips_sha3_256_digest[32] __initconst = |
| "\xe5\x9f\x8a\x6d\x87\xbe\x4a\x76\x0a\xcd\xe3\x7e\x89\x28\xf6\xd3" |
| "\xbc\x55\x0e\x5c\xf0\xec\x59\x33\xad\x9b\x9f\x09\x44\xa3\x88\xb8"; |
| |
| /* |
| * This header was automatically generated by gen_fips140_testvecs.py. |
| * Don't edit it directly. |
| */ |