]> arthur.barton.de Git - netatalk.git/blobdiff - etc/uams/crypt.h
apply parts of the netbsd build patch by Patrick Welche <prlw1@newn.cam.ac.uk>, mostl...
[netatalk.git] / etc / uams / crypt.h
index 1ded494d1e03abdb07c493f76eacee89ea14d124..7906c23b33f4de650d9b2aab9cbc53ff5b1dcdf2 100644 (file)
@@ -2,7 +2,7 @@
 #define __UAMS_CRYPT_H
 
 /*
- * $Id: crypt.h,v 1.1 2003-06-11 06:29:30 srittau Exp $
+ * $Id: crypt.h,v 1.2 2003-06-11 07:14:12 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
 
 typedef void *CryptHandle;
 
-void hexify(u_int8_t *dst, size_t dstlen, const u_int8_t *src, size_t srclen);
-void unhexify(u_int8_t *dst, size_t dstlen, const u_int8_t *src, size_t srclen);
+void atalk_hexify(u_int8_t *dst, size_t dstlen, const u_int8_t *src, size_t srclen);
+void atalk_unhexify(u_int8_t *dst, size_t dstlen, const u_int8_t *src, size_t srclen);
 
-int encrypt_start(CryptHandle *handle, u_int8_t *key);
-int encrypt_do(CryptHandle handle, u_int8_t *dst, u_int8_t *src);
-void encrypt_end(CryptHandle handle);
+int atalk_encrypt_start(CryptHandle *handle, u_int8_t *key);
+int atalk_encrypt_do(CryptHandle handle, u_int8_t *dst, u_int8_t *src);
+void atalk_encrypt_end(CryptHandle handle);
 
-int encrypt(u_int8_t *key, u_int8_t *dst, u_int8_t *src);
-int decrypt(u_int8_t *key, u_int8_t *dst, u_int8_t *src);
+int atalk_encrypt(u_int8_t *key, u_int8_t *dst, u_int8_t *src);
+int atalk_decrypt(u_int8_t *key, u_int8_t *dst, u_int8_t *src);
 
 #endif /* __UAMS_CRYPT_H */