MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
mcuxClOsccaSm2_SelfTest.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
21#ifndef MCUXCLOSCCA_SM2_SELFTEST_H_
22#define MCUXCLOSCCA_SM2_SELFTEST_H_
23
24#include <mcuxClSession.h>
25#include <mcuxClHash.h>
27#include <mcuxClOsccaSm2.h>
28#include <mcuxClKey.h>
31
32#ifdef __cplusplus
33extern "C"
34{
35#endif
36
37/************************************************************************************/
39/************************************************************************************/
40
42
43#define MCUXCLOSCCASM2_STATUS_SELFTEST_OK ((mcuxClOsccaSm2_SelfTest_Status_t) 0x011B2E4FU)
44#define MCUXCLOSCCASM2_STATUS_SELFTEST_FAIL ((mcuxClOsccaSm2_SelfTest_Status_t) 0x011B53FCU)
45#define MCUXCLOSCCASM2_STATUS_SELFTEST_FAULT_ATTACK ((mcuxClOsccaSm2_SelfTest_Status_t) 0x011BF0F0U)
46
61);
62
77);
78
93);
94
95#ifdef __cplusplus
96} /* extern "C" */
97#endif
98
99#endif // MCUXCLOSCCA_SM2_SELFTEST_H_
Top-level include file for the mcuxClHash component.
Top-level include file for the mcuxClKey component.
Top level header of mcuxClOsccaSm2 component.
mcuxClOsccaSm2_SelfTest_Status_t mcuxClOsccaSm2_KeyExchange_SelfTest(mcuxClSession_Handle_t session)
This function tests the OSCCA SM2 keyexchange APIs.
uint32_t mcuxClOsccaSm2_SelfTest_Status_t
SM2 selftest error codes
Definition mcuxClOsccaSm2_SelfTest.h:41
mcuxClOsccaSm2_SelfTest_Status_t mcuxClOsccaSm2_SignVerify_SelfTest(mcuxClSession_Handle_t session)
This function tests the OSCCA SM2 signature and verification APIs.
mcuxClOsccaSm2_SelfTest_Status_t mcuxClOsccaSm2_EncDec_SelfTest(mcuxClSession_Handle_t session)
This function tests the OSCCA SM2 encryption and decryption APIs.
Constants for use with the mcuxClOsccaSm3 component.
Definition of function identifiers for the flow protection mechanism.
Top-level include file for the mcuxClSession component.
Provides the API for the CSSL flow protection mechanism.
mcuxClSession_Descriptor_t *const mcuxClSession_Handle_t
Type for mcuxClSession Handle.
Definition mcuxClSession_Types.h:113
#define MCUX_CSSL_FP_FUNCTION_DECL(...)
Declaration of a flow protected function.
Definition mcuxCsslFlowProtection.h:125
#define MCUX_CSSL_FP_PROTECTED_TYPE(resultType)
Based on a given base type, builds a return type with flow protection.
Definition mcuxCsslFlowProtection.h:81