-static AESContext csctx, scctx;
-
-static void aes128_cskey(unsigned char *key) {
- aes_setup(&csctx, 16, key, 16);
- logevent("Initialised AES-128 client->server encryption");
-}
-
-static void aes128_sckey(unsigned char *key) {
- aes_setup(&scctx, 16, key, 16);
- logevent("Initialised AES-128 server->client encryption");
-}
-
-static void aes192_cskey(unsigned char *key) {
- aes_setup(&csctx, 16, key, 24);
- logevent("Initialised AES-192 client->server encryption");