diff options
author | Holger Hetterich <hhetter@novell.com> | 2010-01-29 21:34:27 +0100 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2010-03-16 09:52:10 -0400 |
commit | 6437df7d2ceedeb26be82e050b300ad55839a721 (patch) | |
tree | 1fcc9cfdc8ebf77b16896d1d06d5250e3766678d /lib/util | |
parent | 3f5f2d82bd2447ea6a3f7dc626ff9a11f7101055 (diff) | |
download | samba-6437df7d2ceedeb26be82e050b300ad55839a721.tar.gz samba-6437df7d2ceedeb26be82e050b300ad55839a721.tar.bz2 samba-6437df7d2ceedeb26be82e050b300ad55839a721.zip |
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.
Diffstat (limited to 'lib/util')
0 files changed, 0 insertions, 0 deletions