Searched hist:121259 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/crypto/rijndael/
H A DMakefile121259 Sun Oct 19 20:12:23 MDT 2003 phk Add a testcase which validates that the same buffer can be passed to
rijndael_blockDecrypt() as both input and output.

This property is important because inside rijndael we can get away
with allocating just a 16 byte "work" buffer on the stack (which
is very cheap), whereas the calling code would need to allocate the
full sized buffer, and in all likelyhood would have to do so with
an expensive malloc(9).
H A Dtest00.c121259 Sun Oct 19 20:12:23 MDT 2003 phk Add a testcase which validates that the same buffer can be passed to
rijndael_blockDecrypt() as both input and output.

This property is important because inside rijndael we can get away
with allocating just a 16 byte "work" buffer on the stack (which
is very cheap), whereas the calling code would need to allocate the
full sized buffer, and in all likelyhood would have to do so with
an expensive malloc(9).

Completed in 55 milliseconds