mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(esp_tee): fix DS-lock leak, intr-matrix OOB, calloc overflow, attestation leak
This commit is contained in:
@@ -530,6 +530,10 @@ int esp_aes_gcm_finish( esp_gcm_context *ctx,
|
||||
uint8_t len_block[AES_BLOCK_BYTES] = {0};
|
||||
uint8_t stream[AES_BLOCK_BYTES] = {0};
|
||||
|
||||
(void)output;
|
||||
(void)output_size;
|
||||
*output_length = 0;
|
||||
|
||||
if ( tag_len > 16 || tag_len < 4 ) {
|
||||
return ( PSA_ERROR_INVALID_ARGUMENT );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user