MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClHmac_Functions.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2023 NXP */
3 /* */
4 /* NXP Confidential. This software is owned or controlled by NXP and may */
5 /* only be used strictly in accordance with the applicable license terms. */
6 /* By expressly accepting such terms or by downloading, installing, */
7 /* activating and/or otherwise using the software, you are agreeing that */
8 /* you have read, and that you agree to comply with and are bound by, such */
9 /* license terms. If you do not agree to be bound by the applicable license */
10 /* terms, then you may not retain, install, activate or otherwise use the */
11 /* software. */
12 /*--------------------------------------------------------------------------*/
13 
19 #ifndef MCUXCLHMAC_FUNCTIONS_H_
20 #define MCUXCLHMAC_FUNCTIONS_H_
21 
22 #include <mcuxClCore_Platform.h>
23 #include <mcuxCsslFlowProtection.h>
24 #include <mcuxClSession_Types.h>
25 #include <mcuxClMac_Types.h>
26 #include <mcuxClHash_Types.h>
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
63  mcuxClHash_Algo_t hashAlgorithm
64 );
65  /* mcuxClHmac_Constructors */
69  /* mcuxClHmac_Functions */
73 
74 #ifdef __cplusplus
75 } /* extern "C" */
76 #endif
77 
78 #endif /* MCUXCLHMAC_FUNCTIONS_H_ */
Type definitions for the mcuxClMac component.
mcuxClMac_Status_t mcuxClHmac_createHmacMode(mcuxClMac_CustomMode_t mode, mcuxClHash_Algo_t hashAlgorithm)
This function creates a HMAC mode descriptor for software implementations of HMAC.
const mcuxClHash_AlgorithmDescriptor_t *const mcuxClHash_Algo_t
Hash mode/algorithm type.
Definition: mcuxClHash_Types.h:50
Type definitions for the mcuxClHash component.
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition: mcuxCsslFlowProtection.h:125
Provides the API for the CSSL flow protection mechanism.
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition: mcuxCsslFlowProtection.h:81
uint32_t mcuxClMac_Status_t
Type for Mac component error codes.
Definition: mcuxClMac_Types.h:44
Type definitions for the mcuxClSession component.
mcuxClMac_ModeDescriptor_t *const mcuxClMac_CustomMode_t
MAC custom mode/algorithm type.
Definition: mcuxClMac_Types.h:75