diff options
Diffstat (limited to 'test/regression/interoperability_test')
166 files changed, 1826 insertions, 0 deletions
diff --git a/test/regression/interoperability_test/certificates/test.der.c b/test/regression/interoperability_test/certificates/test.der.c index b2f8f8be..90c2f241 100644 --- a/test/regression/interoperability_test/certificates/test.der.c +++ b/test/regression/interoperability_test/certificates/test.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_der[] = { 0x30, 0x82, 0x05, 0xf2, 0x30, 0x82, 0x03, 0xda, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/certificates/test_client.der.c b/test/regression/interoperability_test/certificates/test_client.der.c index 1f54b400..8b119c44 100644 --- a/test/regression/interoperability_test/certificates/test_client.der.c +++ b/test/regression/interoperability_test/certificates/test_client.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_client_der[] = { 0x30, 0x82, 0x05, 0xc6, 0x30, 0x82, 0x03, 0xae, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x08, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/certificates/test_client.key.der.c b/test/regression/interoperability_test/certificates/test_client.key.der.c index 49e80e3c..2d3815b0 100644 --- a/test/regression/interoperability_test/certificates/test_client.key.der.c +++ b/test/regression/interoperability_test/certificates/test_client.key.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_client_key_der[] = { 0x30, 0x82, 0x04, 0xa5, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xa1, 0x38, 0x47, 0x6a, 0xac, 0x77, 0xbf, 0x80, 0x5d, 0xab, 0xcd, 0x84, 0x6b, 0x6f, 0xfd, 0x94, 0x1e, 0x28, 0x4d, 0x2b, diff --git a/test/regression/interoperability_test/certificates/test_server.der.c b/test/regression/interoperability_test/certificates/test_server.der.c index 0cbd741b..41d15a6a 100644 --- a/test/regression/interoperability_test/certificates/test_server.der.c +++ b/test/regression/interoperability_test/certificates/test_server.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_server_der[] = { 0x30, 0x82, 0x05, 0xe5, 0x30, 0x82, 0x03, 0xcd, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x07, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/certificates/test_server.key.der.c b/test/regression/interoperability_test/certificates/test_server.key.der.c index b8cb7f6d..93c06a51 100644 --- a/test/regression/interoperability_test/certificates/test_server.key.der.c +++ b/test/regression/interoperability_test/certificates/test_server.key.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_server_key_der[] = { 0x30, 0x82, 0x04, 0xa4, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xd0, 0x6a, 0x52, 0x6e, 0xe6, 0x36, 0x44, 0x08, 0x62, 0x8c, 0xbb, 0xfe, 0xa2, 0xcf, 0xa6, 0xd2, 0x80, 0xd7, 0x56, 0x88, diff --git a/test/regression/interoperability_test/mqtt_test/ca.c b/test/regression/interoperability_test/mqtt_test/ca.c index 17bb35e9..f4a2ff72 100644 --- a/test/regression/interoperability_test/mqtt_test/ca.c +++ b/test/regression/interoperability_test/mqtt_test/ca.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char ca_der[] = { 0x30, 0x82, 0x05, 0xfe, 0x30, 0x82, 0x03, 0xe6, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, diff --git a/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c b/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c index d06cdf08..d2e163a6 100644 --- a/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c +++ b/test/regression/interoperability_test/mqtt_test/generic_test_entry_0.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Declare the test entries of test instances. */ diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c index e4392470..52c18165 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_empty_message_test_publisher.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" /* Global semaphore address. */ diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c index 03e6b657..834b65ec 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_entry.c @@ -1 +1,12 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "generic_test_entry_0.c" diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c index f4f30ee9..5549b064 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_publisher.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" /* Global semaphore address. */ diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c index abb539e8..57e5570c 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_subscriber_test_server.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #ifdef NXD_MQTT_REQUIRE_TLS diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c index 03e6b657..834b65ec 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_entry.c @@ -1 +1,12 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "generic_test_entry_0.c" diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c index 4c112f2d..198d6a73 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_publisher.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #ifndef NX_SECURE_ENABLE diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c index 274e462a..96a60be9 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_test_server.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #ifndef NX_SECURE_ENABLE diff --git a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c index 17e6913e..154238fc 100644 --- a/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c +++ b/test/regression/interoperability_test/mqtt_test/linux_mqtt_tls_subscriber_twice_test_publisher.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #ifndef NX_SECURE_ENABLE diff --git a/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h b/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h index 55ca6e49..71a631e2 100644 --- a/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h +++ b/test/regression/interoperability_test/mqtt_test/mqtt_interoperability_test.h @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #ifndef __MQTT_INTEROPERABILITY_TEST__ #define __MQTT_INTEROPERABILITY_TEST__ diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c index e976963f..9d10b067 100644 --- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c +++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_double_subscribers_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #include "ca.c" diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c index 9c30bbff..75f4734d 100644 --- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c +++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_empty_message_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #include "nxd_mqtt_client.h" diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c index 799bffd4..1484b881 100644 --- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c +++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_subscriber_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #include "nxd_mqtt_client.h" diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c index 4bd5f859..7d7a3630 100644 --- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c +++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #include "ca.c" diff --git a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c index b46865bb..2c82494f 100644 --- a/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c +++ b/test/regression/interoperability_test/mqtt_test/netx_mqtt_tls_subscriber_twice_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "mqtt_interoperability_test.h" #include "ca.c" diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh index 4f64f1ba..a1eb95bb 100644 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/bridge_server.sh @@ -1,4 +1,15 @@ #! /bin/sh +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + if [ -d "../mosquitto-1.6.9/src/" ]; then export PATH=$PATH;../mosquitto-1.4.10/src/ fi diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh index b7711aaf..495d211f 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/certificate_server.sh @@ -1,4 +1,15 @@ #! /bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + function kill_mqtt_server(){ kill $mqtt_server_pid diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh index 34211a3e..46b0d880 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_pub.sh @@ -1,4 +1,15 @@ #! /bin/sh +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + dir=`dirname $0` dir=`realpath $dir` cd $dir diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh index b04593a5..88c341a4 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_server.sh @@ -1,4 +1,15 @@ #! /bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + function kill_mqtt_server(){ kill $mqtt_server_pid diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh index 52be4a76..8c668d99 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/no_tls_sub.sh @@ -1,4 +1,15 @@ #! /bin/sh +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + dir=`dirname $0` dir=`realpath $dir` cd $dir diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh index ce9691b8..54543e73 100644 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/psk_server.sh @@ -1 +1,12 @@ +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + ../mosquitto-1.4.10/src/mosquitto.exe -c ./mosquitto-psk.conf -v -p 8883 diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh index 8e0eae0a..fd0b3540 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/pub.sh @@ -1,4 +1,15 @@ #! /bin/sh +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + dir=`dirname $0` dir=`realpath $dir` cd $dir diff --git a/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh b/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh index 83b95e34..1f49150b 100755 --- a/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh +++ b/test/regression/interoperability_test/mqtt_test/test_scripts/sub.sh @@ -1,4 +1,15 @@ #! /bin/sh +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + dir=`dirname $0` dir=`realpath $dir` cd $dir diff --git a/test/regression/interoperability_test/nx_secure_test/cert.c b/test/regression/interoperability_test/nx_secure_test/cert.c index be5d89d7..864fbdb1 100644 --- a/test/regression/interoperability_test/nx_secure_test/cert.c +++ b/test/regression/interoperability_test/nx_secure_test/cert.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char cert_der[] = { 0x30, 0x82, 0x04, 0x07, 0x30, 0x82, 0x02, 0xef, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x09, 0x00, 0xfb, 0x9f, 0xac, 0x8a, 0xe9, 0xe9, 0xfc, 0x6f, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, diff --git a/test/regression/interoperability_test/nx_secure_test/demo_background_test_process_test.c b/test/regression/interoperability_test/nx_secure_test/demo_background_test_process_test.c index 6c965891..d98de53c 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_background_test_process_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_background_test_process_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT demo_background_test_process_test_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/demo_dtls_test.c b/test/regression/interoperability_test/nx_secure_test/demo_dtls_test.c index d1d13693..bca9e284 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_dtls_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_dtls_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT demo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/demo_dtls_test_server.c b/test/regression/interoperability_test/nx_secure_test/demo_dtls_test_server.c index eef0b79b..c19208b8 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_dtls_test_server.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_dtls_test_server.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/demo_ping_test.c b/test/regression/interoperability_test/nx_secure_test/demo_ping_test.c index 54966728..62a83385 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_ping_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_ping_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Declare the test entries of two test instances. */ diff --git a/test/regression/interoperability_test/nx_secure_test/demo_semaphore_test.c b/test/regression/interoperability_test/nx_secure_test/demo_semaphore_test.c index 87e59f8e..b97087a7 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_semaphore_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_semaphore_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Declare the test entries of two test instances. */ diff --git a/test/regression/interoperability_test/nx_secure_test/demo_shared_buffer_test.c b/test/regression/interoperability_test/nx_secure_test/demo_shared_buffer_test.c index c1146961..59325340 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_shared_buffer_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_shared_buffer_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT demo_shared_buffer_test_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/demo_timeout_test.c b/test/regression/interoperability_test/nx_secure_test/demo_timeout_test.c index 2c2ebd8d..948b6c48 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_timeout_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_timeout_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT demo_timeout_test_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/demo_tls_test.c b/test/regression/interoperability_test/nx_secure_test/demo_tls_test.c index b651c19f..4258feca 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_tls_test.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_tls_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT demo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/demo_tls_test_icmp_server.c b/test/regression/interoperability_test/nx_secure_test/demo_tls_test_icmp_server.c index ddef1e6e..ad97fab0 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_tls_test_icmp_server.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_tls_test_icmp_server.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/demo_tls_test_server.c b/test/regression/interoperability_test/nx_secure_test/demo_tls_test_server.c index c8d4b869..087175ed 100644 --- a/test/regression/interoperability_test/nx_secure_test/demo_tls_test_server.c +++ b/test/regression/interoperability_test/nx_secure_test/demo_tls_test_server.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_aes128_gcm_nx_secure_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_aes128_gcm_nx_secure_client_entry.c index 2366dc34..6e386757 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_aes128_gcm_nx_secure_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_aes128_gcm_nx_secure_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_client_entry.c index 38613f00..88f0fe9c 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_server_entry.c index 81b9e9b2..5593bc71 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_client_certificate_verify_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #include "test_server.der.c" #include "test_server.key.der.c" diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_client_entry.c index a92e1b4d..684f1dda 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #include "../../nx_secure_test/ecc_certs.c" #include "../../nx_secure_test/test_ca_cert.c" diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_server_entry.c index f04d9e06..1911cab7 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_ecc_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #include "../../nx_secure_test/ecc_certs.c" #include "../../nx_secure_test/test_ca_cert.c" diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_server_entry.c index 17c730ea..04a443bb 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_nx_secure_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_client_entry.c index 13672d58..8bf1b8f0 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_server_entry.c index 375f792f..df2da45f 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_client_certificate_verify_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_client_entry.c index 6b9c8cfd..fd262817 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_server_entry.c index f5b38827..b02e14ac 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_ecc_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_echo_server_entry.c index 62a84f5c..19050700 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_server_entry.c index da0e0754..e4680604 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_openssl_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_openssl_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_reuse_nx_secure_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_reuse_nx_secure_server_entry.c index 4883e904..290838ac 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_reuse_nx_secure_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_reuse_nx_secure_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_reuse_openssl_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_reuse_openssl_client_entry.c index e2c4360e..a8a44880 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_reuse_openssl_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_reuse_openssl_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_gcm_openssl_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_gcm_openssl_client_entry.c index d031e61e..fadfee6f 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_gcm_openssl_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_gcm_openssl_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global semaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_sha_openssl_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_sha_openssl_client_entry.c index 5829a965..4cfbbd62 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_sha_openssl_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes128_sha_openssl_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global semaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes256_sha_openssl_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes256_sha_openssl_client_entry.c index 627ba0ce..ac76f07d 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes256_sha_openssl_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_rsa_aes256_sha_openssl_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global semaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_two_instance_test.c b/test/regression/interoperability_test/nx_secure_test/dtls_two_instance_test.c index 4c1be6d8..68162518 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_two_instance_test.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_two_instance_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT dtls_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_nx_secure_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_nx_secure_client_entry.c index daa7ba3b..8bf7634a 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_nx_secure_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_nx_secure_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_client_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_client_entry.c index 56b5216a..fff627d0 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_server_entry.c b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_server_entry.c index 21c61339..9ec624da 100644 --- a/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/dtls_version_1_0_openssl_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_client_cert_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_client_cert_test_server_entry.c index fa5da41a..91fe2bd2 100644 --- a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_client_cert_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_client_cert_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_curves_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_curves_test_server_entry.c index fdc9ce0d..669d45df 100644 --- a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_curves_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_curves_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" typedef struct diff --git a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_echo_server_entry.c index e953d2ac..c425b48b 100644 --- a/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/ecc_tls_1_2_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" typedef struct diff --git a/test/regression/interoperability_test/nx_secure_test/ica_test_device_cert.c b/test/regression/interoperability_test/nx_secure_test/ica_test_device_cert.c index 9e597f92..158c5647 100644 --- a/test/regression/interoperability_test/nx_secure_test/ica_test_device_cert.c +++ b/test/regression/interoperability_test/nx_secure_test/ica_test_device_cert.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_device_cert_der[] = { 0x30, 0x82, 0x03, 0xdb, 0x30, 0x82, 0x02, 0xc3, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x02, 0x10, 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, diff --git a/test/regression/interoperability_test/nx_secure_test/ica_test_ica_cert.c b/test/regression/interoperability_test/nx_secure_test/ica_test_ica_cert.c index 6f6b9c05..90145eb5 100644 --- a/test/regression/interoperability_test/nx_secure_test/ica_test_ica_cert.c +++ b/test/regression/interoperability_test/nx_secure_test/ica_test_ica_cert.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char ica_cert_der[] = { 0x30, 0x82, 0x03, 0xdf, 0x30, 0x82, 0x02, 0xc7, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x02, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_client_entry.c index bd79dc8c..e11ec06a 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_server_entry.c index f3067903..e34dae19 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_1_0_1_1_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_client_entry.c index ac632cf6..5a1bf29c 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_server_entry.c index 530a37ba..0c5031ff 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_client_certificate_verify_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #include "test_server.der.c" #include "test_server.key.der.c" diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_dtls_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_dtls_echo_client_entry.c index 174669ed..b8b2e303 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_dtls_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_dtls_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_1_0_1_1_server_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_1_0_1_1_server_entry.c index 26571e0d..61bc797a 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_1_0_1_1_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_1_0_1_1_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ECC ciphersuites negotiation. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_client_cert_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_client_cert_test_client_entry.c index cc026440..0129c5f4 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_client_cert_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_client_cert_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #if !defined(NX_SECURE_TLS_CLIENT_DISABLED) && defined(NX_SECURE_ENABLE_ECC_CIPHERSUITE) diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_curves_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_curves_test_client_entry.c index dac4a190..1cb4812e 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_curves_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_curves_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #if !defined(NX_SECURE_TLS_CLIENT_DISABLED) && defined(NX_SECURE_ENABLE_ECC_CIPHERSUITE) diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_client_entry.c index 3afe667e..53a4e2ad 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #if !defined(NX_SECURE_TLS_CLIENT_DISABLED) && defined(NX_SECURE_ENABLE_ECC_CIPHERSUITE) diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_server_entry.c index fcd0faa8..638255d5 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #if !defined(NX_SECURE_TLS_SERVER_DISABLED) && defined(NX_SECURE_ENABLE_ECC_CIPHERSUITE) diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_cert_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_cert_entry.c index 464b38ed..b412e88a 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_cert_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_cert_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ciphersuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. The client certificate is require. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_ciphersuites_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_ciphersuites_entry.c index 01b9e0eb..42729e66 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_ciphersuites_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_ciphersuites_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ECC ciphersuites negotiation. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_curves_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_curves_entry.c index c04d04fd..2ced971c 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_curves_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_ecc_server_curves_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ECC curve selection. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_aes128_gcm_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_aes128_gcm_entry.c index 8961dbc6..4b084fe0 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_aes128_gcm_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_aes128_gcm_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_entry.c index ca8a8e80..c725ec5d 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_server_entry.c index fe3fa69e..3dd63113 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/nx_secure_override_tls_1_1_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/nx_secure_override_tls_1_1_echo_client_entry.c index d29f7267..2841c5e3 100644 --- a/test/regression/interoperability_test/nx_secure_test/nx_secure_override_tls_1_1_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/nx_secure_override_tls_1_1_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_client_entry.c b/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_client_entry.c index adc95a56..9af34a56 100644 --- a/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_server_entry.c b/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_server_entry.c index 6fa7e076..7e59e697 100644 --- a/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/openssl_client_certificate_verify_test_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_long_time_test.c b/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_long_time_test.c index 8315a4a0..b16826dd 100644 --- a/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_long_time_test.c +++ b/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_long_time_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT openssl_echo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_test.c b/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_test.c index 29fd745f..4a4be0c3 100644 --- a/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_test.c +++ b/test/regression/interoperability_test/nx_secure_test/openssl_echo_server_nx_secure_echo_client_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT openssl_echo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/rsa_aes128_gcm_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/rsa_aes128_gcm_openssl_echo_client_entry.c index ec68f8bf..b65448c6 100644 --- a/test/regression/interoperability_test/nx_secure_test/rsa_aes128_gcm_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/rsa_aes128_gcm_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/rsa_aes128_sha_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/rsa_aes128_sha_openssl_echo_client_entry.c index 026e9e12..33074c1e 100644 --- a/test/regression/interoperability_test/nx_secure_test/rsa_aes128_sha_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/rsa_aes128_sha_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/rsa_aes256_sha_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/rsa_aes256_sha_openssl_echo_client_entry.c index e234fa12..967cd809 100644 --- a/test/regression/interoperability_test/nx_secure_test/rsa_aes256_sha_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/rsa_aes256_sha_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_client_entry.c index c24afd47..a948b20e 100644 --- a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" #if !defined(NX_SECURE_TLS_CLIENT_DISABLED) && defined(NX_SECURE_ENABLE_ECC_CIPHERSUITE) diff --git a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_server_entry.c index b3e90dc7..505ec6da 100644 --- a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_nx_secure_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ECC ciphersuites negotiation. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_client_entry.c index e286dc50..825d23c2 100644 --- a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" typedef struct diff --git a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_server_entry.c index b0755f0c..9d4037bc 100644 --- a/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/signature_algorithm_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" typedef struct diff --git a/test/regression/interoperability_test/nx_secure_test/test.der.c b/test/regression/interoperability_test/nx_secure_test/test.der.c index b2f8f8be..90c2f241 100644 --- a/test/regression/interoperability_test/nx_secure_test/test.der.c +++ b/test/regression/interoperability_test/nx_secure_test/test.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_der[] = { 0x30, 0x82, 0x05, 0xf2, 0x30, 0x82, 0x03, 0xda, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/nx_secure_test/test_client.der.c b/test/regression/interoperability_test/nx_secure_test/test_client.der.c index 1f54b400..8b119c44 100644 --- a/test/regression/interoperability_test/nx_secure_test/test_client.der.c +++ b/test/regression/interoperability_test/nx_secure_test/test_client.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_client_der[] = { 0x30, 0x82, 0x05, 0xc6, 0x30, 0x82, 0x03, 0xae, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x08, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/nx_secure_test/test_client.key.der.c b/test/regression/interoperability_test/nx_secure_test/test_client.key.der.c index 49e80e3c..2d3815b0 100644 --- a/test/regression/interoperability_test/nx_secure_test/test_client.key.der.c +++ b/test/regression/interoperability_test/nx_secure_test/test_client.key.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_client_key_der[] = { 0x30, 0x82, 0x04, 0xa5, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xa1, 0x38, 0x47, 0x6a, 0xac, 0x77, 0xbf, 0x80, 0x5d, 0xab, 0xcd, 0x84, 0x6b, 0x6f, 0xfd, 0x94, 0x1e, 0x28, 0x4d, 0x2b, diff --git a/test/regression/interoperability_test/nx_secure_test/test_device_cert.c b/test/regression/interoperability_test/nx_secure_test/test_device_cert.c index d706868b..5c8a8e15 100644 --- a/test/regression/interoperability_test/nx_secure_test/test_device_cert.c +++ b/test/regression/interoperability_test/nx_secure_test/test_device_cert.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + static unsigned char test_device_cert_der[] = { 0x30, 0x82, 0x03, 0xd2, 0x30, 0x82, 0x02, 0xba, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x01, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/demo_openssl_client.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/demo_openssl_client.sh index 18de9a85..033ab391 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/demo_openssl_client.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/demo_openssl_client.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + date echo $0 diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_client.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_client.sh index 62782bc1..029825ff 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_client.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_client.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + date #Show script name. diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_server.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_server.sh index f37bc537..74ae2085 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_server.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_1_1_echo_server.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + date #Show script name. diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_client.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_client.sh index 12ac5654..5a2f4f69 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_client.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_client.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + date #Show script name. diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_server.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_server.sh index 806fdb99..3e07913e 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_server.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/openssl_echo_server.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + date #Show script name. diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep.sh index f5986bc0..2d015875 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep.sh @@ -1,4 +1,15 @@ #! /bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + echo $0 is called. sleep $1 diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep_5_secs_then_echo_hello.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep_5_secs_then_echo_hello.sh index 46226c71..df559148 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep_5_secs_then_echo_hello.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/sleep_5_secs_then_echo_hello.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + sleep 5 echo hello diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/tcp_test.py b/test/regression/interoperability_test/nx_secure_test/test_scripts/tcp_test.py index 82b88691..7ad89c29 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/tcp_test.py +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/tcp_test.py @@ -1,4 +1,15 @@ #!/usr/bin/python +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + import socket diff --git a/test/regression/interoperability_test/nx_secure_test/test_scripts/test.sh b/test/regression/interoperability_test/nx_secure_test/test_scripts/test.sh index 78583180..499932f6 100755 --- a/test/regression/interoperability_test/nx_secure_test/test_scripts/test.sh +++ b/test/regression/interoperability_test/nx_secure_test/test_scripts/test.sh @@ -1,4 +1,15 @@ #!/bin/bash +############################################################################## +# Copyright (c) 2024 Microsoft Corporation +# Copyright (c) 2026 Eclipse ThreadX contributors +# +# This program and the accompanying materials are made available under the +# terms of the MIT License which is available at +# https://opensource.org/licenses/MIT. +# +# SPDX-License-Identifier: MIT +############################################################################## + IFS=: for i in "a:b";do diff --git a/test/regression/interoperability_test/nx_secure_test/test_server.der.c b/test/regression/interoperability_test/nx_secure_test/test_server.der.c index 0cbd741b..41d15a6a 100644 --- a/test/regression/interoperability_test/nx_secure_test/test_server.der.c +++ b/test/regression/interoperability_test/nx_secure_test/test_server.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_server_der[] = { 0x30, 0x82, 0x05, 0xe5, 0x30, 0x82, 0x03, 0xcd, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x01, 0x07, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x0b, 0x05, 0x00, 0x30, diff --git a/test/regression/interoperability_test/nx_secure_test/test_server.key.der.c b/test/regression/interoperability_test/nx_secure_test/test_server.key.der.c index b8cb7f6d..93c06a51 100644 --- a/test/regression/interoperability_test/nx_secure_test/test_server.key.der.c +++ b/test/regression/interoperability_test/nx_secure_test/test_server.key.der.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + unsigned char test_server_key_der[] = { 0x30, 0x82, 0x04, 0xa4, 0x02, 0x01, 0x00, 0x02, 0x82, 0x01, 0x01, 0x00, 0xd0, 0x6a, 0x52, 0x6e, 0xe6, 0x36, 0x44, 0x08, 0x62, 0x8c, 0xbb, 0xfe, 0xa2, 0xcf, 0xa6, 0xd2, 0x80, 0xd7, 0x56, 0x88, diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_0_1_1_ecc_server_test.c b/test/regression/interoperability_test/nx_secure_test/tls_1_0_1_1_ecc_server_test.c index 46a8492d..6561c112 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_0_1_1_ecc_server_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_0_1_1_ecc_server_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_ecc_server_ciphersuites_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_client_entry.c index 68dcac3f..e176d035 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_server_entry.c index 23398ada..fb18391b 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_0_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_client_entry.c index dcde0d85..f91108a1 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_server_entry.c index d065038c..d82fea48 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_1_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_client_entry.c index 7032d741..59128cc8 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_server_entry.c index d04408ec..1d940a45 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_2_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_nx_secure_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_nx_secure_echo_server_entry.c index 77538300..322e2f84 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_nx_secure_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_nx_secure_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ciphersuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. The client certificate is require. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_openssl_echo_client_entry.c index 13c42744..2f009756 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_alert_test_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_client_entry.c index 4ae6009e..4137dddc 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_server_entry.c index 68537b94..6b18787c 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_nx_secure_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ciphersuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. The client certificate is require. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_client_entry.c index c6ef2a9c..bab1d7c7 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_server_entry.c index cf1f1de9..645c382c 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_certificate_verify_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_nx_secure_echo_client_entry.c index 52645ea7..b100b6d5 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_openssl_echo_server_entry.c index 16547498..ab32df70 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_client_session_reuse_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_nx_secure_echo_client_entry.c index 4709f7d5..f851f27a 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_openssl_echo_server_entry.c index 71a1817e..03096c81 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_cookie_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_request_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_request_test_openssl_echo_server_entry.c index 1c432203..9a176f49 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_request_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_hello_retry_request_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_nx_secure_echo_client_entry.c index 7632ef90..8440a41f 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_openssl_echo_server_entry.c index 8ad80b2d..e0895157 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_hello_retry_test_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_hello_retry_test_openssl_echo_client_entry.c index 56213b35..183de60b 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_hello_retry_test_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_hello_retry_test_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_client_entry.c index 693e2098..fb819533 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Define the ThreadX and NetX object control blocks... */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_server_entry.c index 7b5a2f29..21b56b1c 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_nx_secure_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test concentrates on TLS ciphersuite TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA. The client certificate is require. */ #include "tls_test_frame.h" diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_client_entry.c index 0d1429f8..cbf3811b 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_server_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_server_entry.c index feffa502..74715b13 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_server_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_1_3_psk_test_openssl_echo_server_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" extern TLS_TEST_SEMAPHORE* semaphore_echo_server_prepared; diff --git a/test/regression/interoperability_test/nx_secure_test/tls_ecc_negotiation_test.c b/test/regression/interoperability_test/nx_secure_test/tls_ecc_negotiation_test.c index 1d08de65..7a254691 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_ecc_negotiation_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_ecc_negotiation_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_ecc_echo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_cert_test.c b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_cert_test.c index 909d178d..60d70ebb 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_cert_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_cert_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_ecc_server_cert_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_ciphersuites_test.c b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_ciphersuites_test.c index 10ff91c2..8fd4919f 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_ciphersuites_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_ciphersuites_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_ecc_server_ciphersuites_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_curves_test.c b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_curves_test.c index de5a6829..91e12643 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_curves_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_ecc_server_curves_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_ecc_server_curves_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_negotiation_test.c b/test/regression/interoperability_test/nx_secure_test/tls_negotiation_test.c index 900bf619..462769a1 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_negotiation_test.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_negotiation_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" INT nx_secure_echo_server_entry(TLS_TEST_INSTANCE* instance_ptr); diff --git a/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_echo_client_entry.c index 3f8fef08..cfc72a10 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_prime256v1_echo_client_entry.c b/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_prime256v1_echo_client_entry.c index 480df76b..6462bf3d 100644 --- a/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_prime256v1_echo_client_entry.c +++ b/test/regression/interoperability_test/nx_secure_test/tls_openssl_1_1_prime256v1_echo_client_entry.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Global demo emaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c b/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c index 529b7d19..337649dc 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_clean_all.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Destroy both registered instances and director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c b/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c index 4b4451c1..04f352e5 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_cleanup_registered_instances.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Cleanup registered instances. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_create.c b/test/regression/interoperability_test/test_frame/tls_test_director_create.c index 2101aa6a..0db64f65 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_create.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Construct tls test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c index 9440303f..e3de2a8a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_destroy.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Destroy test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c b/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c index cb19e2f9..5169ed9e 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_register_test_instance.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Register tlst test instance to tls test director. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c b/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c index 411da1a1..debfe66f 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c +++ b/test/regression/interoperability_test/test_frame/tls_test_director_test_start.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" static void signal_handler_wait_all( int signum) diff --git a/test/regression/interoperability_test/test_frame/tls_test_frame.h b/test/regression/interoperability_test/test_frame/tls_test_frame.h index c4626e8f..7ce993b0 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_frame.h +++ b/test/regression/interoperability_test/test_frame/tls_test_frame.h @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #ifndef __TLS_TEST_FRAME__ #define __TLS_TEST_FRAME__ diff --git a/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c b/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c index 92ca5cfb..c70d4a4a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c +++ b/test/regression/interoperability_test/test_frame/tls_test_get_external_test_process_output.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Launch an external test process and redirect the output to a given buffer. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_append.c b/test/regression/interoperability_test/test_frame/tls_test_instance_append.c index ca57ed50..a9679ce1 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_append.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_append.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Appended next_instance_ptr to instance_ptr. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c b/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c index 191fc5dd..f11a0b34 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_attributes_access.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Get the name of the instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_create.c b/test/regression/interoperability_test/test_frame/tls_test_instance_create.c index c04b70b3..c6ad9091 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_create.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Construct a tls test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c index 8a72ac47..807d5b8d 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_destroy.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Destroy test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c b/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c index f137f630..aaed9c1a 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_find_next.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Find next instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c b/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c index d897fed0..95109451 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_set_exit_status.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Set the exit status of the test instance. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c b/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c index 3588ee91..36ef72ae 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c +++ b/test/regression/interoperability_test/test_frame/tls_test_instance_shared_buffer_manipulate.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Get offset of the shared buffer. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c index 6fabc9cf..01250489 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_kill_external_test_process.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c index 6b794154..10967a8b 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c index bc9d363a..d59ddd74 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c +++ b/test/regression/interoperability_test/test_frame/tls_test_launch_external_test_process_in_background.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Call external program without output redirecting. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c index dd966068..eee9b35b 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_create.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Create semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c index 3e4542af..0638931d 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_destroy.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Release the shared memory of the semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c index 28dc3367..681dc869 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_post.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Post semaphore. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c b/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c index 45d8bff4..fddc4553 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c +++ b/test/regression/interoperability_test/test_frame/tls_test_semaphore_wait.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Wait the system call return success regardless of signals that do not cause test process to terminate. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c b/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c index 80134812..4b984c31 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c +++ b/test/regression/interoperability_test/test_frame/tls_test_uninterruptable_wait.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Wait for child processed ignoring signals. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c b/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c index e112c6f6..3dd6be52 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_wait_all_child_process.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Wait until all child processes terminated. */ diff --git a/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c b/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c index 6f40a7a7..8aea1646 100644 --- a/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c +++ b/test/regression/interoperability_test/test_frame/tls_test_wait_external_test_process.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tls_test_frame.h" /* Call external program without output redirecting. */ |
