MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/azure_rtos_examples/azure_iot_embedded_sdk/nx_azure_iot_ciphersuites.h
2022-04-08 22:46:35 +08:00

30 lines
1.5 KiB
C

/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* This software is licensed under the Microsoft Software License */
/* Terms for Microsoft Azure RTOS. Full text of the license can be */
/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */
/* and in the root directory of this software. */
/* */
/**************************************************************************/
#ifndef NX_AZURE_IOT_CIPHERSUITES_H
#define NX_AZURE_IOT_CIPHERSUITES_H
#include "nx_secure_tls_api.h"
/* Users can use these ciphersuites as sample, and also can build their own ciphersuite
referring to nx_secure/nx_crypto_generic_ciphersuites.c. */
extern const NX_CRYPTO_METHOD *_nx_azure_iot_tls_supported_crypto[];
extern const UINT _nx_azure_iot_tls_supported_crypto_size;
extern const NX_CRYPTO_CIPHERSUITE *_nx_azure_iot_tls_ciphersuite_map[];
extern const UINT _nx_azure_iot_tls_ciphersuite_map_size;
/* Define the metadata size for _nx_azure_iot_tls_ciphers. */
#ifndef NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE
#define NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE (10 * 1024)
#endif /* NX_AZURE_IOT_TLS_METADATA_BUFFER_SIZE */
#endif /* NX_AZURE_IOT_CIPHERSUITES_H */