summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-19 22:12:23 +0000
committerphk <phk@FreeBSD.org>2003-10-19 22:12:23 +0000
commit9f420bf43d995bad7e87dd407faafcddbe12d343 (patch)
tree3c7e0fa08ad6850636fc028266ea38e0745c753a /sys/net/bpf.h
parent8e6c50f91871e3bc79d7a6bb3db5d7e9cb2d13f0 (diff)
downloadFreeBSD-src-9f420bf43d995bad7e87dd407faafcddbe12d343.zip
FreeBSD-src-9f420bf43d995bad7e87dd407faafcddbe12d343.tar.gz
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).
Diffstat (limited to 'sys/net/bpf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud