MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClOsccaMacModes_Constants.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022 NXP */
3/* */
4/* NXP Proprietary. 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 */
10/* license terms, then you may not retain, install, activate or otherwise */
11/* use the software. */
12/*--------------------------------------------------------------------------*/
13
18#ifndef MCUXCLOSCCAMACMODES_CONSTANTS_H_
19#define MCUXCLOSCCAMACMODES_CONSTANTS_H_
20
21#include <mcuxClConfig.h> // Exported features flags header
22
23
24/**********************************************
25 * CONSTANTS
26 **********************************************/
27/* Output sizes */
28#ifdef MCUXCL_FEATURE_MACMODES_CMAC_SM4
29#define MCUXCLOSCCASM4_CMAC_OUTPUT_SIZE 16u
30#endif /* MCUXCL_FEATURE_MACMODES_CMAC_SM4 */
31
32#ifdef MCUXCL_FEATURE_MACMODES_CBCMAC_SM4
33#define MCUXCLOSCCASM4_CBCMAC_OUTPUT_SIZE 16u
34#endif /* MCUXCL_FEATURE_MACMODES_CBCMAC_SM4 */
35
36
37#endif /* MCUXCLOSCCAMACMODES_CONSTANTS_H_ */