#include <vector>
#include "serialization.h"
#include "debug_archive.h"
#include "crypto/chacha.h"
#include "crypto/crypto.h"
#include "crypto/hash.h"
Go to the source code of this file.
|
| 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") |
| |
◆ BLOB_SERIALIZER() [1/8]
| BLOB_SERIALIZER |
( |
crypto::chacha_iv |
| ) |
|
◆ BLOB_SERIALIZER() [2/8]
◆ BLOB_SERIALIZER() [3/8]
◆ BLOB_SERIALIZER() [4/8]
◆ BLOB_SERIALIZER() [5/8]
◆ BLOB_SERIALIZER() [6/8]
◆ BLOB_SERIALIZER() [7/8]
◆ BLOB_SERIALIZER() [8/8]
◆ do_serialize() [1/2]
template<template< bool > class Archive>
Definition at line 44 of file crypto.h.
46 size_t cnt = v.size();
51 ar.stream().setstate(std::ios::failbit);
56 for (
size_t i = 0; i < cnt; i++) {
59 if (!ar.stream().good())
◆ do_serialize() [2/2]
template<template< bool > class Archive>
Definition at line 67 of file crypto.h.
69 if (0 == v.size())
return true;
71 size_t cnt = v.size();
72 for (
size_t i = 0; i < cnt; i++) {
74 if (!ar.stream().good())
◆ VARIANT_TAG() [1/7]
◆ VARIANT_TAG() [2/7]
◆ VARIANT_TAG() [3/7]
◆ VARIANT_TAG() [4/7]
◆ VARIANT_TAG() [5/7]
◆ VARIANT_TAG() [6/7]
◆ VARIANT_TAG() [7/7]