Functions
crypto.h File Reference

Crypto module basics. More...

Functions

VTM_API int vtm_module_crypto_init (void)
 
VTM_API void vtm_module_crypto_end (void)
 

Function Documentation

VTM_API int vtm_module_crypto_init ( void  )

Initializes the crypto module.

This function must be called before you can use other functionality that depend on cryptography like TLS Sockets.

Returns
VTM_OK if initialization was successful or is not needed on current platform
VTM_ERROR if an error occured
VTM_API void vtm_module_crypto_end ( void  )

Deinitializes the crypto module.

All allocated resources are released.