aboutsummaryrefslogtreecommitdiffstats
path: root/crypt-rc4.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-27 23:29:22 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-27 23:29:22 +0000
commitc8726cfd204800283bd9fed92af40fe18489a017 (patch)
tree720ddc4100ebba632114bb6d592fafc1a5ee29ee /crypt-rc4.h
parent1f8aba07a5d3e9b5de2eec996ed7e52a8a2fb839 (diff)
Move the DES, MD4, MD5, and RC4 source files and headers into epan, and
make the source files all include the corresponding header files (so that the declarations in the headers have to match the definitions in the source files in order for compilation to succeed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12116 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'crypt-rc4.h')
-rw-r--r--crypt-rc4.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/crypt-rc4.h b/crypt-rc4.h
deleted file mode 100644
index 37c1903eea..0000000000
--- a/crypt-rc4.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- a partial implementation of RC4 designed for use in the
- SMB authentication protocol
-
- Copyright (C) Andrew Tridgell 1998
-
- $Id$
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-*/
-
-typedef struct _rc4_state_struct {
- unsigned char s_box[256];
- unsigned char index_i;
- unsigned char index_j;
-} rc4_state_struct;
-
-void crypt_rc4_init(rc4_state_struct *rc4_state,
- const unsigned char *key, int key_len);
-
-void crypt_rc4(rc4_state_struct *rc4_state, unsigned char *data, int data_len);
-