Topic: SLB9673 TPM with ESP32 azure provisioning

Hi

i have interfaced ESP32 with SLB9673 TPM chipset able to generate EK & SRK and do device enrollment but during provisioning i got the challenge key but unable to decrypt as i am unable to find the related code anywhere .so i need an example code for RTOS to decrypt azure nonce challenge using Wolftpm. https://learn.microsoft.com/en-us/azure … ttestation

Regards
nandish

Share

Re: SLB9673 TPM with ESP32 azure provisioning

nandishre wrote:

Hi

i have interfaced ESP32 with SLB9673 TPM chipset able to generate EK & SRK and do device enrollment but during provisioning i got the challenge key but unable to decrypt as i am unable to find the related code anywhere .so i need an example code for RTOS to decrypt azure nonce challenge using Wolftpm. https://learn.microsoft.com/en-us/azure … ttestation run 3

Regards
nandish

Hi Nandish,
there isn’t a ready-made example in wolfTPM for decrypting the Azure nonce, since the flow depends on how Azure issues the challenge. In practice you’ll want to use the wolfTPM2_Decrypt() (or corresponding RSA decrypt function with the EK/SRK handle) on the challenge data returned by Azure.

Share