summaryrefslogtreecommitdiff
path: root/source4/lib/crypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/crypto/crypto.h')
-rw-r--r--source4/lib/crypto/crypto.h6
1 files changed, 6 insertions, 0 deletions
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);
+