common: d3des: drop unused rfbCPKey()

pull/3/head
Tobias Junghans 6 years ago
parent f0aab31786
commit a70d3b2710

@ -129,14 +129,6 @@ static void cookey(register unsigned long *raw1)
return; 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) void rfbUseKey(register unsigned long *from)
{ {

@ -37,12 +37,6 @@ extern void rfbUseKey(unsigned long *);
* Loads the internal key register with the data in cookedkey. * 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 *); extern void rfbDes(unsigned char *, unsigned char *);
/* from[8] to[8] /* from[8] to[8]
* Encrypts/Decrypts (according to the key currently loaded in the * Encrypts/Decrypts (according to the key currently loaded in the

@ -2426,7 +2426,6 @@ PrintPixelFormat(rfbPixelFormat *format)
#define rfbDes rfbClientDes #define rfbDes rfbClientDes
#define rfbDesKey rfbClientDesKey #define rfbDesKey rfbClientDesKey
#define rfbUseKey rfbClientUseKey #define rfbUseKey rfbClientUseKey
#define rfbCPKey rfbClientCPKey
#include "vncauth.c" #include "vncauth.c"
#include "d3des.c" #include "d3des.c"

Loading…
Cancel
Save