mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-08-11 06:31:19 +02:00
Add DecisionCoverage/FeatureCoverage tests and tests/unit-mcdc white-box supplements for the remaining reachable wolfCrypt primitive sources in the ISO 26262 per-module MC/DC campaign (excluding asn* and the EVP/OpenSSL compat layer, which are out of the MC/DC boundary). tests/api: - legacy ciphers / digests: des3, camellia, ascon, blake2, siphash - niche PK: srp, eccsi, sakke, hpke - native PQC KEM: frodokem - math: wolfmath tests/unit-mcdc white-box drivers (#include the .c to reach file-static helpers and impl-selected paths, standalone main()/WB_NOTE harness): - blake2b, blake2s - eccsi, sakke, hpke - SP host backends: sp_x86_64, sp_c64, sp_c32 - infra: cryptocb (dev && dev->cb dispatch three-vector, 127/127), logging (per-thread + global error-queue impls, 19/19), memory (static-pool allocator, 46/48) Registrations in tests/api.c, tests/api/include.am and CMakeLists.txt.
39 lines
1.4 KiB
C
39 lines
1.4 KiB
C
/* test_ascon.h
|
|
*
|
|
* Copyright (C) 2006-2026 wolfSSL Inc.
|
|
*
|
|
* 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
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (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 TESTS_API_TEST_ASCON_H
|
|
#define TESTS_API_TEST_ASCON_H
|
|
|
|
#include <tests/api/api_decl.h>
|
|
|
|
int test_ascon_hash256(void);
|
|
int test_ascon_aead128(void);
|
|
int test_ascon_aead128_edge_cases(void);
|
|
int test_ascon_decision_coverage(void);
|
|
|
|
#define TEST_ASCON_DECLS \
|
|
TEST_DECL_GROUP("ascon", test_ascon_hash256), \
|
|
TEST_DECL_GROUP("ascon", test_ascon_aead128), \
|
|
TEST_DECL_GROUP("ascon", test_ascon_aead128_edge_cases), \
|
|
TEST_DECL_GROUP("ascon", test_ascon_decision_coverage)
|
|
|
|
#endif /* TESTS_API_TEST_ASCON_H */
|