]> git.tue.mpg.de Git - paraslash.git/commit
Replace direct use of RC4 by stream cipher abstraction.
authorAndre Noll <maan@systemlinux.org>
Mon, 28 Feb 2011 21:54:08 +0000 (22:54 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 27 Mar 2011 14:41:51 +0000 (16:41 +0200)
commit037059c8a25ce134af1eaa6c3fa8ac96b9f7e0b6
tree3a8d039d6705802b2f28d16a80578e495138f3d2
parentd09716570fc81b71d6ad3d5f543b5f8acf1a5e33
Replace direct use of RC4 by stream cipher abstraction.

This introduces the new struct stream_cipher in crypt.h as well as
two functions stream_cipher_new() and stream_cipher_free() which
initialize a new stream cipher structure and deallocate such a
structure, respectively.

The users of RC4 are changed to call the new abstract functions,
so they become independent from openssl. Consequently the affected
files need no include openssl/rc4.h any more.
15 files changed:
afs.c
afs.cmd
aft.c
attribute.c
audiod.c
blob.c
client.c
client.h
client_common.c
command.c
crypt.c
crypt.h
server.c
server.cmd
user_list.c