upstream: add serialization for mx25519_pubkey

This commit is contained in:
jeffro256
2025-04-19 21:28:52 -05:00
committed by akildemir
parent 3b671cb0bf
commit f7c2cc6550

View File

@@ -37,6 +37,7 @@
#include "crypto/chacha.h"
#include "crypto/crypto.h"
#include "crypto/hash.h"
#include "mx25519.h"
// read
template <template <bool> class Archive>
@@ -86,6 +87,8 @@ BLOB_SERIALIZER(crypto::key_derivation);
BLOB_SERIALIZER(crypto::key_image);
BLOB_SERIALIZER(crypto::signature);
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::hash8, "hash8");
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::signature, "signature");
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");