1.2.5.3.8 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

ParamDescription
digest48-byte buffer for the hash digest (maintain until authentication done)
ctxA hash context (this must persist )
hdrPointer to a firmware image header
xThe x term of an ECDSA P-384 public key
yThe y term of an ECDSA P-384 public key

Returns

status of the authentication start