mcu_hi3321_watch/include/driver/security_unified/mbedtls_harden_adapt.h
2025-05-26 20:15:20 +08:00

46 lines
1.0 KiB
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Copyright (c) @CompanyNameMagicTag 2023-2023. All rights reserved.
* Description: The header file of the functions, which will be registered to mbedtls.
* Author: @CompanyNameTag
* Create: 2023-07-12
*/
#ifndef CRYPTO_MBEDTLS_HARDEN_ADAPT_H
#define CRYPTO_MBEDTLS_HARDEN_ADAPT_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif /* __cplusplus */
#endif /* __cplusplus */
/**
* @defgroup security_unified_mbedtls_harden_adapt mbedtls_harden_adapt
* @ingroup drivers_driver_security_unified
* @{
*/
/**
* @if Eng
* @brief mbedtls harden adapt functions register, called by system mbedtls harden.
* @else
* @brief security_unified 模块对接第三方 mbedtls 接口需要注册的函数,若开启第三方对接宏 MBEDTLS_HARDEN_OPEN
* 该接口由对接适配层调用。
* @endif
*/
int32_t mbedtls_adapt_register_func(void);
/**
* @}
*/
#ifdef __cplusplus
#if __cplusplus
}
#endif /* __cplusplus */
#endif /* __cplusplus */
#endif /* CRYPTO_MBEDTLS_HARDEN_ADAPT_H */