1 /**************************************************************************/
2 /*                                                                        */
3 /*       Copyright (c) Microsoft Corporation. All rights reserved.        */
4 /*                                                                        */
5 /*       This software is licensed under the Microsoft Software License   */
6 /*       Terms for Microsoft Azure RTOS. Full text of the license can be  */
7 /*       found in the LICENSE file at https://aka.ms/AzureRTOS_EULA       */
8 /*       and in the root directory of this software.                      */
9 /*                                                                        */
10 /**************************************************************************/
11 
12 #ifndef NX_AZURE_IOT_CIPHERSUITES_H
13 #define NX_AZURE_IOT_CIPHERSUITES_H
14 
15 #include "nx_secure_tls_api.h"
16 
17 /* Users can use these ciphersuites as sample, and also can build their own ciphersuite
18    referring to nx_secure/nx_crypto_generic_ciphersuites.c.  */
19 extern const NX_CRYPTO_METHOD *_nx_azure_iot_tls_supported_crypto[];
20 extern const UINT _nx_azure_iot_tls_supported_crypto_size;
21 extern const NX_CRYPTO_CIPHERSUITE *_nx_azure_iot_tls_ciphersuite_map[];
22 extern const UINT _nx_azure_iot_tls_ciphersuite_map_size;
23 
24 /* Define the metadata size for _nx_azure_iot_tls_ciphers.  */
25 #ifndef NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE
26 #define NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE                     (10 * 1024)
27 #endif /* NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE  */
28 
29 #endif /* NX_AZURE_IOT_CIPHERSUITES_H */
30