27 |
static uint8 g_licence_key[16]; |
static uint8 g_licence_key[16]; |
28 |
static uint8 g_licence_sign_key[16]; |
static uint8 g_licence_sign_key[16]; |
29 |
|
|
30 |
BOOL g_licence_issued = False; |
RD_BOOL g_licence_issued = False; |
31 |
|
|
32 |
/* Generate a session key and RC4 keys, given client and server randoms */ |
/* Generate a session key and RC4 keys, given client and server randoms */ |
33 |
static void |
static void |
201 |
} |
} |
202 |
|
|
203 |
/* Parse an authentication request packet */ |
/* Parse an authentication request packet */ |
204 |
static BOOL |
static RD_BOOL |
205 |
licence_parse_authreq(STREAM s, uint8 ** token, uint8 ** signature) |
licence_parse_authreq(STREAM s, uint8 ** token, uint8 ** signature) |
206 |
{ |
{ |
207 |
uint16 tokenlen; |
uint16 tokenlen; |