summaryrefslogtreecommitdiff
path: root/source3/arcfour.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-09-19 17:12:08 +0000
committerJeremy Allison <jra@samba.org>1997-09-19 17:12:08 +0000
commita2d2206cc941f39df8713d9cee26099f603af82f (patch)
treed438f8496920c07242d3c839767711c0a1e8d58c /source3/arcfour.h
parent1aa8036b451412c00503a791ae6e0600491b2ca0 (diff)
downloadsamba-a2d2206cc941f39df8713d9cee26099f603af82f.tar.gz
samba-a2d2206cc941f39df8713d9cee26099f603af82f.tar.bz2
samba-a2d2206cc941f39df8713d9cee26099f603af82f.zip
Makefile: Changed proto: target to not include c files not used currently.
Caused proto.h to be from a sorted list of C files. arcfour.h: Added prototypes. client.c: Added username%password in environment patch from John Blair <jdblair@frodo.tucc.uab.edu> loadparm.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au] username.c: Added username manipulation code from Peter McCool [SMTP:peter@qimr.edu.au] mkproto.awk: Added arc4_key type. proto.h: Updated & sorted. Jeremy (jallison@whistle.com) (This used to be commit 97ed4fea67095dfb83227e7b5fffc236ff277e02)
Diffstat (limited to 'source3/arcfour.h')
-rw-r--r--source3/arcfour.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/arcfour.h b/source3/arcfour.h
index 9e724fcda5..34a4e8f91b 100644
--- a/source3/arcfour.h
+++ b/source3/arcfour.h
@@ -32,4 +32,8 @@ typedef struct {
unsigned char index_j;
} arc4_key;
+extern void set_arc4_key(unsigned char *data, int key_length, arc4_key *arckey);
+extern void arc4(arc4_key *arckey, unsigned char *data_in,
+ unsigned char *data_out, int length);
+
#endif /* _ARC4_H_ */