Hi
@lukaszadrapa ,
Thank you for your rapid response. I've followed the instructions for generating the ECC key.
HSE FW reference manual says that we have to format the key catalog prior to any key provisioning. By doing so (format catalog), I got an error saying "operation is not allowed". In my code source LC= CUST_DEL, so I should have super user rights.
If I bypass the catalog formating, I'm also getting the same error on the key import (NOT_ALLOWED).
Do you have any suggestions ? Thank you.
Below the code:
Crypto_Init(NULL_PTR);
RetVal = Crypto_Exts_FormatKeyCatalogs();
Crypto_KeyElementSet(CryptoConf_CryptoKey_ECC_PublicKey, /* CryptoKeyId */
CryptoConf_CryptoKeyElement_CryptoKeyElement_ECC_Public, /* KeyElementId */
SEC_au8Ecc256PubKey, /*Ecc public key address */
ECC_PUB_KEY_SZ /* Ecc public key size */);