32 #include "crypto/wallet/ops.h"
37 #if defined(monero_crypto_generate_key_derivation)
41 return monero_crypto_generate_key_derivation(out.data, tx_pub.data, view_sec.data) == 0;
49 return monero_crypto_generate_subaddress_public_key(out.data, output_pub.data, scalar.data) == 0;
crypto namespace.
Definition: crypto.cpp:60
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition: crypto.h:67
bool derive_subaddress_public_key(const public_key &out_key, const key_derivation &derivation, std::size_t output_index, public_key &result)
Definition: crypto.h:233
POD_CLASS key_derivation
Definition: crypto.h:83
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
Definition: crypto.h:219
POD_CLASS public_key
Definition: crypto.h:61
POD_CLASS ec_scalar
Definition: crypto.h:59
void derivation_to_scalar(const key_derivation &derivation, size_t output_index, ec_scalar &res)
Definition: crypto.h:226