363 |
|
|
364 |
/* Transfer the client random to the server */ |
/* Transfer the client random to the server */ |
365 |
static void |
static void |
366 |
sec_establish_key() |
sec_establish_key(void) |
367 |
{ |
{ |
368 |
uint32 length = SEC_MODULUS_SIZE + SEC_PADDING_SIZE; |
uint32 length = SEC_MODULUS_SIZE + SEC_PADDING_SIZE; |
369 |
uint32 flags = SEC_CLIENT_RANDOM; |
uint32 flags = SEC_CLIENT_RANDOM; |
584 |
|
|
585 |
/* Receive secure transport packet */ |
/* Receive secure transport packet */ |
586 |
STREAM |
STREAM |
587 |
sec_recv() |
sec_recv(void) |
588 |
{ |
{ |
589 |
uint32 sec_flags; |
uint32 sec_flags; |
590 |
STREAM s; |
STREAM s; |
636 |
|
|
637 |
/* Disconnect a connection */ |
/* Disconnect a connection */ |
638 |
void |
void |
639 |
sec_disconnect() |
sec_disconnect(void) |
640 |
{ |
{ |
641 |
mcs_disconnect(); |
mcs_disconnect(); |
642 |
} |
} |