From a70d3b2710b8fec3d7f15ff12da1becaccfe12e8 Mon Sep 17 00:00:00 2001 From: Tobias Junghans Date: Wed, 7 Nov 2018 11:11:19 +0100 Subject: common: d3des: drop unused rfbCPKey() --- common/d3des.c | 8 -------- common/d3des.h | 6 ------ 2 files changed, 14 deletions(-) (limited to 'common') 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 -- cgit v1.2.3