Search found 2 matches

by mfranz
Mon Sep 06, 2021 7:29 am
Forum: ESP-IDF
Topic: esp_aes_gcm_finish(): assert triggered (BUG?)
Replies: 4
Views: 3600

Re: esp_aes_gcm_finish(): assert triggered (BUG?)

Hey Marius,

turning off MBEDTLS_HARDWARE_GCM is good enough for me, because my encrypted messages are really short. Works for me now. Thanks a lot!

m.
by mfranz
Wed Sep 01, 2021 1:04 pm
Forum: ESP-IDF
Topic: esp_aes_gcm_finish(): assert triggered (BUG?)
Replies: 4
Views: 3600

esp_aes_gcm_finish(): assert triggered (BUG?)

Hey, using esp-idf plugin v1.1.1 with code v4.3 I get an assertion while trying to decrypt aes128gcm: assertion "stream_bytes == 0 || stream_out != NULL" failed: file "$HOME/esp/esp-idf/components/mbedtls/port/aes/dma/esp_aes.c", line 308, function: esp_aes_process_dma Here's a a stripped down code ...