1
0
Fork 0
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:
Henrik Hautakoski 2020-01-30 08:03:05 +01:00
parent dbb6b64950
commit 59b358d256

View file

@ -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 */