Re: crypto: crypto_memneq - add equality testing of memory regions w/o timing leaks

2013-10-07 Thread Herbert Xu
On Thu, Sep 26, 2013 at 02:20:39AM -0600, James Yonan wrote: > When comparing MAC hashes, AEAD authentication tags, or other hash > values in the context of authentication or integrity checking, it > is important not to leak timing information to a potential attacker, > i.e. when communication happ

Re: crypto: crypto_memneq - add equality testing of memory regions w/o timing leaks

2013-09-26 Thread James Yonan
Here is the latest iteration of the constant-time memory equality-testing patch: * This patch includes contributions and a signoff from Daniel Borkmann. * Moved the optimization flag -Os (used to prevent early return optimization) into the Makefile after seeing a report that #pragma gcc is co