Blame cbits/cryptonite_rc4.h
|
Packit |
141393 |
#ifndef CRYPTONITE_RC4_H
|
|
Packit |
141393 |
# define CRYPTONITE_RC4_H
|
|
Packit |
141393 |
|
|
Packit |
141393 |
struct rc4_ctx
|
|
Packit |
141393 |
{
|
|
Packit |
141393 |
uint8_t state[256];
|
|
Packit |
141393 |
uint32_t i;
|
|
Packit |
141393 |
uint32_t j;
|
|
Packit |
141393 |
};
|
|
Packit |
141393 |
|
|
Packit |
141393 |
void cryptonite_rc4_init(uint8_t * key, uint32_t keylen, struct rc4_ctx *ctx);
|
|
Packit |
141393 |
void cryptonite_rc4_combine(struct rc4_ctx *ctx, uint8_t *input, uint32_t len, uint8_t *output);
|
|
Packit |
141393 |
|
|
Packit |
141393 |
#endif
|