s4:torture:smb2:compound: remove two unused macros
[Samba/gebeck_regimport.git] / lib / crypto / arcfour.h
bloba9f80c474d5a03d4211221fac6d067103bee179b
1 #ifndef ARCFOUR_HEADER_H
2 #define ARCFOUR_HEADER_H
4 #include "../lib/util/data_blob.h"
6 struct arcfour_state {
7 uint8_t sbox[256];
8 uint8_t index_i;
9 uint8_t index_j;
12 void arcfour_init(struct arcfour_state *state, const DATA_BLOB *key);
13 void arcfour_crypt_sbox(struct arcfour_state *state, uint8_t *data, int len);
14 void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key);
15 void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len);
17 #endif /* ARCFOUR_HEADER_H */