ucommon  7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
  Fossies Dox: ucommon-7.0.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

secure.h File Reference
#include <ucommon/platform.h>
#include <ucommon/ucommon.h>
Include dependency graph for secure.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ucommon::AutoClear
 
class  ucommon::autoclear< T >
 
class  ucommon::autoclear< char * >
 
class  ucommon::autoclear< uint8_t * >
 
class  ucommon::secure
 
class  ucommon::Cipher
 
class  ucommon::Cipher::Key
 
class  ucommon::Digest
 
class  ucommon::HMAC
 
class  ucommon::Random
 
class  ucommon::sstream
 

Namespaces

 ucommon
 

Macros

#define MAX_CIPHER_KEYSIZE   512
 
#define MAX_DIGEST_HASHSIZE   512
 

Typedefs

typedef Digest ucommon::digest_t
 
typedef HMAC ucommon::hmac_t
 
typedef Cipher ucommon::cipher_t
 
typedef Cipher::Key ucommon::skey_t
 
typedef secure::string ucommon::keystring_t
 

Functions

void ucommon::zerofill (void *addr, size_t size)
 
template<typename T >
void ucommon::clearmem (T &var)
 

Detailed Description

This library holds basic cryptographic functions and secure socket support for use with GNU uCommon C++. This library might be used in conjunction with openssl, gnutls, etc. If no secure socket library is available, then a stub library may be used with very basic cryptographic support.

Definition in file secure.h.

Macro Definition Documentation

◆ MAX_CIPHER_KEYSIZE

#define MAX_CIPHER_KEYSIZE   512

Definition at line 53 of file secure.h.

◆ MAX_DIGEST_HASHSIZE

#define MAX_DIGEST_HASHSIZE   512

Definition at line 54 of file secure.h.