#define SILC_PROTOCOL_SERVER_CONNECTION_AUTH 1
#define SILC_PROTOCOL_SERVER_KEY_EXCHANGE 2
#define SILC_PROTOCOL_SERVER_REKEY 3
+#define SILC_PROTOCOL_SERVER_BACKUP 4
/* #define SILC_PROTOCOL_SERVER_MAX 255 */
/* Internal context for Key Exchange protocol. */
void *dest_id;
SilcIdType dest_id_type;
+ /* Pointer to the configurations. */
+ void *cconfig;
+ void *sconfig;
+ void *rconfig;
+
SilcTask timeout_task;
SilcPacketContext *packet;
SilcSKE ske;
void *dest_id;
SilcIdType dest_id_type;
+ /* Pointer to the configurations. */
+ void *cconfig;
+ void *sconfig;
+ void *rconfig;
+
SilcTask timeout_task;
SilcPacketContext *packet;
uint16 conn_type;
bool responder; /* TRUE if we are receiving party */
bool pfs; /* TRUE if PFS is to be used */
SilcSKE ske; /* Defined if PFS is used */
- SilcSKEKeyMaterial *keymat; /* Defined if PFS is used */
SilcPacketContext *packet;
} SilcServerRekeyInternalContext;
SilcHmac hmac,
SilcSKEDiffieHellmanGroup group,
bool is_responder);
-void silc_server_protocol_rekey_generate(SilcServer server,
- SilcServerRekeyInternalContext *ctx);
-void
-silc_server_protocol_rekey_generate_pfs(SilcServer server,
- SilcServerRekeyInternalContext *ctx);
#endif