7.1.3 Run the sam_gen_keypayload.py Script
The device public key for the SAM9X7 Series MPU is provided as a
PEM encoded public key in sam9x70_public_key.pem. The
sam_gen_keypayload.py script takes the cust_CMAC.yaml file as input
and creates an encrypted and signed output file that will eventually be loaded into the
MPU in a separate
step.
$ sam_gen_keypayload.py -d sam9x70_public_key.pem -c cust_CMAC.yaml -o customer-key.cip
