2021-08-06 10:29:08 +02:00
|
|
|
/*
|
2021-08-06 11:11:51 +02:00
|
|
|
* TLS 1.3 server-side functions
|
2021-08-06 10:29:08 +02:00
|
|
|
*
|
|
|
|
* Copyright The Mbed TLS Contributors
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
|
|
* not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
#if defined(MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL)
|
|
|
|
|
|
|
|
#if defined(MBEDTLS_SSL_SRV_C)
|
|
|
|
|
2021-09-14 10:03:56 +02:00
|
|
|
#include "mbedtls/debug.h"
|
|
|
|
|
2021-08-06 10:29:08 +02:00
|
|
|
#include "ssl_misc.h"
|
|
|
|
|
2021-08-27 11:07:38 +02:00
|
|
|
int mbedtls_ssl_tls13_handshake_server_step( mbedtls_ssl_context *ssl )
|
2021-08-06 11:11:51 +02:00
|
|
|
{
|
2021-09-27 05:16:17 +02:00
|
|
|
MBEDTLS_SSL_DEBUG_MSG( 2, ( "tls1_3 server state: %d", ssl->state ) );
|
|
|
|
|
2021-08-06 11:11:51 +02:00
|
|
|
return( MBEDTLS_ERR_SSL_FEATURE_UNAVAILABLE );
|
|
|
|
}
|
2021-08-06 10:29:08 +02:00
|
|
|
|
|
|
|
#endif /* MBEDTLS_SSL_SRV_C */
|
|
|
|
|
|
|
|
#endif /* MBEDTLS_SSL_PROTO_TLS1_3_EXPERIMENTAL */
|