Commit Graph

264 Commits (master)

Author SHA1 Message Date
Dusan Klinec 4e081001c0
Incremental Keccak API added
6 years ago
stoffu bcab579864
wallet: allow adjusting number of rounds for the key derivation function
6 years ago
luigi1111 3fde902394
Merge pull request #4097
6 years ago
moneromooo-monero 0496c7c91a
crypto: do not use boost::value_initialized to init null skey/pkey
6 years ago
luigi1111 326437c5ff
Merge pull request #4074
6 years ago
luigi1111 94ed562148
Merge pull request #4045
6 years ago
moneromooo-monero 63e342be84
crypto: move null_pkey/null_skey to the cpp file
6 years ago
moneromooo-monero 61caab8a8c
crypto: remove slight bias in key generation due to modulo
6 years ago
moneromooo-monero ef649f998d
crypto: remove unused unsafe random scalar generator
6 years ago
einsteinsfool 7cdd147da5 Changed URLs to HTTPS
6 years ago
moneromooo-monero 09f43b9a6b
crypto: add a README pointing to the SUPERCOP licence
6 years ago
luigi1111 b6eb7484d1
Merge pull request #3592
6 years ago
moneroexamples 9317bce9ca
crypto: more places needing fixing for GCC 8.1
6 years ago
moneromooo-monero 4a72d595a6
chacha: fix build with GCC 8.1
6 years ago
aivve b1a9e97b2d
slow-hash: fix memory leak for Windows /karbowanec#41
6 years ago
moneromooo-monero 90a16b119f
crypto: fix initialization order issue with random mutex
6 years ago
stoffu 7dfa5e9e6e
chacha: call prehashed version explicitly as generate_chacha_key_prehashed
6 years ago
stoffu b2d23b189e
crypto: revert odd namespace changes made in #3303
6 years ago
stoffu 27a196b126
device: untangle cyclic depenency
6 years ago
stoffu c9b38b4765
device: made function prototypes consistent with pre-#3303 codebase
6 years ago
moneromooo-monero 04a0cc89cf
slow-hash: fix uint64 type typo
6 years ago
Lee Clagett e136bc6b8a
tweaks to the monerov1 cryptonight algorithm
6 years ago
SChernykh d58c9ec99c
slow-hash: optimized version
6 years ago
moneromooo-monero 608fd6f14a
Monero Cryptonight variants, and add one for v7
6 years ago
Edward Betts fbcc91c2a4 Correct spelling mistakes.
6 years ago
cslashm e745c1e38d Code modifications to integrate Ledger HW device into monero-wallet-cli.
6 years ago
iDunk5400 ed6c68db1b
crypto: add missing include (WIN32)
6 years ago
Riccardo Spagni f4a6bc79d9
Merge pull request #3226
6 years ago
Riccardo Spagni 666a76652b
Merge pull request #3187
6 years ago
Riccardo Spagni ba22928d4b
Merge pull request #3180
6 years ago
moneromooo-monero e4646379a6
keccak: fix mdlen bounds sanity checking
6 years ago
moneromooo-monero 03887f1140
keccak: fix sanity check bounds test
6 years ago
moneromooo-monero 851bd057ec
call _exit instead of abort in release mode
6 years ago
Riccardo Spagni 7de1685bd8
Merge pull request #3119
6 years ago
xmr-eric 18216f19dd Update 2018 copyright
6 years ago
Matt Little 7c4424531f Support building cncrypto lib with msvc
6 years ago
moneromooo-monero c4f437796d
crypto: add a ge_p3_identity constant
6 years ago
moneromooo-monero 13b4c90e01
crypto: add scalar mult functions returning ge_p3 instead of ge_p2
6 years ago
Riccardo Spagni 529ca39e9d
Merge pull request #2988
6 years ago
stoffu 6d8b29ef28
fix some link errors in debug mode for macos
6 years ago
moneromooo-monero fdd4c5e577
move memwipe to epee to avoid common<->crypto circular dependencies
6 years ago
moneromooo-monero 1e5491e942
Add a chacha20 variant to go with chacha8
7 years ago
moneromooo-monero 8a4610c315
blake256: fix wrong hash when computed in parts
7 years ago
moneromooo-monero 7193b89fe5 Scrub keys from memory just before scope end.
7 years ago
Riccardo Spagni 6c0953b15a
Merge pull request #2860
7 years ago
moneromooo-monero ada4291469
add a version of ge_double_scalarmult_precomp_vartime with A precomp
7 years ago
luigi1111 7ff07928ad
sc_mul and sc_muladd
7 years ago
moneromooo-monero 549508296d
use memwipe in a few relevant places
7 years ago
Riccardo Spagni 5c2dfe157b
Merge pull request #2771
7 years ago
Pavel Maryanov a17efcb039
make this build on SunOS/Solaris
7 years ago
moneromooo-monero e3e838d0cf
kaccak: remove unused return value
7 years ago
moneromooo-monero 4877aca2b6
keccak: some paranoid "can't happen" checks
7 years ago
Riccardo Spagni 1740f0a13e
Merge pull request #2583
7 years ago
kenshi84 53ad5a0f42
Subaddresses
7 years ago
moneromooo-monero 27fdaaa409
Fix building with -DARCH=default -DNO_AES=ON
7 years ago
moneromooo-monero 5d65a75b69
move checkpoints in a separate library
7 years ago
moneromooo-monero b5345ef4f0
crypto: use malloc instead of alloca
7 years ago
stoffu 8da82256d4
crypto: moved boost::lock_guard into a smaller scope
7 years ago
stoffu c9e0e944e9
Signature proving payment to destination by only revealing key derivation, not the actual tx secret key
7 years ago
Howard Chu 1dd524151d
Fix #1991 asm multiply again
7 years ago
Gentian 4b932ff314 changed crypto to cncrypto so it generated libcncrypto
7 years ago
hyc a467321800 Clean up ARMv8-a aes_expand_key()
7 years ago
Jaquee f5bd346573
IOS CMAKE build settings
7 years ago
Guillaume LE VAILLANT 93b32892f7 Silence warning about possibly uninitialized pointer
7 years ago
darentuzi 585c917691 Specify "524,288" iterations instead of "500,000"
7 years ago
Riccardo Spagni c3599fa7b9
update copyright year, fix occasional lack of newline at line end
7 years ago
NanoAkron 67693415ff
Fix compiler error about nested externs in slow_hash.c by moving declarations
7 years ago
Riccardo Spagni 2a996f492f
Merge pull request #1510
8 years ago
MoroccanMalinois 80abc3bc4a Build wallet with Android NDK
8 years ago
fireice-uk 474c249c90 cleaner log calc algorithm
8 years ago
Antonio Huete Jimenez b00da61eab Preliminary support for DragonFly BSD
8 years ago
moneromooo-monero f6fcf0ef26
oaes_lib: fix a leak on OOM error path
8 years ago
moneromooo-monero c80f4d416d
wallet: fix output collision detection for view wallets
8 years ago
NanoAkron f71b06770b
Changed to ..._HASHBITS everywhere for consistency
8 years ago
Randi Joseph 9e54616924 Dropped "bit" from bitmonero.
8 years ago
redfish e1c7af35d4 cmake: transitive deps and remove deprecated LINK_*
8 years ago
redfish 54010b97b4 crypto: armv7: slow-hash: remove redundant source include
8 years ago
Howard Chu 69b59186f3
Add ARMv8-A AES support
8 years ago
redfish 24d93370ad crypto,cmake: enable ASM mul impl on ARM; add cmake opt
8 years ago
moneromooo-monero d4b62a1e29
rct amount key modified as per luigi1111's recommendations
8 years ago
moneromooo-monero e70e8a69f4
crypto: error out where appropriate
8 years ago
moneromooo-monero 9b1afe5f2d
ringct: import of Shen Noether's ring confidential transactions
8 years ago
Riccardo Spagni ba61f37f9c
Merge pull request #846
8 years ago
redfish 95be58ef0e crypto: slow-hash: disable mul implemented in asm for ARM
8 years ago
redfish 21dbc95b47 crypto: slow-hash: fix misleading indent
8 years ago
redfish 70f363401b crypto: slow-hash: remove unused hash list for ARM
8 years ago
redfish 1a7772fbae crypto: oaes_lib: remove unused _NR array
8 years ago
redfish 6462a3a6db crypto: fix compile error: use named type in sizeof
8 years ago
moneromooo-monero d539be3359
crypto: make clear generate_random_bytes is not thread safe
8 years ago
moneromooo-monero 31587bdd15
random: call abort(3) instead of assert in must_succeed macro
8 years ago
Riccardo Spagni 0a4dd68c17 minor tweaks, add readme for crypto_ops_builder
8 years ago
Howard Chu b937a2c915 Use boost::thread instead of std::thread
8 years ago
moneromooo-monero c7e6b77395
crypto: only check MONERO_USE_SOFTWARE_AES once
8 years ago
moneromooo-monero 74aef213fe
crypto: use software AES based on the MONERO_USE_SOFTWARE_AES env var
8 years ago
me0wmix 28f95eb001 OpenBSD support for Monero.
8 years ago
Howard Chu 8ce12a978e Fix arm asm
9 years ago
Riccardo Spagni de03926850
updated copyright year
9 years ago
warptangent 725acc7f17
Replace tabs with two spaces for consistency with rest of codebase
9 years ago
Riccardo Spagni bb0c161e7d renamed folder
9 years ago
Javier Smooth b19456dc6d Re-enable optimized slow-hash if someone is trying to compile w/MSVC (disabling it was unintentional)
9 years ago
Riccardo Spagni 32077d3810
Merge pull request #385
9 years ago
Riccardo Spagni 6b7be9f89b
Merge pull request #383
9 years ago
ShenNoether 0a4bc84b2f Added ref10 shen_ed25519_ref code, which includes code that can replace crypto-ops with a version straight from Bernstein's ref 10
9 years ago
ShenNoether 0d70fdca8c revert to 776b4fc91a
9 years ago
ShenNoether b01f286473 Added shen_ed25519_ref to crypto ops subfolder, the point is to directly have bitmonero's crypto code come from bernstein et al's ref 10 code
9 years ago
roman 3b5330e895 use correct unsigned type
9 years ago
roman 59cc92b388 removed some gcc warnings. mainly unused variables.
9 years ago
moneromooo-monero 98c76a388c
chacha8: add a key generation variant that take a pointer and size
9 years ago
moneromooo-monero a2d7a5fb49
encrypted payment ids are now 64 bit, instead of 256 bit
9 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo e5d2680094 ** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)
9 years ago
Javier Smooth 1b19ee040f disable non-working optimized slow_hash on 32 bit intel
9 years ago
Riccardo Spagni b2b612794d
no newline at end of file
9 years ago
Riccardo Spagni 3ece1584f0
make fallback compatible with newer slow-hash
9 years ago
Riccardo Spagni 9b3673a54c
added portable slow-hash, updated makefile targets, fixed readme
9 years ago
Riccardo Spagni e70bc3d369
fixed sse2 ifdef
9 years ago
Riccardo Spagni 2b3b70a261
remove aes flag, detect no sse2
9 years ago
Riccardo Spagni f4b69d553a
year updated in license
10 years ago
Ben Boeckel f53f04724c cmake: handle private vs. public headers
10 years ago
Ben Boeckel 55ca7d3b34 cmake: refactor common code with libraries
10 years ago
Ben Boeckel 89cff7bddc cmake: put each library into its own directory
10 years ago
David G. Andersen 28dfb4b178 capitalize Keccak everywhere
10 years ago
David G. Andersen ce2ad65599 typo fix - cryptonight, not cryptonote
10 years ago
David G. Andersen e4fb913b2d Fix comment start for two functions
10 years ago
David G. Andersen 46f26ffe88 another typo fix
10 years ago
David G. Andersen ac6bc4859f fix typo
10 years ago
David G. Andersen d744dd1be5 More documentation
10 years ago
David G. Andersen 4d493f6d4f initial doxygen commenting of the CryptoNight proof-of-work code
10 years ago
Oran Juice 4f693d715c
Merge with origin/master
10 years ago
Oran Juice 6be139b511
Moved mnemonics code to src/mnemonics
10 years ago
Zachary Michaels aba3497fdd More preprocessor fixes for slow-hash
10 years ago
Zachary Michaels cf91545734 Correct includes for mingw in slow-hash
10 years ago
Zachary Michaels 2b76e9d8a3 Change Windows include to windows
10 years ago
fluffypony ccb2ab2b7b mmap on FreeBSD doesn't have MAP_HUGETLB
10 years ago
fluffypony 110f110181 Include sys/time.h on BSD
10 years ago
fluffypony a8d043b6dd replace ftime with gettimeofday on FreeBSD because lcompat is stupid
10 years ago
fluffypony 266c639f4f more FreeBSD fixes
10 years ago
fluffypony e1d31e0a8b malloc.h reference fixed for FreeBSD
10 years ago
fluffypony 6afbdd9754 FreeBSD alloca.h reference fixed
10 years ago
rfree2monero 2ef0aee81d Fix tree-hash cnt n^2. Asserts, comment. Squash2
10 years ago
fluffypony f8025cada9 fixed OS X malloc.h reference
10 years ago
fluffypony 6fc995fe5d License updated to BSD 3-clause
10 years ago
Zachary Michaels 849c52c7ed Remove unused array in cn_slow_hash
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo e12ccdf905 Update slow-hash.c
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 156312f64a Update slow-hash.c
10 years ago
NoodleDoodleNoodleDoodleNoodleDoodleNoo 72643c47da Update slow-hash.c
10 years ago
Thomas Winget 537b911af1 stupid signed arithmetic.
10 years ago
Thomas Winget 8bc032ed09 more pointer-based derp
10 years ago
Thomas Winget 72c3f36ca4 fixed some pointer- and loop-based derps
10 years ago
Thomas Winget d22e458c6c builds, but doesn't link. other than that, electrum-style recovery implemented (but not tested\!)
10 years ago
Thomas Winget 8661f9a970 missing '.at' on two map calls. built on some machines, very strange...
10 years ago