1.1.4.3.24 IMG_MEM_AuthenticateHeaderStart Function
C
bool IMG_MEM_AuthenticateHeaderStart(uint8_t * digest, FW_IMG_HDR * hdr, uint8_t * x, uint8_t * y);
Description
This function begin a header authentication operation. Note: This function must not be called while the Public Key engine is in use
Parameters
Param | Description |
---|---|
digest | 48-byte buffer for the hash digest (maintain until authentication done) |
ctx | A hash context (this must persist ) |
hdr | Pointer to a firmware image header |
x | The x term of an ECDSA P-384 public key |
y | The y term of an ECDSA P-384 public key |
Returns
status of the authentication start