X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcske%2Fsilcske.h;h=477aa4718a3e993775e7348404028302c5e87dbe;hb=0904187fe69ecae54fe44786776ca2c5b6c7b669;hp=e468cd0eab45ded473d232c70ab55b2ce4f2f513;hpb=516f5551371ace2646140a435bb6b9d9a6f854d0;p=silc.git diff --git a/lib/silcske/silcske.h b/lib/silcske/silcske.h index e468cd0e..477aa471 100644 --- a/lib/silcske/silcske.h +++ b/lib/silcske/silcske.h @@ -527,7 +527,8 @@ SilcAsyncOperation silc_ske_rekey_initiator(SilcSKE ske, * SilcAsyncOperation * silc_ske_rekey_responder(SilcSKE ske, * SilcPacketStream stream, - * SilcSKERekeyMaterial rekey); + * SilcSKERekeyMaterial rekey, + * SilcPacket packet); * * DESCRIPTION * @@ -539,6 +540,10 @@ SilcAsyncOperation silc_ske_rekey_initiator(SilcSKE ske, * the new keys into `stream'. The completion callback is called after * the new keys has been taken into use. * + * The `packet' is the SILC_PACKET_REKEY received to start the rekey + * protocol. If `packet' is NULL it is assumed that the packet will be + * received from the `stream'. + * * This function returns SilcAsyncOperation operation context which can * be used to control the protocol from the application. Application may * for example safely abort the protocol at any point, if needed. Returns @@ -547,7 +552,8 @@ SilcAsyncOperation silc_ske_rekey_initiator(SilcSKE ske, ***/ SilcAsyncOperation silc_ske_rekey_responder(SilcSKE ske, SilcPacketStream stream, - SilcSKERekeyMaterial rekey); + SilcSKERekeyMaterial rekey, + SilcPacket packet); /****f* silcske/SilcSKEAPI/silc_ske_set_keys *