mirror of
https://github.com/monero-project/monero.git
synced 2025-12-15 11:27:31 -05:00
ringct: encode 8 byte amount, saving 24 bytes per output
Found by knaccc
This commit is contained in:
parent
cdc3ccec5f
commit
99d946e619
14 changed files with 93 additions and 34 deletions
|
|
@ -111,8 +111,8 @@ namespace hw {
|
|||
|
||||
bool encrypt_payment_id(crypto::hash8 &payment_id, const crypto::public_key &public_key, const crypto::secret_key &secret_key) override;
|
||||
|
||||
bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec) override;
|
||||
bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec) override;
|
||||
bool ecdhEncode(rct::ecdhTuple & unmasked, const rct::key & sharedSec, bool short_amount) override;
|
||||
bool ecdhDecode(rct::ecdhTuple & masked, const rct::key & sharedSec, bool short_amount) override;
|
||||
|
||||
bool add_output_key_mapping(const crypto::public_key &Aout, const crypto::public_key &Bout, const bool is_subaddress, const size_t real_output_index,
|
||||
const rct::key &amount_key, const crypto::public_key &out_eph_public_key) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue