aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/keccak.c
Commit message (Collapse)AuthorAgeFilesLines
* Optimized keccak implementationSChernykh2022-04-181-32/+61
| | | | | | | | | | | | | | | | All tests were conducted on the same PC (Ryzen 5 5600X running at fixed 4.65 GHz). Before: test_cn_fast_hash<32> (100000 calls) - OK: 1 us/call test_cn_fast_hash<16384> (1000 calls) - OK: 164 us/call After: test_cn_fast_hash<32> (100000 calls) - OK: 0 us/call test_cn_fast_hash<16384> (1000 calls) - OK: 31 us/call More than 5 times speedup for cn_fast_hash. Also noticed consistent 1-2% improvement in test_construct_tx results.
* keccak: remove aligned checkmoneromooo-monero2020-05-161-10/+2
| | | | | | Some tools report the alignment check as UB, which seems a bit dubious, but since the performance difference between the two versions is minimal, I'll go with the safe version
* keccak: guard against misaligned memory accesses on ARMmoneromooo-monero2019-07-041-3/+6
| | | | | The code generated is exactly the same as the direct access one on x86_64
* ensure no NULL is passed to memcpymoneromooo-monero2019-06-141-1/+2
| | | | | NULL is valid when size is 0, but memcpy uses nonnull attributes, so let's not poke the bear
* move int-util.h to epeemoneromooo-monero2018-12-041-1/+1
|
* crypto: fixed incremental keccak API on big-endian platformsxiphon2018-10-221-2/+3
|
* Fixed Keccak implementation on big-endian platformsAlexandro Sanchez2018-09-171-3/+8
|
* Incremental Keccak API addedDusan Klinec2018-08-151-0/+74
| | | | - needed for TREZOR integration
* Merge pull request #3226Riccardo Spagni2018-02-161-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
| * keccak: fix mdlen bounds sanity checkingmoneromooo-monero2018-02-071-1/+2
| | | | | | | | found by h908714124
| * keccak: fix sanity check bounds testmoneromooo-monero2018-02-021-1/+1
| | | | | | | | Nothing calls this with those inputs
* | call _exit instead of abort in release modemoneromooo-monero2018-02-011-4/+13
|/ | | | | Avoids cores being created, as they're nowadays often piped to some call home system
* kaccak: remove unused return valuemoneromooo-monero2017-11-111-3/+1
|
* keccak: some paranoid "can't happen" checksmoneromooo-monero2017-11-071-0/+14
|
* ringct: import of Shen Noether's ring confidential transactionsmoneromooo-monero2016-08-281-3/+3
|
* moved all stuff to githubAntonio Juarez2014-03-031-0/+112