MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClHashModes_Algorithms.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/* Copyright 2021-2023 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 MCUXCLHASHMODES_ALGORITHMS_H_
19#define MCUXCLHASHMODES_ALGORITHMS_H_
20
21#include <mcuxClConfig.h> // Exported features flags header
22#include <mcuxClCore_Platform.h>
23#include <mcuxCsslAnalysis.h>
24#include <mcuxClHash_Types.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
37MCUX_CSSL_ANALYSIS_START_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED("Declaration provided for externally accessible API")
38MCUX_CSSL_ANALYSIS_START_PATTERN_DESCRIPTIVE_IDENTIFIER()
39
40
41
47
53
54
55
56
57
58
59
60
61#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
62
68extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha224_direct;
69
75static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha224_direct = &mcuxClHash_AlgorithmDescriptor_Sha224_direct;
76#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
77
84
91
92#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
93
99extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha256_direct;
100
106static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha256_direct = &mcuxClHash_AlgorithmDescriptor_Sha256_direct;
107#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
108
115
122
123#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
124
130extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha384_direct;
131
137static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha384_direct = &mcuxClHash_AlgorithmDescriptor_Sha384_direct;
138#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
139
146
153
154#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
155
161extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512_direct;
162
168static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512_direct = &mcuxClHash_AlgorithmDescriptor_Sha512_direct;
169#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
170
177
184#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
185
191extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512_224_direct;
192
198static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512_224_direct = &mcuxClHash_AlgorithmDescriptor_Sha512_224_direct;
199#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
200
207
214#ifdef MCUXCL_FEATURE_ELS_SHA_DIRECT
215
221extern const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512_256_direct;
222
228static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512_256_direct = &mcuxClHash_AlgorithmDescriptor_Sha512_256_direct;
229#endif /* MCUXCL_FEATURE_ELS_SHA_DIRECT */
230
237
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263MCUX_CSSL_ANALYSIS_STOP_PATTERN_DESCRIPTIVE_IDENTIFIER()
264MCUX_CSSL_ANALYSIS_STOP_SUPPRESS_DECLARED_BUT_NEVER_REFERENCED()
265
268#ifdef __cplusplus
269} /* extern "C" */
270#endif
271
272#endif /* MCUXCLHASHMODES_ALGORITHMS_H_ */
Type definitions for the mcuxClHash component.
const mcuxClHash_AlgorithmDescriptor_t *const mcuxClHash_Algo_t
Hash mode/algorithm type.
Definition mcuxClHash_Types.h:50
struct mcuxClHash_AlgorithmDescriptor mcuxClHash_AlgorithmDescriptor_t
Hash mode/algorithm descriptor type.
Definition mcuxClHash_Types.h:42
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha256
Sha-256 algorithm descriptor Sha-256 hash calculation using the Hash functionality of ELS,...
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha384
Sha-384 algorithm descriptor Sha-384 hash calculation using the Hash functionality of ELS,...
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512_224
Sha-512/224 algorithm Sha-512/224 hash calculation using the Hash functionality of ELS,...
Definition mcuxClHashModes_Algorithms.h:213
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_C_Sha1
Sha-1 algorithm descriptor Sha-1 hash calculation using an underlying software implementation of SHA-...
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha224
Sha-224 algorithm Sha-224 hash calculation using the Hash functionality of ELS, it does not support R...
Definition mcuxClHashModes_Algorithms.h:90
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512
Sha-512 algorithm descriptor Sha-512 hash calculation using the Hash functionality of ELS,...
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512_256
Sha-512/256 algorithm descriptor Sha-512/256 hash calculation using the Hash functionality of ELS,...
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha224
Sha-224 algorithm descriptor Sha-224 hash calculation using the Hash functionality of ELS,...
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha256
Sha-256 algorithm Sha-256 hash calculation using the Hash functionality of ELS, it supports RTF.
Definition mcuxClHashModes_Algorithms.h:121
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha1
Sha-1 algorithm Sha-1 hash calculation using an underlying software implementation of SHA-1.
Definition mcuxClHashModes_Algorithms.h:52
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha384
Sha-384 algorithm Sha-384 hash calculation using the Hash functionality of ELS, it supports RTF.
Definition mcuxClHashModes_Algorithms.h:152
const mcuxClHash_AlgorithmDescriptor_t mcuxClHash_AlgorithmDescriptor_Sha512_224
Sha-512/224 algorithm descriptor Sha-512/224 hash calculation using the Hash functionality of ELS,...
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512_256
Sha-512/256 algorithm Sha-512/256 hash calculation using the Hash functionality of ELS,...
Definition mcuxClHashModes_Algorithms.h:243
static mcuxClHash_Algo_t mcuxClHash_Algorithm_Sha512
Sha-512 algorithm Sha-512 hash calculation using the Hash functionality of ELS, it supports RTF.
Definition mcuxClHashModes_Algorithms.h:183