Definitions for the ECDSA signature verification for curve P-384 of mcuxClEcc.
More...
Definitions for the ECDSA signature verification for curve P-384 of mcuxClEcc.
◆ 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
-
- 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. |