Closed lguzzon closed 4 years ago
The point of the code is to be constant in time, as expected by best cryptographic practices. Your modification make it slightly faster, but not constant in time. The SynCommons.pas function CompareMem() is to be used for fast and non-constant binary comparison.
The point of the code is to be constant in time, as expected by best cryptographic practices. Your modification make it slightly faster, but not constant in time. The SynCommons.pas function CompareMem() is to be used for fast and non-constant binary comparison.
Ok, thanks for your time
Exit when result is false