From ada528cb84b1c4c943636c1a433fac4c77654464 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=D0=B5x=D0=B0nder=20Lysik=D0=BEv?=
 <alexander.lysikov@demlabs.net>
Date: Wed, 9 Oct 2019 18:14:29 +0500
Subject: [PATCH] added PKEY_TYPE_SIGN_DILITHIUM

---
 dap_chain_common.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dap_chain_common.h b/dap_chain_common.h
index 20c28fa..1fa8f2a 100755
--- a/dap_chain_common.h
+++ b/dap_chain_common.h
@@ -123,6 +123,7 @@ typedef union dap_chain_pkey_type{
         PKEY_TYPE_NULL = 0x0000,
         PKEY_TYPE_SIGN_BLISS = 0x0901,
         PKEY_TYPE_SIGN_TESLA = 0x0902,
+        PKEY_TYPE_SIGN_DILITHIUM =  0x0903,
         PKEY_TYPE_SIGN_PICNIC = 0x0102,
         PKEY_TYPE_MULTI = 0xffff ///  @brief Has inside subset of different keys
 
@@ -149,12 +150,12 @@ typedef union dap_chain_sign_type{
         SIG_TYPE_DEFO = 0x0002, /// @brief key image for anonymous transaction
         SIG_TYPE_TESLA = 0x0003, /// @brief
         SIG_TYPE_PICNIC = 0x0101, /// @brief
+        SIG_TYPE_DILITHIUM = 0x0102, /// @brief
         SIG_TYPE_MULTI = 0xffff ///  @brief Has inside subset of different signatures and sign composed with all of them
     } type: 16;
     uint16_t raw;
 } dap_chain_sign_type_t;
 
-
 typedef struct dap_chain_addr{
     uint8_t addr_ver; // 0 for default
     dap_chain_net_id_t net_id;  // Testnet, mainnet or alternet
-- 
GitLab