X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=arcfour.h;h=38ab40d0c26da1f8cebbff45812eea4045341adf;hb=94cad47618f03baf3d750d75c20860c89ac91dbe;hp=030c014f69860455ea4ee2fac527e06100319543;hpb=7ee23ee6d9bfa071d4a24b7646fc989c90144104;p=avr-crypto-lib.git diff --git a/arcfour.h b/arcfour.h index 030c014..38ab40d 100644 --- a/arcfour.h +++ b/arcfour.h @@ -21,9 +21,18 @@ * Author: Daniel Otte * Date: 2006-06-07 * License: GPL - * Description: Implementation of the ARCFOUR (RC4 compatible) stream cipher algorithm. - * + * Description: Implementation of the ARCFOUR (RC4 compatible) stream cipher algorithm. */ +/* + * \file arcfour.h + * \author Daniel Otte + * \date 2006-06-07 + * \par License + * GPL + * \brief Implementation of the ARCFOUR (RC4 compatible) stream cipher algorithm. + */ + + #ifndef ARCFOUR_H_ #define ARCFOUR_H_ @@ -35,6 +44,7 @@ typedef struct { } arcfour_ctx_t; + void arcfour_init(arcfour_ctx_t *c, uint8_t *key, uint8_t length); uint8_t arcfour_gen(arcfour_ctx_t *c);