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

159 commits

Author SHA1 Message Date
12e779c8cf Adding tests/cmake/doctestAddTests.cmake 2023-05-31 15:03:19 +02:00
9ad2e3cc00 Adding tests/cmake/doctest.cmake 2023-05-31 15:03:07 +02:00
e15a5ede18 tests/hash: fix bug in MSVC compiler. 2023-05-31 14:42:20 +02:00
7e9bd41a83 src/libsecp256k1/rng.h: fix C467 warning on MSVC compilers. 2023-05-31 10:48:52 +02:00
e0d0bcb0cb include/libantelope/internal/hash.hpp: don't include OpenSSL headers here. instead we declare the state variables as plain arrays. 2023-05-31 10:47:44 +02:00
84645175c1 tests: Adding tests for sha256 and ripemd160 hashing functions. 2023-05-31 10:46:14 +02:00
93f6b1b030 Adding tests/include/testing.h 2023-05-31 10:45:25 +02:00
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
225a1947ae include/libantelope/hash.hpp: split into hash/ripemd160.hpp and hash/sha256.hpp 2023-05-30 13:55:07 +02:00
610c32c171 Hash: Define init/update/final functions for sha256 and ripemd160 2023-05-30 13:48:46 +02:00
891d2e970d Adding include/libantelope/internal/hash.hpp 2023-05-30 13:47:02 +02:00
be8096ed0f CMakeLists.txt: set LIBANTELOPE_HASHIMPL_OPENSSL 2023-05-30 13:46:42 +02:00
682ea069a2 CMakeLists.txt: use src/config.in.h as configuration file. 2023-05-30 13:46:23 +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
62b677d0e0 tests/base58/is_base58.cpp: fix integer size comparison warning. 2023-04-10 17:29:12 +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
c06846f7ed CMakeLists.txt: configure compiler flags for different build types. 2023-04-10 16:47:30 +02:00
a22825db9b README.md: fix some places where "libleap" was used instead of "libantelope" 2023-04-10 16:42:32 +02:00
3e38c587d3 Version 0.2.0 2023-04-06 14:49:48 +02:00
98a1ce7fcc src/libsecp256k1/rng.h: add header guard. 2023-04-06 14:48:17 +02:00
aa6bff9a84 cmake/libantelopeConfig.cmake.in: minor style fix. 2023-04-06 14:45:30 +02:00
923384025a cmake/libantelopeConfig.cmake.in: fix a typo in the documentation. 2023-04-06 14:45:30 +02:00
6824a2f49e Change namespace and header guards from libeosio to libantelope 2023-04-06 14:45:30 +02:00
0cfd459c71 Change project name from libeosio to libantelope 2023-04-06 14:45:30 +02:00
9d11357490 Version 0.1.7 2023-04-04 19:00:45 +02:00
424fe4702d include/libeosio/WIF.hpp: Make wif_priv_encode and wif_pub_encode default to K1 prefix. 2023-04-04 13:30:39 +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
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