Hi Ben,
I'm trying to generate the preshared secret with output in the clear using an internal private key and an external public key to get it but the ecdh function returns ATCA_EXECUTION_ERROR.
Private key is stored in slot 0 with the following configs:
- SlotConfig 0x00 0x87
- KeyConfig 0x00 0x13
Every zone is locked except OTP.
The call is pretty simple and looks like this:
ret = atcab_ecdh(0, public_key, pms);
Anyway, I could use the key for ECDSA signing and worked well.
Do you have any idea what the problem could be?
Best regards,
Laszlo Babaly
Hi Ben,
I'm trying to generate the preshared secret with output in the clear using an internal private key and an external public key to get it but the ecdh function returns ATCA_EXECUTION_ERROR.
Private key is stored in slot 0 with the following configs:
Every zone is locked except OTP.
The call is pretty simple and looks like this:
ret = atcab_ecdh(0, public_key, pms);Anyway, I could use the key for ECDSA signing and worked well.
Do you have any idea what the problem could be?
Best regards,
Laszlo Babaly