#pragma once /*! * \file */ #ifdef __cplusplus extern "C" { #endif #include "groupelement.h" #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 { GroupElement sec; ///< Private key GroupElement pub; ///< Public key }; #ifdef __cplusplus } #endif