aboutsummaryrefslogtreecommitdiff
path: root/tests/crypto (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06Update copyright year to 2020SomaticFanatic9-9/+9
Update copyright year to 2020
2019-03-19Merge pull request #5240Riccardo Spagni1-1/+0
c8c154a2 tests: fix cnv4-jit-test link on mac (moneromooo-monero)
2019-03-06tests: fix cnv4-jit-test link on macmoneromooo-monero1-1/+0
2019-03-05Update 2019 copyrightbinaryFate8-8/+8
2019-03-04tests: add a CNv4 JIT testmoneromooo-monero2-0/+133
2018-10-15Merge pull request #4489Riccardo Spagni1-0/+3
00901e9c epee: initialize a few data members where it seems to be appropriate (moneromooo-monero) 144a6c32 abstract_tcp_server2: move m_period to subclass (moneromooo-monero) 758d7684 connection_basic: remove unused floating time start time (moneromooo-monero) e5108a29 Catch more exceptions in dtors (moneromooo-monero)
2018-10-07tests: update crypto tests data file after PRNG changesmoneromooo-monero1-562/+562
2018-10-02Catch more exceptions in dtorsmoneromooo-monero1-0/+3
Misc coverity reports
2018-08-07fixed cncrypto tests not passing after the change in random_scalarMaxim Shishmarev1-1024/+1024
2018-03-14crypto: revert odd namespace changes made in #3303stoffu1-6/+6
2018-03-14device: untangle cyclic depenencystoffu1-3/+0
When #3303 was merged, a cyclic dependency chain was generated: libdevice <- libcncrypto <- libringct <- libdevice This was because libdevice needs access to a set of basic crypto operations implemented in libringct such as scalarmultBase(), while libringct also needs access to abstracted crypto operations implemented in libdevice such as ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct into libringct_basic and libringct, where the basic crypto ops previously in libringct are moved into libringct_basic. The cyclic dependency is now resolved thanks to this separation: libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct This eliminates the need for crypto_device.cpp and rctOps_device.cpp. Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and get_subaddress_secret_key() were previously implemented in libcryptonote_basic (cryptonote_format_utils.cpp) and were then called from hw::core::device_default, which is odd because libdevice is supposed to be independent of libcryptonote_basic. Therefore, those functions were moved to device_default.cpp.
2018-03-04Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2-6/+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.
2018-01-26Update 2018 copyrightxmr-eric8-8/+8
2017-12-16Scrub keys from memory just before scope end.moneromooo-monero1-0/+1
Partially implements #74. Securely erases keys from memory after they are no longer needed. Might have a performance impact, which I haven't measured (perf measurements aren't generally reliable on laptops). Thanks to @stoffu for the suggestion to specialize the pod_to_hex/hex_to_pod functions. Using overloads + SFINAE instead generalizes it so other types can be marked as scrubbed without adding more boilerplate.
2017-10-07Subaddresseskenshi841-5/+1
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian1-5/+5
fix a cmakelist
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni8-8/+8
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-1/+3
Keep the immediate direct deps at the library that depends on them, declare deps as PUBLIC so that targets that link against that library get the library's deps as transitive deps. Break dep cycle between blockchain_db <-> crytonote_core. No code refactoring, just hide cycle from cmake so that it doesn't complain (cycles are allowed only between static libs, not shared libs). This is in preparation for supproting BUILD_SHARED_LIBS cmake built-in option for building internal libs as shared.
2016-03-16fixed "undefined reference" for boost::system libraryIlya Kitaev1-1/+2
2015-12-31updated copyright yearRiccardo Spagni8-8/+8
2015-01-02year updated in licenseRiccardo Spagni8-8/+8
2014-10-23cmake: put each test executable in its own directoryBen Boeckel1-0/+50
2014-07-23License updated to BSD 3-clausefluffypony7-21/+203
2014-03-03moved all stuff to githubAntonio Juarez8-0/+5808