2023-07-05 05:37 PM
I'm trying to compute the ECDH shared secret by multiplying local private key and other party public key using HAL_PKA_ECCMul. For some reason it is not working. I'm using curve secp256r1. But I'm able to use HAL_PKA_ECCMul to generate public key by multiplying a private key with the secp256r1 generator x and y.
Solved! Go to Solution.
2023-07-11 01:04 PM
I found out that I was initializing the crypto accelerator twice. That's why the issue was happening. Closing this ticket.
2023-07-05 07:12 PM
2023-07-07 05:17 PM
@Tesla DeLorean I checked the thread you mentioned, but no one replied with solution in that.
2023-07-08 04:54 AM
Yes, not sure who has responsibility for supporting this code / library here, so flagging to staff, and linking to a thread of similar issue that this might have been better posting against.
Not sure I'm seeing any code attachment that quickly demonstrates / confirms the issue in either thread, which might go a way to explaining the lack of responses.
2023-07-11 01:04 PM
I found out that I was initializing the crypto accelerator twice. That's why the issue was happening. Closing this ticket.