MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEcc_Verify_P384.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------*/
2 /* Copyright 2020 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 
20 #ifndef MCUXCLECC_VERIFY_P384_H_
21 #define MCUXCLECC_VERIFY_P384_H_
22 
23 
24 #include <mcuxClEcc.h>
25 #include <mcuxCsslFlowProtection.h>
26 
37 #define MCUXCLECC_COORDINATE_SIZE_P384 0x30U
38 #define MCUXCLECC_SIGNATURE_SIZE_P384 0x60U
39 
48 MCUX_CSSL_FP_FUNCTION_DECL(mcuxClEcc_Verify_P384)
50  const uint8_t * pHash,
51  const uint8_t * pSignature,
52  const uint8_t * pPublicKey,
53  uint8_t * pOutputR
54  );
55  /* mcuxClEcc_Verify_P384 */
59 
60 
61 
62 #endif /* MCUXCLECC_VERIFY_P384_H_ */
Top level header of mcuxClEcc component.
mcuxClEcc_Status_Protected_t mcuxClEcc_Verify_P384(const uint8_t *pHash, const uint8_t *pSignature, const uint8_t *pPublicKey, uint8_t *pOutputR)
implements ECDSA signature verification, supporting curve P-384.
uint64_t mcuxClEcc_Status_Protected_t
Type for mcuxClEcc component return codes.
Definition: mcuxClEcc_Types.h:41
Provides the API for the CSSL flow protection mechanism.