Electroneum
Functions
crypto.h File Reference
#include <vector>
#include "serialization.h"
#include "debug_archive.h"
#include "crypto/chacha.h"
#include "crypto/crypto.h"
#include "crypto/hash.h"
Include dependency graph for crypto.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<template< bool > class Archive>
bool do_serialize (Archive< false > &ar, std::vector< crypto::signature > &v)
 
template<template< bool > class Archive>
bool do_serialize (Archive< true > &ar, std::vector< crypto::signature > &v)
 
 BLOB_SERIALIZER (crypto::chacha_iv)
 
 BLOB_SERIALIZER (crypto::hash)
 
 BLOB_SERIALIZER (crypto::hash8)
 
 BLOB_SERIALIZER (crypto::public_key)
 
 BLOB_SERIALIZER (crypto::secret_key)
 
 BLOB_SERIALIZER (crypto::key_derivation)
 
 BLOB_SERIALIZER (crypto::key_image)
 
 BLOB_SERIALIZER (crypto::signature)
 
 VARIANT_TAG (debug_archive, crypto::hash, "hash")
 
 VARIANT_TAG (debug_archive, crypto::hash8, "hash8")
 
 VARIANT_TAG (debug_archive, crypto::public_key, "public_key")
 
 VARIANT_TAG (debug_archive, crypto::secret_key, "secret_key")
 
 VARIANT_TAG (debug_archive, crypto::key_derivation, "key_derivation")
 
 VARIANT_TAG (debug_archive, crypto::key_image, "key_image")
 
 VARIANT_TAG (debug_archive, crypto::signature, "signature")
 

Function Documentation

◆ BLOB_SERIALIZER() [1/8]

BLOB_SERIALIZER ( crypto::chacha_iv  )

◆ BLOB_SERIALIZER() [2/8]

BLOB_SERIALIZER ( crypto::hash  )

◆ BLOB_SERIALIZER() [3/8]

BLOB_SERIALIZER ( crypto::hash8  )

◆ BLOB_SERIALIZER() [4/8]

BLOB_SERIALIZER ( crypto::key_derivation  )

◆ BLOB_SERIALIZER() [5/8]

BLOB_SERIALIZER ( crypto::key_image  )

◆ BLOB_SERIALIZER() [6/8]

BLOB_SERIALIZER ( crypto::public_key  )

◆ BLOB_SERIALIZER() [7/8]

BLOB_SERIALIZER ( crypto::secret_key  )

◆ BLOB_SERIALIZER() [8/8]

BLOB_SERIALIZER ( crypto::signature  )

◆ do_serialize() [1/2]

template<template< bool > class Archive>
bool do_serialize ( Archive< false > &  ar,
std::vector< crypto::signature > &  v 
)

◆ do_serialize() [2/2]

template<template< bool > class Archive>
bool do_serialize ( Archive< true > &  ar,
std::vector< crypto::signature > &  v 
)

◆ VARIANT_TAG() [1/7]

VARIANT_TAG ( debug_archive  ,
crypto::hash  ,
"hash"   
)

◆ VARIANT_TAG() [2/7]

VARIANT_TAG ( debug_archive  ,
crypto::hash8  ,
"hash8"   
)

◆ VARIANT_TAG() [3/7]

VARIANT_TAG ( debug_archive  ,
crypto::key_derivation  ,
"key_derivation"   
)

◆ VARIANT_TAG() [4/7]

VARIANT_TAG ( debug_archive  ,
crypto::key_image  ,
"key_image"   
)

◆ VARIANT_TAG() [5/7]

VARIANT_TAG ( debug_archive  ,
crypto::public_key  ,
"public_key"   
)

◆ VARIANT_TAG() [6/7]

VARIANT_TAG ( debug_archive  ,
crypto::secret_key  ,
"secret_key"   
)

◆ VARIANT_TAG() [7/7]

VARIANT_TAG ( debug_archive  ,
crypto::signature  ,
"signature"   
)