Commit graph

185 commits

Author SHA1 Message Date
Peter Conrad
e45a449701 Fixed type of chr37 2019-08-05 21:28:12 +02:00
Peter Conrad
cabab23e2c Replaced more array::begin() with data() 2019-08-02 17:31:07 +02:00
Peter Conrad
a9a6cb94d1 Replaced more begin() with data() 2019-07-29 12:21:15 +02:00
Peter Conrad
ce79181dcf Replaced more instances of array::begin with array::data 2019-07-26 15:03:22 +02:00
Peter Conrad
c8f3e452d3 Use array::data instead of array::begin 2019-07-26 15:02:17 +02:00
Abit
966e9ea64e
Merge pull request #121 from crypto-ape/master_mingw
CMake cleanup & MinGW support
2019-07-25 09:44:37 +02:00
crypto-ape
d5fb99b41f SSE intrinsic rename 2019-06-19 16:06:40 +02:00
Peter Conrad
1bda001b8c Use common inline functions for splitting/combining uint128 to/from two uint64 values 2019-06-11 08:51:59 +02:00
Peter Conrad
79b2a0d634 Add support for native 128bit types 2019-06-08 10:25:52 +02:00
Peter Conrad
632a90709e Replace fc::array with std::array 2019-06-06 14:41:47 +02:00
Peter Conrad
a3e2410091 Replace fc::uint128 with boost::multiprecision::uint128_t 2019-06-06 14:41:09 +02:00
Peter Conrad
869ad45242
Merge pull request #118 from crypto-ape/valgrind-inspired-fixes
valgrind inspired fixes
2019-05-12 11:01:20 +02:00
crypto-ape
a188a95f2c extend openssl cleanup 2019-05-06 14:21:03 +02:00
Peter Conrad
9568948350 Back hashes with boost endian buffers 2019-04-23 16:49:24 +02:00
Peter Conrad
5a9cf32696 Fixed AES IV handling 2019-04-23 16:48:17 +02:00
Peter Conrad
006f048ac5 Fixed cityhash endianness 2019-04-23 16:48:17 +02:00
Peter Conrad
9a0d92820d Fixes for endianness 2019-04-23 16:45:44 +02:00
Peter Conrad
1daac3b4b5 Removed unused endian-dependent code 2019-04-23 16:44:44 +02:00
Peter Conrad
b75f29438b Avoid endian-dependent access to hash value in key checksum test 2019-04-23 16:44:44 +02:00
Peter Conrad
0c69c9b61b Removed architecture-dependent hash64 method 2019-04-23 16:44:44 +02:00
Peter Conrad
a063b8d41b Removed openssl ECC implementation 2019-04-04 17:59:51 +02:00
Peter Conrad
183a81ba94 Remove unused pke 2019-04-04 17:59:51 +02:00
Peter Conrad
637226a2e4 Remove unused blowfish 2019-04-04 17:59:51 +02:00
Peter Conrad
d2b7354c24 Remove unused base36 2019-04-04 17:59:51 +02:00
Peter Conrad
579914c84d Removed unused stuff 2019-04-04 17:59:51 +02:00
Nathan Hourt
2d0122f1ed More tweaks vis-a-vis warnings
Move crc_c fake usage out of strange main() function in a library
Convert manual string formatting to FC string formatting
2019-03-25 09:26:35 -05:00
Nathan Hourt
79886b2e35 Fix warning
Not sure what the story is with this file, but it's making a
warning and this fixes it.
2019-03-24 19:45:30 -05:00
John Jones
c298917b85 Added warning back to avoid additional logic 2018-10-22 19:02:43 -05:00
John Jones
0156023680 Fix Compiler Warnings 2018-10-22 07:38:08 -05:00
John Jones
59f503d643 adjust asserts in fc/crypto 2018-06-01 19:00:48 -05:00
Alfredo Garcia
0a90eff697
Merge pull request #7 from bitshares/openssl-1.1-support
Openssl 1.1 support
2018-05-31 17:32:21 -03:00
Peter Conrad
f0dfc64261 Fixed diffie-hellman shared key computation 2018-05-10 15:24:04 +02:00
Peter Conrad
a3272e4f9e Ripped out unused blinding stuff 2018-04-26 17:35:45 +02:00
Peter Conrad
fccabf1eb6 Fixed blinding test + implementation 2018-04-21 21:42:45 +02:00
Peter Conrad
5706d58cdc Fixed DH memory handling with openssl-1.1 2018-04-21 20:39:40 +02:00
Fabian Schuh
c0db16bf3b Fix erros in unittest 2018-04-13 11:28:51 +02:00
Nathan Hourt
13d98e2cad Add OpenSSL 1.1.0 support
These changes should add support for openssl 1.1.0 while maintaining
compatibility with 1.0.2
2018-04-12 14:58:13 +02:00
Peter Conrad
a91822616e Added max_depth to remaining variant conversions 2018-03-18 10:49:44 +01:00
Peter Conrad
81c8d89341 Added max_depth parameter to variant conversions 2018-03-13 22:00:18 +01:00
Alexey Frolov
1ae7f6bb02 FIXES:
- 'bloom_test_1': infinite loop if file not exists
- 'websocket_test': uncatched exceptions
- 'fc_crypto*' test_stream<>: uninitialized variable (hash)
- 'blowfish_chain_test': using memory after allocated heap
- memcmp: passing nullptr, when non-null expected
- undefined behavior: return value from function
- static_variant: member alignment - performance issue on 64-bit arch
- memory leak: fc::thread cleanup in asio thread
- warning: signed-unsigned comparison
- warning: unused variables
2018-02-05 12:19:06 +03:00
Alexey Frolov
5138c58e09 sanitize, remove warnings 2018-02-02 15:29:46 +03:00
Vikram Rajkumar
cb627980a5 Remove unused CyoEncode and Base32
5c466150ec
2017-06-04 18:13:13 -05:00
Vikram Rajkumar
a30647d32e Revert "Add OpenSSL 1.1.0 support"
This reverts commit fee06a4c75.

Max compatible Boost version is not compatible with OpenSSL 1.1.0
2017-06-04 17:44:25 -05:00
Vikram Rajkumar
680731ef1b Remove equihash 2017-06-01 16:11:35 -05:00
Nathan Hourt
fee06a4c75 Add OpenSSL 1.1.0 support
These changes should add support for openssl 1.1.0 while maintaining
compatibility with 1.0.2
2017-04-25 15:50:56 -05:00
theoreticalbts
fe8710a7aa Implement test_canonical_order and test_intermediate_zeros for equihash 2016-12-13 15:27:44 -05:00
Michael Vandeberg
50dbc2b139 Add equihash 2016-11-16 11:23:33 -05:00
theoreticalbts
636d4530e3 sha256: Add method to return approx log as double 2016-10-04 14:19:59 -04:00
theoreticalbts
585cea9472 sha256: Add inverse log and testing 2016-10-04 14:19:59 -04:00
theoreticalbts
f3e69d81a9 sha256: Implement and test clz(), approx_log_32() 2016-08-11 12:10:14 -04:00