2025-02-18 18:51:14 +10:00
|
|
|
/* test_mlkem.h
|
|
|
|
|
*
|
2026-02-18 09:52:21 -07:00
|
|
|
* Copyright (C) 2006-2026 wolfSSL Inc.
|
2025-02-18 18:51:14 +10:00
|
|
|
*
|
|
|
|
|
* This file is part of wolfSSL.
|
|
|
|
|
*
|
|
|
|
|
* wolfSSL is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2025-07-10 16:01:52 -06:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2025-02-18 18:51:14 +10:00
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* wolfSSL is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef WOLFCRYPT_TEST_MLKEM_H
|
|
|
|
|
#define WOLFCRYPT_TEST_MLKEM_H
|
|
|
|
|
|
2025-03-14 08:36:27 +10:00
|
|
|
#include <tests/api/api_decl.h>
|
|
|
|
|
|
2025-02-18 18:51:14 +10:00
|
|
|
int test_wc_mlkem_make_key_kats(void);
|
|
|
|
|
int test_wc_mlkem_encapsulate_kats(void);
|
|
|
|
|
int test_wc_mlkem_decapsulate_kats(void);
|
2026-03-26 14:56:00 -04:00
|
|
|
int test_wc_mlkem_decapsulate_pubonly_fails(void);
|
2026-04-10 20:18:58 +02:00
|
|
|
int test_wc_mlkem_decap_fo_reject(void);
|
2025-02-18 18:51:14 +10:00
|
|
|
|
2026-04-10 20:18:58 +02:00
|
|
|
#define TEST_MLKEM_DECLS \
|
|
|
|
|
TEST_DECL_GROUP("mlkem", test_wc_mlkem_make_key_kats), \
|
|
|
|
|
TEST_DECL_GROUP("mlkem", test_wc_mlkem_encapsulate_kats), \
|
|
|
|
|
TEST_DECL_GROUP("mlkem", test_wc_mlkem_decapsulate_kats), \
|
|
|
|
|
TEST_DECL_GROUP("mlkem", test_wc_mlkem_decapsulate_pubonly_fails), \
|
|
|
|
|
TEST_DECL_GROUP("mlkem", test_wc_mlkem_decap_fo_reject)
|
2025-03-14 08:36:27 +10:00
|
|
|
|
2025-02-18 18:51:14 +10:00
|
|
|
#endif /* WOLFCRYPT_TEST_MLKEM_H */
|