Bind signature to full address and signing mode

This commit is contained in:
Sarang Noether
2020-08-28 19:38:00 -04:00
parent 743608ec16
commit fa06c39d97
12 changed files with 47 additions and 51 deletions
-6
View File
@@ -207,12 +207,6 @@ namespace hw {
return m;
}
crypto::secret_key device_default::get_subaddress_view_secret_key(const crypto::secret_key &a, const cryptonote::subaddress_index &index) {
crypto::secret_key skey = get_subaddress_secret_key(a, index);
sc_mul((unsigned char*)skey.data, (const unsigned char*)skey.data, (const unsigned char*)a.data);
return skey;
}
/* ======================================================================= */
/* DERIVATION & KEY */
/* ======================================================================= */