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;
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
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
Definition crypto.h:232
crypto namespace.
Definition crypto.cpp:60
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
Definition crypto.h:72
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 key_derivation
Definition crypto.h:91
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
Definition crypto.h:232
POD_CLASS public_key
Definition crypto.h:64
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:239