mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-06-18 04:00:03 +02:00
src/types.h: cleanup EC_PUBKEY_SIZE abit.
This commit is contained in:
parent
dbb6b64950
commit
59b358d256
1 changed files with 7 additions and 1 deletions
|
|
@ -25,6 +25,12 @@
|
|||
#define TYPES_H
|
||||
|
||||
#define EC_PRIVKEY_SIZE 32
|
||||
#define EC_PUBKEY_SIZE 33 /* Compressed: 32 bytes + 1 prefix */
|
||||
|
||||
/*
|
||||
* Compressed format!
|
||||
* z||x, where byte z specifies which (of the 2) solutions of the quadratic equation y is.
|
||||
* Each cordinate is 32 bytes.
|
||||
*/
|
||||
#define EC_PUBKEY_SIZE (32 + 1)
|
||||
|
||||
#endif /* TYPES_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue