Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain
Commits
cec9b374
Commit
cec9b374
authored
5 years ago
by
dmitriy.gerasimov
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature-2513' into 'master'
added PKEY_TYPE_SIGN_DILITHIUM See merge request
!5
parents
ae29573e
ada528cb
No related branches found
No related tags found
1 merge request
!5
added PKEY_TYPE_SIGN_DILITHIUM
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dap_chain_common.h
+2
-1
2 additions, 1 deletion
dap_chain_common.h
with
2 additions
and
1 deletion
dap_chain_common.h
+
2
−
1
View file @
cec9b374
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment