MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClPsaDriver_Constants.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2022 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 
18 #ifndef MCUXCLPSADRIVER_CONSTANTS_H_
19 #define MCUXCLPSADRIVER_CONSTANTS_H_
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
32 /* Definition of maximum lengths of key for RSA in bits */
33 #define MCUXCLPSADRIVER_RSA_KEY_SIZE_MAX (4096u)
34 
35 /* Definition of maximum lengths of base point order n in bytes */
36 #define MCUXCLPSADRIVER_ECC_N_SIZE_MAX (256u/8u) //only secp256r1 supported for now
37 
38 /* Definition of maximum lengths of prime modulus in bytes */
39 #define MCUXCLPSADRIVER_ECC_P_SIZE_MAX (256u/8u) //only secp256r1 supported for now
40  /* mcuxClPsaDriver_Constants */
44 
45 #ifdef __cplusplus
46 } /* extern "C" */
47 #endif
48 
49 #endif /* MCUXCLPSADRIVER_CONSTANTS_H_ */
50