MCUX CLNS MCUX Crypto Library Normal Secure |

Modules | Functions
mcuxClEcc_Verify_P384
mcuxClEcc

Definitions for the ECDSA signature verification for curve P-384 of mcuxClEcc. More...

## Modules

| MCUXCLECC_SIZE_P384_
| mcuxClEcc size definitions for curve P-384

## Functions

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. More...

## Detailed Description

Definitions for the ECDSA signature verification for curve P-384 of mcuxClEcc.

## Function Documentation

## ◆ mcuxClEcc_Verify_P384()

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.

Return values

  MCUXCLECC_STATUS_VERIFY_OK | if ECDSA Signature is valid;
  MCUXCLECC_STATUS_VERIFY_NOT_OK | if ECDSA Signature is invalid;
  MCUXCLECC_STATUS_VERIFY_INVALID_PARAMS | if Parameter(s) is invalid;
  MCUXCLECC_STATUS_FAULT_ATTACK | if Fault attack (unexpected behavior) is detected.

Parameters

  [in] | pHash | pointer to hash of message (at least 48 bytes). The first 48 bytes of hash will be used.
  [in] | pSignature | pointer to signature R and S. R is followed by S, and each is 48-byte and in Big-endian.
  [in] | pPublicKey | pointer to public key. The x coordinate is followed by y coordinate, and each coordinate is 48-byte (384-bit) and in Big-endian.
  [out] | pOutputR | pointer to memory area (48-byte) in which signature R calculated by verify function will be exported (in Big-endian) if signature is valid.