2025-02-03 17:19:22 +10:00
|
|
|
# vim:ft=automake
|
|
|
|
|
# included from Top Level Makefile.am
|
|
|
|
|
# All paths should be given relative to the
|
|
|
|
|
|
2025-01-29 13:39:59 +01:00
|
|
|
if BUILD_TESTS
|
2025-02-27 12:23:30 +10:00
|
|
|
# Digests
|
2025-03-04 16:55:05 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_md2.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_md4.c
|
2025-02-03 17:19:22 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_md5.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sha.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sha256.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sha512.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sha3.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_blake2.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sm3.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ripemd.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_hash.c
|
2025-02-27 12:23:30 +10:00
|
|
|
# MAC
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_hmac.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_cmac.c
|
|
|
|
|
# Cipher
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_des3.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_chacha.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_poly1305.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_chacha20_poly1305.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_camellia.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_arc4.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_rc2.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_aes.c
|
2025-02-03 17:19:22 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_ascon.c
|
2025-02-27 12:23:30 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_sm4.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_wc_encrypt.c
|
Split out tests: random, wolfmath, public key
Improved testing of random APIs.
wolfmath tests moved out.
Public key algorithm testing moved out: RSA, DSA, DH, ECC, SM2,
Curve25519, Ed25519, Curve448, Ed448, ML-DSA.
Signature API tests moved out.
Fix for OCSP testing to ensure RSA is available.
Added group names to API test cases.
Can select groups to run with --group <name>. --groups lists all known
group names.
Added option to stop API testing on first failure: --stopOnFail.
2025-03-14 08:36:27 +10:00
|
|
|
# Random
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_random.c
|
|
|
|
|
# MP
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_wolfmath.c
|
|
|
|
|
# Public Key Algorithm
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_rsa.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_dsa.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_dh.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ecc.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_sm2.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_curve25519.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ed25519.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_curve448.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ed448.c
|
2025-02-18 18:51:14 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_mlkem.c
|
Split out tests: random, wolfmath, public key
Improved testing of random APIs.
wolfmath tests moved out.
Public key algorithm testing moved out: RSA, DSA, DH, ECC, SM2,
Curve25519, Ed25519, Curve448, Ed448, ML-DSA.
Signature API tests moved out.
Fix for OCSP testing to ensure RSA is available.
Added group names to API test cases.
Can select groups to run with --group <name>. --groups lists all known
group names.
Added option to stop API testing on first failure: --stopOnFail.
2025-03-14 08:36:27 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_mldsa.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_signature.c
|
2025-02-27 12:23:30 +10:00
|
|
|
# TLS Protocol
|
2025-02-10 13:57:06 +01:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_dtls.c
|
2025-02-27 12:23:30 +10:00
|
|
|
# TLS Feature
|
2025-01-31 18:33:34 +00:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_ocsp.c
|
2025-02-28 11:44:30 -07:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_evp.c
|
2025-02-21 12:31:30 +01:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_tls_ext.c
|
2025-05-20 14:03:52 +02:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_tls.c
|
2025-06-04 23:39:37 +02:00
|
|
|
# Certs
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_x509.c
|
2025-06-24 19:28:39 +09:00
|
|
|
# ASN
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_asn.c
|
2025-08-05 11:50:08 +10:00
|
|
|
# PKCS#7
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_pkcs7.c
|
|
|
|
|
# PKCS#12
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_pkcs12.c
|
|
|
|
|
# OpenSSL ASN.1
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_asn1.c
|
|
|
|
|
# OpenSSL BN
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_bn.c
|
|
|
|
|
# OpenSSL BIO
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_bio.c
|
|
|
|
|
# OpenSSL Crypto
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_dgst.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_mac.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_cipher.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_rsa.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_dh.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_ec.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_ecx.c
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_dsa.c
|
2025-10-27 15:27:40 +10:00
|
|
|
tests_unit_test_SOURCES += tests/api/test_ossl_sk.c
|
2025-08-22 10:13:13 +10:00
|
|
|
# TLS 1.3 specific
|
|
|
|
|
tests_unit_test_SOURCES += tests/api/test_tls13.c
|
2025-01-29 13:39:59 +01:00
|
|
|
endif
|
2025-02-27 12:23:30 +10:00
|
|
|
|
2025-02-03 17:19:22 +10:00
|
|
|
EXTRA_DIST += tests/api/api.h
|
Split out tests: random, wolfmath, public key
Improved testing of random APIs.
wolfmath tests moved out.
Public key algorithm testing moved out: RSA, DSA, DH, ECC, SM2,
Curve25519, Ed25519, Curve448, Ed448, ML-DSA.
Signature API tests moved out.
Fix for OCSP testing to ensure RSA is available.
Added group names to API test cases.
Can select groups to run with --group <name>. --groups lists all known
group names.
Added option to stop API testing on first failure: --stopOnFail.
2025-03-14 08:36:27 +10:00
|
|
|
EXTRA_DIST += tests/api/api_decl.h
|
2025-03-04 16:55:05 +10:00
|
|
|
EXTRA_DIST += tests/api/test_md2.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_md4.h
|
2025-02-03 17:19:22 +10:00
|
|
|
EXTRA_DIST += tests/api/test_md5.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sha.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sha256.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sha512.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sha3.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_blake2.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sm3.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ripemd.h
|
2025-02-25 08:50:41 +10:00
|
|
|
EXTRA_DIST += tests/api/test_digest.h
|
2025-02-03 17:19:22 +10:00
|
|
|
EXTRA_DIST += tests/api/test_hash.h
|
2025-02-27 12:23:30 +10:00
|
|
|
EXTRA_DIST += tests/api/test_hmac.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_cmac.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_des3.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_chacha.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_poly1305.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_chacha20_poly1305.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_camellia.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_arc4.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_rc2.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_aes.h
|
2025-02-03 17:19:22 +10:00
|
|
|
EXTRA_DIST += tests/api/test_ascon.h
|
2025-02-27 12:23:30 +10:00
|
|
|
EXTRA_DIST += tests/api/test_sm4.h
|
2025-02-03 17:19:22 +10:00
|
|
|
EXTRA_DIST += tests/api/test_ascon_kats.h
|
2025-02-27 12:23:30 +10:00
|
|
|
EXTRA_DIST += tests/api/test_wc_encrypt.h
|
Split out tests: random, wolfmath, public key
Improved testing of random APIs.
wolfmath tests moved out.
Public key algorithm testing moved out: RSA, DSA, DH, ECC, SM2,
Curve25519, Ed25519, Curve448, Ed448, ML-DSA.
Signature API tests moved out.
Fix for OCSP testing to ensure RSA is available.
Added group names to API test cases.
Can select groups to run with --group <name>. --groups lists all known
group names.
Added option to stop API testing on first failure: --stopOnFail.
2025-03-14 08:36:27 +10:00
|
|
|
EXTRA_DIST += tests/api/test_random.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_wolfmath.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_rsa.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_dsa.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_dh.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ecc.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_sm2.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_curve25519.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ed25519.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_curve448.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ed448.h
|
2025-02-18 18:51:14 +10:00
|
|
|
EXTRA_DIST += tests/api/test_mlkem.h
|
Split out tests: random, wolfmath, public key
Improved testing of random APIs.
wolfmath tests moved out.
Public key algorithm testing moved out: RSA, DSA, DH, ECC, SM2,
Curve25519, Ed25519, Curve448, Ed448, ML-DSA.
Signature API tests moved out.
Fix for OCSP testing to ensure RSA is available.
Added group names to API test cases.
Can select groups to run with --group <name>. --groups lists all known
group names.
Added option to stop API testing on first failure: --stopOnFail.
2025-03-14 08:36:27 +10:00
|
|
|
EXTRA_DIST += tests/api/test_mldsa.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_signature.h
|
2025-02-10 13:57:06 +01:00
|
|
|
EXTRA_DIST += tests/api/test_dtls.h
|
2025-01-31 18:33:34 +00:00
|
|
|
EXTRA_DIST += tests/api/test_ocsp.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ocsp_test_blobs.h
|
|
|
|
|
EXTRA_DIST += tests/api/create_ocsp_test_blobs.py
|
2025-02-28 11:44:30 -07:00
|
|
|
EXTRA_DIST += tests/api/test_evp.h
|
2025-02-21 12:31:30 +01:00
|
|
|
EXTRA_DIST += tests/api/test_tls_ext.h
|
2025-05-20 14:03:52 +02:00
|
|
|
EXTRA_DIST += tests/api/test_tls.h
|
2025-06-04 23:39:37 +02:00
|
|
|
EXTRA_DIST += tests/api/test_x509.h
|
2025-06-24 19:28:39 +09:00
|
|
|
EXTRA_DIST += tests/api/test_asn.h
|
2025-08-05 11:50:08 +10:00
|
|
|
EXTRA_DIST += tests/api/test_pkcs7.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_pkcs12.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_asn1.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_bn.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_bio.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_dgst.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_mac.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_cipher.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_rsa.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_dh.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_ec.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_ecx.h
|
|
|
|
|
EXTRA_DIST += tests/api/test_ossl_dsa.h
|
2025-10-27 15:27:40 +10:00
|
|
|
EXTRA_DIST += tests/api/test_ossl_sk.h
|
2025-08-22 10:13:13 +10:00
|
|
|
EXTRA_DIST += tests/api/test_tls13.h
|
2025-02-03 17:19:22 +10:00
|
|
|
|