zephyr/modules/mbedtls/include/mbedtls_init.h
Eugene Cohen 3e294acf31 mbedtls: add CONFIG_MBEDTLS_INIT
Add a config flag to enable conditional mbebtls
initialization at startup, defaulting to enabled.

Also add a function, mbedtls_init(), that should be
called by platforms that wish to initialise mbedtls
at a time of their choosing.

Signed-off-by: Eugene Cohen <quic_egmc@quicinc.com>
Signed-off-by: Dave Aldridge <quic_daldridg@quicinc.com>
2023-07-06 11:45:08 +02:00

16 lines
317 B
C

/*
* Copyright (c) 2022 Qualcomm Innovation Center, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef MBEDTLS_INIT_H
#define MBEDTLS_INIT_H
/* This should be called by platforms that do not wish to
* have mbedtls initialised during kernel startup
*/
int mbedtls_init(void);
#endif /* MBEDTLS_INIT_H */