33 #include "crypto/wallet/ops.h" 38 #if defined(monero_crypto_generate_key_derivation) 42 return monero_crypto_generate_key_derivation(out.data, tx_pub.data, view_sec.data) == 0;
50 return monero_crypto_generate_subaddress_public_key(out.data, output_pub.data, scalar.data) == 0;
void derivation_to_scalar(const key_derivation &derivation, size_t output_index, ec_scalar &res)
Definition: crypto.h:239
POD_CLASS key_derivation
Definition: crypto.h:88
crypto namespace.
Definition: crypto.cpp:60
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
Definition: crypto.h:232
POD_CLASS ec_scalar
Definition: crypto.h:59
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:246
POD_CLASS public_key
Definition: crypto.h:61