Skip to content
Snippets Groups Projects
rc4.h 369 B
Newer Older
  • Learn to ignore specific revisions
  • Niels Möller's avatar
    Niels Möller committed
    /*
     * $Id$
     */
    
    #ifndef RC4_H_INCLUDED
    #define RC4_H_INCLUDED
    
    #include "crypto_types.h"
    
    struct rc4_ctx {
    
    Niels Möller's avatar
    Niels Möller committed
    };
    
    #if 0
    void rc4_init(struct rc4_ctx *ctx);
    #endif
    
    
    void rc4_set_key(struct rc4_ctx *ctx, const UINT8 *key, UINT32 len);
    void rc4_crypt(struct rc4_ctx *ctx, UINT8 *dest, const UINT8 *src, UINT32 len);
    
    Niels Möller's avatar
    Niels Möller committed
    
    #endif /* RC4_H_INCLUDED */