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

65 commits

Author SHA1 Message Date
ec7a67ad88 src/openssl/hash.cpp: fix sha256_init() signature. 2023-05-31 10:42:12 +02:00
c035a804b2 src/wif/k1.cpp: implement _checksum_suffix() using init/update/final ripemd160 functions. 2023-05-30 13:59:43 +02:00
610c32c171 Hash: Define init/update/final functions for sha256 and ripemd160 2023-05-30 13:48:46 +02:00
596cf8c774 Adding src/config.in.h 2023-05-30 13:45:35 +02:00
b7a1298615 src/libsecp256k1/ecdsa.cpp: fix unused variable warning in extended_nonce_function() 2023-04-10 17:32:59 +02:00
ee4705e858 src/libsecp256k1/ecdsa.cpp: fix warning about assigning an int value to unsigned char. 2023-04-10 17:31:52 +02:00
000876176a src/base58.cpp: fix integer size comparison warning. 2023-04-10 17:25:25 +02:00
fa7d3cb2e9 src/ec.cpp: fix integer size comparison warning. 2023-04-10 17:25:25 +02:00
b7063f3f3a src/libsecp256k1/ecdsa.cpp: don't include "rng.h" here. 2023-04-10 17:22:04 +02:00
ac3facf30b src/WIF.cpp: fix integer comparison between different sizes warning. 2023-04-10 16:50:38 +02:00
7fc83991bc src/WIF.cpp: Remove unused variables. 2023-04-10 16:50:38 +02:00
98a1ce7fcc src/libsecp256k1/rng.h: add header guard. 2023-04-06 14:48:17 +02:00
6824a2f49e Change namespace and header guards from libeosio to libantelope 2023-04-06 14:45:30 +02:00
2f56e8b43d include/libeosio/WIF.hpp: pass wif_codec_t to wif_print_key() and make it default to K1. 2023-04-04 13:30:07 +02:00
18f35c66b5 include/libeosio/WIF.hpp: add wif_codec_t struct and related functions/constants. 2023-04-04 13:29:12 +02:00
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
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
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
f936e1bbbc src/libsecp256k1/rng.h: Disable C4005 Warnings on windows temporarily. 2023-03-22 19:00:30 +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
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
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
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
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
7ead6f6bde src/openssl/ec.cpp: simplify EC_POINT_point2oct() with a macro. 2023-03-22 13:59:14 +01:00
a3efb5a5f2 src/openssl/ec.cpp: Remove unused variables. 2023-03-21 15:43:39 +01:00
73819444e5 include/libeosio/WIF.hpp: adding signature encode/decode functions. 2023-03-20 13:48:35 +01:00
171876bbfa include/libeosio/ec.hpp: adding ec_generate_privkey() and ec_get_publickey() 2023-03-19 21:51:18 +01:00