1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 03:34:56 +02:00
Commit graph

124 commits

Author SHA1 Message Date
86d75df2ec include/libeosio/WIF.hpp: declare all WIF_ constant strings as extern and set them in WIF.cpp 2023-04-04 13:26:45 +02:00
33d3440f53 include/libeosio/checksum.hpp: Use plain c-array instead of std::array 2023-03-27 15:20:10 +02:00
abecabba99 include/libeosio/hash.hpp: remove nested struct from ripemd160_t and sha256_t and just use a array directly. 2023-03-26 19:28:01 +02:00
6026114869 Merge branch '3-support-new-key-format' into devel 2023-03-26 15:08:01 +02:00
815ab2569f src/wif/k1.cpp: in _checksum_suffix() change array to std::vector as MSVC does not like variable size c-arrays. 2023-03-25 19:54:05 +01:00
9819b2b94d src/WIF.cpp: use signature encoder/decoder. 2023-03-25 18:23:27 +01:00
be6c98f1bd src/wif/k1.cpp: implement sig_encoder_k1 and sig_decoder_k1 2023-03-25 18:23:27 +01:00
abdd84f257 src/wif/codec.hpp: Adding signature encoders/decoders 2023-03-25 18:23:27 +01:00
171db63de4 include/libeosio/WIF.hpp: Adding WIF_SIG_K1 constant. 2023-03-25 18:23:27 +01:00
1aa6906ba2 WIF: Support PVT_K1 format. 2023-03-25 18:23:27 +01:00
ea411793a2 src/WIF.cpp: use wif/codec.hpp 2023-03-25 16:02:09 +01:00
053f91c74b Adding src/wif/k1.cpp 2023-03-25 15:24:57 +01:00
6793762fbb Adding src/wif/legacy.cpp 2023-03-25 15:24:49 +01:00
3abfc488e8 Adding src/wif/codec.hpp 2023-03-25 15:24:05 +01:00
ebb4219024 WIF: Support PUB_K1 format. 2023-03-23 19:15:25 +01:00
9114c17315 include/libeosio/WIF.hpp: adding prefixes constants. 2023-03-23 19:14:51 +01:00
f8630de098 tests/WIF/pub_decode.cpp: fix test name. 2023-03-23 18:26:55 +01:00
f606f7e263 README.md: Update to reflect the use of libsecp256k1 2023-03-23 17:17:43 +01:00
2b68d7ec32 src/WIF.cpp: move _calculate_sig_checksum() to top of file, so we dont need to add a function declaration. 2023-03-23 14:19:37 +01:00
9ebc1e3aa1 Version 0.1.6 2023-03-22 19:04:47 +01:00
f936e1bbbc src/libsecp256k1/rng.h: Disable C4005 Warnings on windows temporarily. 2023-03-22 19:00:30 +01:00
e94b19031f CMakeLists.txt: when using libsecp256k1 on windows we need to link with bcrypt.lib 2023-03-22 18:53:33 +01:00
ea63d3e4ec CMakeLists.txt: Print ${EC_LIB} 2023-03-22 18:48:52 +01:00
c4304e3d22 CMakeLists.txt: move add_library() to top of "library" section so that we don't need to use variables for everything. 2023-03-22 18:48:25 +01:00
59e8ce473e tests/ec/ecdsa_recover.cpp: MSVC does not like "key: value" in initializer lists. so skip those. 2023-03-22 15:11:55 +01:00
e069c38a15 cmake/OpenSSL.cmake: Need to tell cmake that the imported openssl targets need to link with Crytp32 and ws2_32 libraries. 2023-03-22 15:09:42 +01:00
d9f7c41d8b .github/workflows/CI.yml: compile and test both openssl and libsecp256k1 as elliptic curve implementation. 2023-03-22 14:47:06 +01:00
f65a7ee6cd Merge branch 'libsecp256k1' into devel 2023-03-22 14:43:31 +01:00
91764f43de src/libsecp256k1/ecdsa.cpp: Adding ecdsa_recover() 2023-03-22 14:42:11 +01:00
53e126cb62 Adding src/libsecp256k1/ecdsa.cpp 2023-03-22 14:42:11 +01:00
259ca0f977 vendor/secp256k1/CMakeLists.txt: need to include recovery module for signatures. 2023-03-22 14:42:11 +01:00
760c50a655 src/libsecp256k1/ec.cpp: implement ec_generate_key() using ec_generqate_privkey() and ec_get_publickey() 2023-03-22 14:42:11 +01:00
b10911b21b src/libsecp256k1/ec.cpp: Implement ec_generate_privkey() and ec_get_publickey() 2023-03-22 14:42:11 +01:00
78d90b622e src/libsecp256k1/ec.cpp: ec_generate_key() should return 0 on success. 2023-03-22 14:42:11 +01:00
f920c7edee CMakeLists.txt: Add support for compiling with either openssl or libsecp256k1 as EC library 2023-03-22 14:42:11 +01:00
54fc8614ef Adding src/libsecp256k1/ec.cpp 2023-03-22 14:39:42 +01:00
2ab5e7b444 Adding src/libsecp256k1/rng.h 2023-03-22 14:39:42 +01:00
d737fe4762 Adding vendor/secp256k1/CMakeLists.txt 2023-03-22 14:39:42 +01:00
9587586968 move vendor/secp256k1-0.3.0 to vendor/secp256k1/repo 2023-03-22 14:39:42 +01:00
e8ee3fc0de Adding vendor/secp256k1-0.3.0 2023-03-22 14:39:42 +01:00
8a55500854 Merge branch 'openssl-ecdsa' into devel 2023-03-22 14:39:03 +01:00
d853ed6f62 Adding src/openssl/ecdsa.cpp 2023-03-22 14:38:03 +01:00
f0ebda6da5 src/openssl/internal.h: Adding signature serialize/unserialize function definitions. 2023-03-22 14:37:33 +01:00
4aa94ebee9 src/openssl/helpers.c: Adding signature serialize/unserialize functions. 2023-03-22 14:37:33 +01:00
073955ab50 src/openssl/internal.h: Adding EC_KEY_new_secp256k1 macro 2023-03-22 14:37:33 +01:00
d695d1c9ad src/openssl/internal.h: Adding ECDSA_SIG_recover_key_GFp function definition. 2023-03-22 14:21:17 +01:00
e4150af355 Adding src/openssl/recovery.c 2023-03-22 14:20:44 +01:00
88dacd22f8 src/openssl/ec.cpp: move helper functions/macros to internal.h and helpers.c files. 2023-03-22 14:19:36 +01:00
fdaab853ee CMakeLists.txt: add "C" to project languages. 2023-03-22 14:16:01 +01:00
b1da6552f7 src/openssl/ec.cpp: make calculate_pubkey() output an EC_POINT instead of encoding to binary, also pass group as a parameter. 2023-03-22 14:03:03 +01:00