Hardware setup:
Board SoC: ESP32C3devkitm board and IC is SE052F2HN2Z019HJ.
Now i use nano plug and trust module's "se05x_mbedtls_alt_test" example.
Flash in board. But i face issue to verify "plugandtrust: Error in mbedtls_pk_verify. ret = -19968".
I change both key as per document of SE052. In my code.
Here is full sample application. Please verify it and suggest me the change that i need to fix.
Also give valid informative document about this so, i can explore more features of it.
And also,
I want to create TCP zephyr server based sample application. for that what informations i can store inside SE052 IC(this ic)? Which is use for cryptographic operation.
Which api and steps i need to follow to send encrypted data to client and client will decrypt the data.(client is other same setup board).
Which type of algorithm should i use for mbedTLS.
@Kan @Kan_Li @tseco
uint8_t scp03_enc_key[16] = {0x3a, 0xe4, 0x41, 0xc7, 0x47, 0xe3, 0x2e, 0xbc, 0x16, 0xb3, 0xbb, 0x2d, 0x84, 0x3c, 0x6d, 0xd8};
uint8_t scp03_mac_key[16] = {0x6c, 0x18, 0xf3, 0xd0, 0x8f, 0xee, 0x1c, 0xb9, 0x6a, 0x3c, 0x8d, 0xe5, 0xd3, 0x53, 0x8a, 0xaa};