Source code

Revision control

Copy as Markdown

Other Tools

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// Test from official test vectors in
// Note that the encryption and decryption keys are replaced with their SHA3-256
// hash values.
#include <vector>
#include "kyber.h"
struct MlKem768KeyGen {
KyberParams params;
uint8_t seed[KYBER_KEYPAIR_COIN_BYTES];
uint8_t publicKeyDigest[SHA3_256_LENGTH];
uint8_t privateKeyDigest[SHA3_256_LENGTH];
};
std::vector<MlKem768KeyGen> MlKem768KeyGenTests = {
{params_ml_kem768,
{0xE3, 0x4A, 0x70, 0x1C, 0x4C, 0x87, 0x58, 0x2F, 0x42, 0x26, 0x4E,
0xE4, 0x22, 0xD3, 0xC6, 0x84, 0xD9, 0x76, 0x11, 0xF2, 0x52, 0x3E,
0xFE, 0x0C, 0x99, 0x8A, 0xF0, 0x50, 0x56, 0xD6, 0x93, 0xDC, 0xA8,
0x57, 0x68, 0xF3, 0x48, 0x6B, 0xD3, 0x2A, 0x01, 0xBF, 0x9A, 0x8F,
0x21, 0xEA, 0x93, 0x8E, 0x64, 0x8E, 0xAE, 0x4E, 0x54, 0x48, 0xC3,
0x4C, 0x3E, 0xB8, 0x88, 0x20, 0xB1, 0x59, 0xEE, 0xDD},
{0xE2, 0x90, 0x20, 0x83, 0x9D, 0x05, 0x2F, 0xA3, 0x72, 0x58, 0x56,
0x27, 0xF8, 0xB5, 0x9E, 0xE3, 0x12, 0xAE, 0x41, 0x4C, 0x97, 0x9D,
0x82, 0x5F, 0x06, 0xA6, 0x92, 0x9A, 0x79, 0x62, 0x57, 0x18},
{0xA4, 0xE8, 0xBA, 0x80, 0xBB, 0x7A, 0x74, 0x5E, 0x93, 0x6D, 0x47,
0x78, 0x4C, 0x07, 0xFF, 0xA6, 0xA3, 0x14, 0xCA, 0xF5, 0xA8, 0xDE,
0xB4, 0x64, 0x8C, 0x5C, 0x2D, 0x6A, 0xE9, 0x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