upstream: add serialization for mx25519_pubkey
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
#include "crypto/chacha.h"
|
#include "crypto/chacha.h"
|
||||||
#include "crypto/crypto.h"
|
#include "crypto/crypto.h"
|
||||||
#include "crypto/hash.h"
|
#include "crypto/hash.h"
|
||||||
|
#include "mx25519.h"
|
||||||
|
|
||||||
// read
|
// read
|
||||||
template <template <bool> class Archive>
|
template <template <bool> class Archive>
|
||||||
@@ -86,6 +87,8 @@ BLOB_SERIALIZER(crypto::key_derivation);
|
|||||||
BLOB_SERIALIZER(crypto::key_image);
|
BLOB_SERIALIZER(crypto::key_image);
|
||||||
BLOB_SERIALIZER(crypto::signature);
|
BLOB_SERIALIZER(crypto::signature);
|
||||||
BLOB_SERIALIZER(crypto::view_tag);
|
BLOB_SERIALIZER(crypto::view_tag);
|
||||||
|
BLOB_SERIALIZER(crypto::ec_point);
|
||||||
|
BLOB_SERIALIZER(mx25519_pubkey);
|
||||||
VARIANT_TAG(debug_archive, crypto::hash, "hash");
|
VARIANT_TAG(debug_archive, crypto::hash, "hash");
|
||||||
VARIANT_TAG(debug_archive, crypto::hash8, "hash8");
|
VARIANT_TAG(debug_archive, crypto::hash8, "hash8");
|
||||||
VARIANT_TAG(debug_archive, crypto::public_key, "public_key");
|
VARIANT_TAG(debug_archive, crypto::public_key, "public_key");
|
||||||
@@ -94,4 +97,6 @@ VARIANT_TAG(debug_archive, crypto::key_derivation, "key_derivation");
|
|||||||
VARIANT_TAG(debug_archive, crypto::key_image, "key_image");
|
VARIANT_TAG(debug_archive, crypto::key_image, "key_image");
|
||||||
VARIANT_TAG(debug_archive, crypto::signature, "signature");
|
VARIANT_TAG(debug_archive, crypto::signature, "signature");
|
||||||
VARIANT_TAG(debug_archive, crypto::view_tag, "view_tag");
|
VARIANT_TAG(debug_archive, crypto::view_tag, "view_tag");
|
||||||
|
VARIANT_TAG(debug_archive, crypto::ec_point, "ec_point");
|
||||||
|
VARIANT_TAG(debug_archive, mx25519_pubkey, "mx25519_pubkey");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user