<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monzero-core.git/src/device, branch v0.12.0.0</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.12.0.0</id>
<link rel='self' href='https://code.monzero.org/monzero-core.git/atom?h=v0.12.0.0'/>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/'/>
<updated>2018-03-14T12:00:17Z</updated>
<entry>
<title>chacha: call prehashed version explicitly as generate_chacha_key_prehashed</title>
<updated>2018-03-14T12:00:17Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T09:24:11Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=7dfa5e9e6e05fb2b8bb346d92f2a22229ef495c8'/>
<id>urn:sha1:7dfa5e9e6e05fb2b8bb346d92f2a22229ef495c8</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>keypair::generate: always require hw::device to avoid possible mistake</title>
<updated>2018-03-14T12:00:16Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T08:02:17Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=8705beaf51c12d7eab5f56f615ec529a2a8efc27'/>
<id>urn:sha1:8705beaf51c12d7eab5f56f615ec529a2a8efc27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>device: untangle cyclic depenency</title>
<updated>2018-03-14T12:00:15Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T07:16:30Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=27a196b1268718dbc41e308c93b35c58f2da2eb4'/>
<id>urn:sha1:27a196b1268718dbc41e308c93b35c58f2da2eb4</id>
<content type='text'>
When #3303 was merged, a cyclic dependency chain was generated:

    libdevice &lt;- libcncrypto &lt;- libringct &lt;- 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 &lt;- libringct_basic &lt;- libdevice &lt;- libcryptonote_basic &lt;- 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.
</content>
</entry>
<entry>
<title>device: made function prototypes consistent with pre-#3303 codebase</title>
<updated>2018-03-14T12:00:06Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-05T05:24:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=c9b38b4765a7eea11bb57b4fce1694c382c80936'/>
<id>urn:sha1:c9b38b4765a7eea11bb57b4fce1694c382c80936</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ledger HW Bug fixes</title>
<updated>2018-03-12T09:43:06Z</updated>
<author>
<name>Cédric</name>
<email>cslashm@gmail.com</email>
</author>
<published>2018-03-05T13:46:15Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=73dd883d5112e2e8be1a465aca3b3fb48b651afd'/>
<id>urn:sha1:73dd883d5112e2e8be1a465aca3b3fb48b651afd</id>
<content type='text'>
Fix the way the REAL mode is handle:
  Let create_transactions_2 and create_transactions_from construct the vector of transactions.
  Then iterate on it and resign.
  We just need to add 'outs' list in the TX struct for that.

Fix default secret keys value when DEBUG_HWDEVICE mode is off
  The magic value (00...00 for view key and FF..FF for spend key) was not correctly set
  when DEBUG_HWDEVICE was off. Both was set to 00...00.

Add sub-address info in ABP map in order to correctly display destination sub-address on device

Fix DEBUG_HWDEVICE mode:
   - Fix compilation errors.
   - Fix control device init in ledger device.
   - Add more log.

Fix sub addr control

Fix debug Info
</content>
</entry>
<entry>
<title>device: remove dependency on readline</title>
<updated>2018-03-06T22:42:28Z</updated>
<author>
<name>stoffu</name>
<email>stoffu@protonmail.ch</email>
</author>
<published>2018-03-06T02:58:57Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=49c70962eeb113a2399ba4fe8a6778565c9dac78'/>
<id>urn:sha1:49c70962eeb113a2399ba4fe8a6778565c9dac78</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Monero Cryptonight variants, and add one for v7</title>
<updated>2018-03-05T18:18:39Z</updated>
<author>
<name>moneromooo-monero</name>
<email>moneromooo-monero@users.noreply.github.com</email>
</author>
<published>2018-02-07T19:07:36Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=608fd6f14a6b9c0eeba2843fb14cbb235be0034f'/>
<id>urn:sha1:608fd6f14a6b9c0eeba2843fb14cbb235be0034f</id>
<content type='text'>
This is the first variant of many, with the intent to improve
Monero's resistance to ASICs and encourage mining decentralization.
</content>
</entry>
<entry>
<title>Fix invalid device unique_ptr cast</title>
<updated>2018-03-04T18:56:48Z</updated>
<author>
<name>MoroccanMalinois</name>
<email>MoroccanMalinois@protonmail.com</email>
</author>
<published>2018-03-04T18:56:48Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=25ea307d675496c7cddc463fa13d1d5d0c286dba'/>
<id>urn:sha1:25ea307d675496c7cddc463fa13d1d5d0c286dba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Code modifications to integrate Ledger HW device into monero-wallet-cli.</title>
<updated>2018-03-04T11:54:53Z</updated>
<author>
<name>cslashm</name>
<email>cslashm@gmail.com</email>
</author>
<published>2018-02-20T16:01:27Z</published>
<link rel='alternate' type='text/html' href='https://code.monzero.org/monzero-core.git/commit/?id=e745c1e38da8e54032660894bb2db0e9a49cccf2'/>
<id>urn:sha1:e745c1e38da8e54032660894bb2db0e9a49cccf2</id>
<content type='text'>
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.
</content>
</entry>
</feed>
