For initial testing purpose we have created development keys & certs on systems filesystem but finally these keys & certs will be kept on remote HSM. For initial testing can we sign the data_csfsig.bin & data_imgsig.bin with the development private key's available on filesystem? If yes, can you please share the command to sign these images?
<NXP> Yes, they can; please sign the binaries with the openssl command.
In case of signing with HSM, do we also need to send the sig_request.txt along data_csfsig.bin & data_imgsig.bin?
<NXP> Yes. The sig_request file contains the identification(unique tag) of which signature belongs to which binary.
After receiving the signature, how we can insert them into CSF binary? Is there any command? At what offiset or address? as mentioned in step-3.1 in the document.
<NXP>This is a manual process, and the offset is as described in the diagram in Step 2.
As mentioned in the step3-Note, if the signature received from HSM is bigger than the pre-calculated size, then in that case the changes required to update the offset(option-1) or update in the code (option-2) will be one time activity, right?
<NXP> The option 2 is better suited for permanent change.