3e294acf31
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>
16 lines
317 B
C
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 */
|