summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/d3des.c8
-rw-r--r--common/d3des.h6
2 files changed, 0 insertions, 14 deletions
diff --git a/common/d3des.c b/common/d3des.c
index 7cb3bf0..db999a5 100644
--- a/common/d3des.c
+++ b/common/d3des.c
@@ -129,14 +129,6 @@ static void cookey(register unsigned long *raw1)
return;
}
-void rfbCPKey(register unsigned long *into)
-{
- register unsigned long *from, *endp;
-
- from = KnL, endp = &KnL[32];
- while( from < endp ) *into++ = *from++;
- return;
- }
void rfbUseKey(register unsigned long *from)
{
diff --git a/common/d3des.h b/common/d3des.h
index e3761ca..bb7d182 100644
--- a/common/d3des.h
+++ b/common/d3des.h
@@ -37,12 +37,6 @@ extern void rfbUseKey(unsigned long *);
* Loads the internal key register with the data in cookedkey.
*/
-extern void rfbCPKey(unsigned long *);
-/* cookedkey[32]
- * Copies the contents of the internal key register into the storage
- * located at &cookedkey[0].
- */
-
extern void rfbDes(unsigned char *, unsigned char *);
/* from[8] to[8]
* Encrypts/Decrypts (according to the key currently loaded in the