#1 2025-08-04 13:13:15

Márcio Baroni
Member
From: Brasil
Registered: 2015-10-07
Posts: 38

Break in function AESSHA256

Hello AB
After the commit "all: properly document usage of "self := xxx" record pattern" on July 31, 2025, the decryption of the AESSHA256 function was broken.
I investigated and found the problem in the change to the "TAes.DecryptInitFrom" function in the "src/crypt/mormot.crypt.core.pas" unit. The problem was the removal of the "ctx.Flags := [];" section.

I saw that the AESSHA256 function is deprecated. Could you suggest the equivalent in Mormot v2?

Note: The problem was reproduced in Delphi 10.3 and Delphi 11

Last edited by Márcio Baroni (2025-08-04 13:16:23)

Offline

Board footer

Powered by FluxBB