|
Functions |
| static char * | base64_encode (const uint8_t *msg, int msglen, int *olen) |
| | Encode byte string into base64 form.
|
| IKEv2Session * | NewSession (struct ikev2_ctx *i2, uint64_t iSPI, uint64_t rSPI, int Type) |
| | Begin new IKEv2 session.
|
| IKEv2Session * | FindISession (struct ikev2_ctx *i2, uint64_t iSPI) |
| | Search a session with a given initiator SPI.
|
| IKEv2Session * | FindRSession (struct ikev2_ctx *i2, uint64_t rSPI) |
| | Search a session with a given responder SPI.
|
| IKEv2Session * | FindSessionByFastid (struct ikev2_ctx *i2, const char *fastid) |
| | Find session with given fastID which is ready to fast reconnect.
|
| IKEv2Session * | FindSession (struct ikev2_ctx *i2, uint64_t SPI) |
| | Search a session with a given SPI.
|
| void | FreeSession (struct IKEv2Session *s) |
| | Release all resources of IKEv2 session.
|
| void | FreeSessionList (struct IKEv2Session *s) |
| | Free whole session list.
|
| int | FreeSessionIfExpired (struct ikev2_ctx *i2, uint32_t currentTime) |
| | Free any session from list if last activity time was greater than ikev2_ctx.fastExpire.
|
| void | DeleteSession (struct ikev2_ctx *i2, struct IKEv2Session *s) |
| | Delete a session entry.
|
| void | ComputeSessionKeys (struct IKEv2Session *s) |
| | Compute all needed session keys.
|
| void | ComputeNewKeys (struct IKEv2Session *s, int dhex) |
| | Compute all needed session keys in case of rekeying.
|
| ikev2_ctx * | Create_ikev2_ctx () |
| | Create an empty IKEv2 context structure with initialized mutex variable.
|
| void | Free_ikev2_ctx (struct ikev2_ctx *i2) |
| | Free IKEv2 context data.
|
| void | DumpIKEv2SessionKeys (const struct IKEv2Session *s) |