MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClRsa_ModeConstructors.h
1/*--------------------------------------------------------------------------*/
2/* Copyright 2022-2026 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
14#ifndef MCUXCLRSA_MODECONSTRUCTORS_H_
15#define MCUXCLRSA_MODECONSTRUCTORS_H_
16
17#include <mcuxClConfig.h> // Exported features flags header
19
20#include <mcuxClSignature_Types.h>
21
22
23#include <mcuxClKey_Types.h>
24#include <mcuxClHash_Types.h>
25#include <mcuxClBuffer.h>
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/**********************************************************/
32/* Descriptors of mcuxClRsa APIs */
33/**********************************************************/
46
53struct mcuxClRsa_Signature_ProtocolDescriptor;
54typedef struct mcuxClRsa_Signature_ProtocolDescriptor mcuxClRsa_SignatureProtocolDescriptor_t;
55
73 mcuxClSignature_ModeDescriptor_t * pSignatureMode,
74 mcuxClRsa_SignatureProtocolDescriptor_t * pProtocolDescriptor,
75 mcuxClHash_Algo_t hashAlgorithm,
76 uint32_t saltLength,
77 uint32_t options
78);
79
93 mcuxClSignature_ModeDescriptor_t * pSignatureMode,
94 mcuxClRsa_SignatureProtocolDescriptor_t * pProtocolDescriptor,
95 mcuxClHash_Algo_t hashAlgorithm,
96 uint32_t options
97);
98
99
101
102
111
112MCUX_CSSL_ANALYSIS_START_PATTERN_URL_IN_COMMENTS()
186MCUX_CSSL_ANALYSIS_STOP_PATTERN_URL_IN_COMMENTS()
190 const uint8_t * pE,
191 uint32_t eLength
192);
195
196#ifdef __cplusplus
197} /* extern "C" */
198#endif
199
200#endif /* MCUXCLRSA_MODECONSTRUCTORS_H_ */
Top-level include file for the mcuxClBuffer component.
Type definitions for the mcuxClHash component.
Type definitions for the mcuxClKey component.
Provides the API for the CSSL flow protection mechanism.
const mcuxClHash_AlgorithmDescriptor_t *const mcuxClHash_Algo_t
Hash mode/algorithm type.
Definition mcuxClHash_Types.h:50
struct mcuxClKey_GenerationDescriptor mcuxClKey_GenerationDescriptor_t
Key generation descriptor type.
Definition mcuxClKey_Types.h:194
void mcuxClRsa_SignatureModeConstructor_RSASSA_PSS(mcuxClSignature_ModeDescriptor_t *pSignatureMode, mcuxClRsa_SignatureProtocolDescriptor_t *pProtocolDescriptor, mcuxClHash_Algo_t hashAlgorithm, uint32_t saltLength, uint32_t options)
Mode constructor for RSASSA-PSS signature generation and verification.
void mcuxClRsa_SignatureModeConstructor_RSASSA_PKCS1_v1_5(mcuxClSignature_ModeDescriptor_t *pSignatureMode, mcuxClRsa_SignatureProtocolDescriptor_t *pProtocolDescriptor, mcuxClHash_Algo_t hashAlgorithm, uint32_t options)
Mode constructor for RSASSA-PKCS1-v1_5 signature generation and verification.
void mcuxClRsa_KeyGeneration_ModeConstructor(mcuxClKey_GenerationDescriptor_t *pKeyGenMode, const uint8_t *pE, uint32_t eLength)
Mode constructor for RSA key generation algorithm.
struct mcuxClSignature_ModeDescriptor mcuxClSignature_ModeDescriptor_t
Signature mode/algorithm descriptor type.
Definition mcuxClSignature_Types.h:45
#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