MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClHash_Constants.h
Go to the documentation of this file.
1
/*--------------------------------------------------------------------------*/
2
/* Copyright 2020-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
17
#ifndef MCUXCLHASH_CONSTANTS_H_
18
#define MCUXCLHASH_CONSTANTS_H_
19
20
#include <mcuxClConfig.h>
// Exported features flags header
21
35
#define MCUXCLHASH_STATUS_OK ((mcuxClHash_Status_t) 0xE1E1E1E1u )
36
#define MCUXCLHASH_COMPARE_EQUAL ((mcuxClHash_Status_t) 0xE1E1E4E4u)
37
#define MCUXCLHASH_FAILURE ((mcuxClHash_Status_t) 0xE1E11E1Eu )
38
#define MCUXCLHASH_STATUS_INVALID_PARAMS ((mcuxClHash_Status_t) 0xE1E12E2Eu )
39
#define MCUXCLHASH_EXPORT_STATE_NOT_MULTIPLE_OF_BLOCK ((mcuxClHash_Status_t) 0xE1E14E4Eu)
40
#define MCUXCLHASH_COMPARE_NOT_EQUAL ((mcuxClHash_Status_t) 0xE1E18E8Eu)
41
#define MCUXCLHASH_STATUS_FAULT_ATTACK ((mcuxClHash_Status_t) 0xE1E10F0Fu )
42
50
#define MCUXCLHASH_OUTPUT_SIZE_MD5 (16U)
51
#define MCUXCLHASH_OUTPUT_SIZE_SHA_1 (20U)
52
#define MCUXCLHASH_OUTPUT_SIZE_SHA_224 (28U)
53
#define MCUXCLHASH_OUTPUT_SIZE_SHA_256 (32U)
54
#define MCUXCLHASH_OUTPUT_SIZE_SHA_384 (48U)
55
#define MCUXCLHASH_OUTPUT_SIZE_SHA_512 (64U)
56
#define MCUXCLHASH_OUTPUT_SIZE_SHA_512_224 (28U)
57
#define MCUXCLHASH_OUTPUT_SIZE_SHA_512_256 (32U)
58
67
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_224 (28uL)
68
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_256 (32uL)
69
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_384 (48uL)
70
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_512 (64uL)
71
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_SHAKE_128 (168uL)
72
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_SHAKE_256 (136uL)
73
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_CSHAKE_128 (168uL)
74
#define MCUXCLHASH_OUTPUT_SIZE_SHA3_CSHAKE_256 (136uL)
75
83
#endif
/* MCUXCLHASH_CONSTANTS_H_ */
mcuxClHash_Constants.h
Generated by
1.8.15