fix(esp_tee): Fix AEAD output buffer slicing in the tee_basic example

This commit is contained in:
Laukik Hase
2026-09-03 16:00:03 +05:30
parent ef2b8a164d
commit bf2d765021
3 changed files with 4 additions and 5 deletions
@@ -45,7 +45,7 @@ void app_main(void)
uint8_t aad_buf[AES256_GCM_AAD_LEN];
/* Generate random plaintext and AAD */
esp_fill_random(plain_text, sizeof(EXAMPLE_BUF_SZ));
esp_fill_random(plain_text, sizeof(plain_text));
esp_fill_random(aad_buf, AES256_GCM_AAD_LEN);
/* Encryption operation */