]> git.tuebingen.mpg.de Git - paraslash.git/commit
stream cipher: Allow in-place encryption.
authorAndre Noll <maan@systemlinux.org>
Mon, 7 Mar 2011 07:07:37 +0000 (08:07 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 6 Jul 2011 06:41:25 +0000 (08:41 +0200)
commite3272a316d113dd9c0c6f01f3087ab14f945e76b
tree1cd5dfab06badd28f0e8d1e66cafa4cbdceffc8e
parent5957ec3c6deb0a5585f979ff470e9a346154ca62
stream cipher: Allow in-place encryption.

unlike openssl's RC4(), the RC4 implemenation of libgcrypt can encrypt
a buffer in-place. For this the "buf" argument of the various send
and receive functions must not be const.
crypt.c
crypt.h
crypt_common.c