89 sc_add((
unsigned char*)&
res, (
unsigned char*)&sk0, (
unsigned char*)&sk1);
void derivation_to_scalar(const key_derivation &derivation, size_t output_index, ec_scalar &res)
void derive_secret_key(const key_derivation &derivation, std::size_t output_index, const secret_key &base, secret_key &derived_key)
bool generate_key_image(const crypto::public_key &pub, const crypto::secret_key &sec, crypto::key_image &image) override
bool sc_secret_add(crypto::secret_key &r, const crypto::secret_key &a, const crypto::secret_key &b) override
bool scalarmultBase(rct::key &aG, const rct::key &a) override
void scalarmultKey(key &aP, const key &P, const key &a)
bool derive_public_key(const crypto::key_derivation &derivation, const std::size_t output_index, const crypto::public_key &pub, crypto::public_key &derived_pub) override
bool derivation_to_scalar(const crypto::key_derivation &derivation, const size_t output_index, crypto::ec_scalar &res) override
bool scalarmultKey(rct::key &aP, const rct::key &P, const rct::key &a) override
bool generate_key_derivation(const public_key &key1, const secret_key &key2, key_derivation &derivation)
#define ASSERT_FALSE(condition)
#define ASSERT_EQ(val1, val2)
void generate_key_image(const public_key &pub, const secret_key &sec, key_image &image)
void scalarmultBase(key &aG, const key &a)
bool secret_key_to_public_key(const crypto::secret_key &sec, crypto::public_key &pub) override
bool derive_secret_key(const crypto::key_derivation &derivation, const std::size_t output_index, const crypto::secret_key &sec, crypto::secret_key &derived_sec) override
bool derive_public_key(const key_derivation &derivation, std::size_t output_index, const public_key &base, public_key &derived_key)
void skpkGen(key &sk, key &pk)
bool secret_key_to_public_key(const secret_key &sec, public_key &pub)
void sc_add(unsigned char *, const unsigned char *, const unsigned char *)
bool generate_key_derivation(const crypto::public_key &pub, const crypto::secret_key &sec, crypto::key_derivation &derivation) override