<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/crypto/keccak.c, branch v0.18.1.2</title>
<subtitle>Monzero core node, command-line wallet, consensus code, and release tooling.
</subtitle>
<id>https://code.monzero.org/monzero-core.git/atom?h=v0.18.1.2</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.18.1.2'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2022-04-18T08:01:13Z</updated>
<entry>
<title>Optimized keccak implementation</title>
<updated>2022-04-18T08:01:13Z</updated>
<author>
<name>SChernykh</name>
<email>sergey.v.chernykh@gmail.com</email>
</author>
<published>2022-04-16T09:48:37Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=268a0393e9e7e02c5f2c41dc0137540cbf61ab76'/>
<id>urn:sha1:268a0393e9e7e02c5f2c41dc0137540cbf61ab76</id>
<content type='text'>
All tests were conducted on the same PC (Ryzen 5 5600X running at fixed 4.65 GHz).

Before:
test_cn_fast_hash&lt;32&gt; (100000 calls) - OK: 1 us/call
test_cn_fast_hash&lt;16384&gt; (1000 calls) - OK: 164 us/call

After:
test_cn_fast_hash&lt;32&gt; (100000 calls) - OK: 0 us/call
test_cn_fast_hash&lt;16384&gt; (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.
</content>
</entry>
<entry>
<title>keccak: remove aligned check</title>
<updated>2020-05-16T12:28:27Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2020-05-16T12:27:22Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7178bb5c848bca3996dba98f82c757c357b58934'/>
<id>urn:sha1:7178bb5c848bca3996dba98f82c757c357b58934</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>keccak: guard against misaligned memory accesses on ARM</title>
<updated>2019-07-04T22:13:16Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-07-02T21:07:49Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c2238327d0c20f2a1e601ec120db51a13cebfc35'/>
<id>urn:sha1:c2238327d0c20f2a1e601ec120db51a13cebfc35</id>
<content type='text'>
The code generated is exactly the same as the direct access
one on x86_64
</content>
</entry>
<entry>
<title>ensure no NULL is passed to memcpy</title>
<updated>2019-06-14T08:47:29Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2019-04-29T08:17:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=0564da5fdc165948ba7c862fb81478f9287a072d'/>
<id>urn:sha1:0564da5fdc165948ba7c862fb81478f9287a072d</id>
<content type='text'>
NULL is valid when size is 0, but memcpy uses nonnull attributes,
so let's not poke the bear
</content>
</entry>
<entry>
<title>move int-util.h to epee</title>
<updated>2018-12-04T15:14:29Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-11-18T10:17:24Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ec1a62b50dedb65f14db30dbafb1035018cf3421'/>
<id>urn:sha1:ec1a62b50dedb65f14db30dbafb1035018cf3421</id>
<content type='text'>
</content>
</entry>
<entry>
<title>crypto: fixed incremental keccak API on big-endian platforms</title>
<updated>2018-10-22T15:34:19Z</updated>
<author>
<name>xiphon</name>
<email>xiphon@protonmail.com</email>
</author>
<published>2018-10-22T06:48:54Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=ed36335c969a1061e555724467263e22d1738cce'/>
<id>urn:sha1:ed36335c969a1061e555724467263e22d1738cce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed Keccak implementation on big-endian platforms</title>
<updated>2018-09-17T16:24:20Z</updated>
<author>
<name>Alexandro Sanchez</name>
<email>alexandro@phi.nz</email>
</author>
<published>2018-09-17T14:32:55Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=9bf0105e251fdedb5bd2cc2f04d99339d640f0af'/>
<id>urn:sha1:9bf0105e251fdedb5bd2cc2f04d99339d640f0af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Incremental Keccak API added</title>
<updated>2018-08-15T16:20:22Z</updated>
<author>
<name>Dusan Klinec</name>
<email>dusan.klinec@gmail.com</email>
</author>
<published>2018-08-14T21:23:00Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=4e081001c007178d9d970219c14ae78afd9a6935'/>
<id>urn:sha1:4e081001c007178d9d970219c14ae78afd9a6935</id>
<content type='text'>
- needed for TREZOR integration
</content>
</entry>
<entry>
<title>Merge pull request #3226</title>
<updated>2018-02-16T13:26:58Z</updated>
<author>
<name>Riccardo Spagni</name>
<email>ric@spagni.net</email>
</author>
<published>2018-02-16T13:26:58Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=f4a6bc79d9a751480597aa007a1c6d315604f856'/>
<id>urn:sha1:f4a6bc79d9a751480597aa007a1c6d315604f856</id>
<content type='text'>
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)
</content>
</entry>
<entry>
<title>keccak: fix mdlen bounds sanity checking</title>
<updated>2018-02-07T13:39:32Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-02-07T13:39:32Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e4646379a6fb5d1dcff71cc38db5e60802a21dcb'/>
<id>urn:sha1:e4646379a6fb5d1dcff71cc38db5e60802a21dcb</id>
<content type='text'>
found by h908714124
</content>
</entry>
</feed>
