MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClResource_Functions.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022-2025 NXP */
3/* */
4/* NXP Confidential and Proprietary. This software is owned or controlled */
5/* by NXP and may only be used strictly in accordance with the applicable */
6/* license terms. By expressly accepting such terms or by downloading, */
7/* installing, activating and/or otherwise using the software, you are */
8/* agreeing that you have read, and that you agree to comply with and are */
9/* bound by, such license terms. If you do not agree to be bound by the */
10/* applicable license terms, then you may not retain, install, activate or */
11/* otherwise use the software. */
12/*--------------------------------------------------------------------------*/
13
18
19
20#ifndef MCUXCLRESOURCE_FUNCTIONS_H_
21#define MCUXCLRESOURCE_FUNCTIONS_H_
22
23#include <mcuxClCore_Platform.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32
39
56 mcuxClResource_Context_t * pResourceCtx,
59);
60
85 const mcuxClResource_Context_t *pResourceCtx,
86 mcuxClResource_Interrupt_t interrupt
87);
88 /* mcuxClResource_Functions */
92
93#ifdef __cplusplus
94} /* extern "C" */
95#endif
96
97#endif /* MCUXCLRESOURCE_FUNCTIONS_H_ */
Definition of function identifiers for the flow protection mechanism.
Type definitions for the mcuxClResource component.
Provides the API for the CSSL flow protection mechanism.
mcuxClResource_Status_t mcuxClResource_init(mcuxClResource_Context_t *pResourceCtx, mcuxClResource_MutexAcquire_Callback_t pMutexAcquire, mcuxClResource_MutexRelease_Callback_t pMutexRelease)
Resource context initialization function.
mcuxClResource_Status_t mcuxClResource_handle_interrupt(const mcuxClResource_Context_t *pResourceCtx, mcuxClResource_Interrupt_t interrupt)
Resource interrupt handler.
struct mcuxClResource_Context mcuxClResource_Context_t
Resource context type.
Definition mcuxClResource_Types.h:47
uint32_t(* mcuxClResource_MutexRelease_Callback_t)(uint32_t value)
Callback type for releasing a mutex.
Definition mcuxClResource_Types.h:57
uint32_t(* mcuxClResource_MutexAcquire_Callback_t)(uint32_t value)
Callback type for acquiring a mutex.
Definition mcuxClResource_Types.h:52
uint32_t mcuxClResource_Status_t
Type for mcuxClResource status codes.
Definition mcuxClResource_Types.h:42
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:166
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:138