Implement AES encryption of the data block.
authorHolger Hetterich <hhetter@novell.com>
Fri, 29 Jan 2010 20:34:27 +0000 (21:34 +0100)
committerJim McDonough <jmcd@samba.org>
Tue, 16 Mar 2010 13:52:10 +0000 (09:52 -0400)
commit6437df7d2ceedeb26be82e050b300ad55839a721
tree1fcc9cfdc8ebf77b16896d1d06d5250e3766678d
parent3f5f2d82bd2447ea6a3f7dc626ff9a11f7101055
Implement AES encryption of the data block.

First try. This runs on 16 bytes long AES block size, and enlarges the
data block with 16 bytes, to make sure all bytes are in. The added
bytes are filled with '.'. It then creates a header featuring the new
length to be send, and finally sends the data block, then returns.

This code is untested, as creating the receiver will be my next step.

To simplify traffic_analyzer's code, this code should run as a function.
It's on the do-to-list.
source3/modules/vfs_smb_traffic_analyzer.c