crypto-algorithms.c

Basic implementations of standard cryptography algorithms, like AES and SHA-1
git clone git://git.finwo.net/lib/crypto-algorithms.c
Log | Files | Refs | README

commit fb753a91706e3d4ec2e6275be6deb6e91d03d95c
parent b308d9f801c8c54c84edd0c0a18e0303fedd494d
Author: Brad Conte <brad@bradconte.com>
Date:   Sun, 26 Apr 2015 20:18:10 -0700

Added clarifying comment in ARCFOUR.

Diffstat:
Marcfour.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/arcfour.c b/arcfour.c @@ -28,6 +28,8 @@ void arcfour_key_setup(BYTE state[], const BYTE key[], int len) } } +// This does not hold state between calls. It always generates the +// stream starting from the first output byte. void arcfour_generate_stream(BYTE state[], BYTE out[], size_t len) { int i, j;