aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/slow-hash.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright: Update to 2022mj-xmr2022-03-041-1/+1
|
* Merge pull request #8031luigi11112021-11-091-16/+54
|\ | | | | | | 187633c slow_hash: don't blow out Mac stack on ARM64 (Howard Chu)
| * slow_hash: don't blow out Mac stack on ARM64Howard Chu2021-10-301-16/+54
| |
* | crypto: fix typo in ifdefselsta2021-10-291-1/+1
|/
* ARMv8: detect AES support dynamicallyHoward Chu2021-10-101-35/+105
|
* Update copyright year to 2020SomaticFanatic2020-05-061-1/+1
| | | | Update copyright year to 2020
* RandomX integrationHoward Chu2019-09-251-7/+19
| | | | Support RandomX PoW algorithm
* slow-hash: fix CNv2+ on big endianmoneromooo-monero2019-09-041-3/+3
|
* Merge pull request #5624luigi11112019-07-241-1/+0
|\ | | | | | | 6b41bd8 Delete more include string.h (wepeng)
| * Delete more include string.hYour Name2019-06-111-1/+0
| |
* | remove unused codemoneromooo-monero2019-04-291-1/+0
|/
* Merge pull request #5252Riccardo Spagni2019-03-211-27/+31
|\ | | | | | | 7ac33342 slow-hash: cache TLS references locally once at function start (moneromooo-monero)
| * slow-hash: cache TLS references locally once at function startmoneromooo-monero2019-03-071-27/+31
| |
* | Merge pull request #5251Riccardo Spagni2019-03-211-9/+11
|\ \ | | | | | | | | | | | | | | | 7632dede crypto: fix PaX issue on NetBSD with CNv4 JIT (moneromooo-monero) 89b1630e gtest: build fix for NetBSD (moneromooo-monero) fa43b547 tests: handle any cmake detected python interpreter (moneromooo-monero)
| * | crypto: fix PaX issue on NetBSD with CNv4 JITmoneromooo-monero2019-03-071-9/+11
| |/
* | slow-hash: default to JIT on x86_64moneromooo-monero2019-03-211-1/+1
| |
* | Update 2019 copyrightbinaryFate2019-03-051-1/+1
|/
* slow-hash: fix build on armmoneromooo-monero2019-03-051-25/+29
|
* tests: add a CNv4 JIT testmoneromooo-monero2019-03-041-7/+8
|
* crypto: plug CNv4 JIT into cn_slow_hashmoneromooo-monero2019-03-041-1/+93
| | | | Enabled by setting the MONERO_USE_CNV4_JIT env var to 1
* Fixed path to int-util.hSChernykh2019-02-141-1/+1
|
* Adding cnv4-2 tweaksSChernykh2019-02-141-36/+76
| | | | Co-Authored-By: Lee Clagett <vtnerd@users.noreply.github.com>
* Cryptonight variant 4 aka CryptonightRSChernykh2019-02-141-7/+57
| | | | It introduces random integer math into the main loop.
* move int-util.h to epeemoneromooo-monero2018-12-041-1/+1
|
* slow-hash: some more big endian fixesxiphon2018-11-161-6/+6
|
* slow-hash: fix for big endianmoneromooo-monero2018-11-161-20/+21
|
* Small function declaration cleanup in slow-hash.cPol Mauri2018-10-231-5/+2
| | | | | | | | - These functions are declared twice in slow-hash.c. Remove one of the copies. - The declarations have the wrong return type, should be void, not int. Function definitions here: https://github.com/monero-project/monero/blob/1e74586ee99e4bd89626d2eb4d23883cd91f0f81/src/crypto/aesb.c#L151-L180 Test plan: make release-test
* Merge pull request #4449Riccardo Spagni2018-09-291-2/+41
| | | | 17142ec9 malloc scratchpad for all supported android archs (m2049r)
* cryptonote tweak v2.2Lee Clagett2018-09-221-0/+20
|
* Merge pull request #4326Riccardo Spagni2018-09-141-1/+1
|\ | | | | | | bcda7adc NetBSD support (thomasvaughan)
| * NetBSD supportthomasvaughan2018-09-111-1/+1
| |
* | Cryptonight variant 2SChernykh2018-09-091-53/+197
|/ | | | | | | | | | Contains two modifications to improve ASIC resistance: shuffle and integer math. Shuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth. Integer math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop. More details and performance numbers: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md
* Changed URLs to HTTPSeinsteinsfool2018-06-231-2/+2
|
* slow-hash: fix memory leak for Windows /karbowanec#41aivve2018-04-241-1/+1
|
* chacha: call prehashed version explicitly as generate_chacha_key_prehashedstoffu2018-03-141-11/+19
| | | | | | hash: add prehashed version cn_slow_hash_prehashed slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not slow-hash: add support for prehashed version for the other 3 platforms
* slow-hash: fix uint64 type typomoneromooo-monero2018-03-071-1/+1
|
* tweaks to the monerov1 cryptonight algorithmLee Clagett2018-03-051-16/+52
|
* slow-hash: optimized versionSChernykh2018-03-051-4/+4
|
* Monero Cryptonight variants, and add one for v7moneromooo-monero2018-03-051-6/+47
| | | | | This is the first variant of many, with the intent to improve Monero's resistance to ASICs and encourage mining decentralization.
* Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-3/+9
| | | | | | | | | | | | | | | | | | | The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
* Update 2018 copyrightxmr-eric2018-01-261-1/+1
|
* Fix building with -DARCH=default -DNO_AES=ONmoneromooo-monero2017-10-061-2/+2
|
* Fix #1991 asm multiply againHoward Chu2017-06-081-16/+13
| | | | | Tweak temp variables and constraints. Was working before if not inlined but newer gcc tends to inline it.
* Clean up ARMv8-a aes_expand_key()hyc2017-04-121-24/+16
| | | | The inline asm was lying about its parameters
* Silence warning about possibly uninitialized pointerGuillaume LE VAILLANT2017-03-251-1/+1
|
* Specify "524,288" iterations instead of "500,000"darentuzi2017-03-141-5/+5
| | | CryptoNight does exactly 524,288 iterations over the scratchpad as defined in CNS008, saying 500,000 could be confusing. I know its meant to give a rough idea (around 500k) to the reader but if you are reading the code, might as well know the exact number.
* update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-211-1/+1
|
* Fix compiler error about nested externs in slow_hash.c by moving declarationsNanoAkron2017-02-131-3/+3
|
* Build wallet with Android NDKMoroccanMalinois2017-01-051-1/+10
|
* Preliminary support for DragonFly BSDAntonio Huete Jimenez2016-12-151-1/+2
| | | | - It builds but no further testing has been done.