X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilcske%2Fsilcske.h;h=e468cd0eab45ded473d232c70ab55b2ce4f2f513;hb=22f8d37a64e22f8fbeb58d4f5a61321ef067d7a4;hp=50ae1d9edb440931c396393d3d5ba01c1e71cdaa;hpb=0026e15ac3e8f57f1816f72197e2b90e4cb9dd01;p=silc.git diff --git a/lib/silcske/silcske.h b/lib/silcske/silcske.h index 50ae1d9e..e468cd0e 100644 --- a/lib/silcske/silcske.h +++ b/lib/silcske/silcske.h @@ -359,7 +359,7 @@ typedef void (*SilcSKECompletionCb)(SilcSKE ske, * params.flags = SILC_SKE_SP_FLAG_PFS | SILC_SKE_SP_FLAG_MUTUAL; * ske = silc_ske_alloc(rng, scheduler, NULL, pk, prv, app); * silc_ske_set_callbacks(ske, verify_public_key, completion, app); - * silc_ske_initiator_start(ske, stream, ¶ms, NULL); + * silc_ske_initiator(ske, stream, ¶ms, NULL); * ***/ SilcSKE silc_ske_alloc(SilcRng rng, SilcSchedule schedule, @@ -505,7 +505,10 @@ SilcAsyncOperation silc_ske_responder(SilcSKE ske, * Starts SILC Key Exchange key regeneration (rekey) protocol. The `rekey' * is the rekey material received earlier in SilcSKECompletionCb. That * same callback is called after the rekey protocol is over to deliver new - * key material and new rekey material. + * key material and new rekey material. When the rekey is completed the + * SKE library will automatically update the new keys into `stream'. The + * completion callback is called after the new keys has been taken into + * use. * * This function returns SilcAsyncOperation operation context which can * be used to control the protocol from the application. Application may @@ -532,6 +535,9 @@ SilcAsyncOperation silc_ske_rekey_initiator(SilcSKE ske, * The `rekey' is the rekey material received earlier in * SilcSKECompletionCb. That same callback is called after the rekey * protocol is over to deliver new key material and new rekey material. + * When the rekey is completed the SKE library will automatically update + * the new keys into `stream'. The completion callback is called after + * the new keys has been taken into use. * * This function returns SilcAsyncOperation operation context which can * be used to control the protocol from the application. Application may