From 684c824e9ac51ee2d6b748973757697a8ead2634 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 20 Aug 2005 07:59:00 +0000 Subject: r9421: Move arcfour code into it's own file, in lib/crypto. Andrew Bartlett (This used to be commit ca6cf462708810637544d4b4bef0f404fb89a002) --- source4/lib/crypto/crypto.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/lib/crypto/crypto.h') diff --git a/source4/lib/crypto/crypto.h b/source4/lib/crypto/crypto.h index 8cf4b21aae..19457f60dc 100644 --- a/source4/lib/crypto/crypto.h +++ b/source4/lib/crypto/crypto.h @@ -28,3 +28,9 @@ struct arcfour_state { uint8_t index_i; uint8_t index_j; }; + +void arcfour_init(struct arcfour_state *state, const DATA_BLOB *key); +void arcfour_crypt_sbox(struct arcfour_state *state, uint8_t *data, int len); +void arcfour_crypt_blob(uint8_t *data, int len, const DATA_BLOB *key); +void arcfour_crypt(uint8_t *data, const uint8_t keystr[16], int len); + -- cgit