#pragma once /*! * \file */ #ifdef __cplusplus extern "C" { #endif #include /*! * \brief The KeyPair struct contains the private and public key, and the private and public key lengths. * * Is used as a generic storage container for multiple implementations. So the implementations are * responsible for memory meanagement. See the Api struct for examples of this. */ struct KeyPair { unsigned char* sec; ///< Private key unsigned char* pub; ///< Public key unsigned int sec_len; ///< Private key length unsigned int pub_len; ///< Public key length }; #ifdef __cplusplus } #endif