diff --git a/app/rust/include/commitments.h b/app/rust/include/commitments.h index 9c48b7b1..38a3397a 100644 --- a/app/rust/include/commitments.h +++ b/app/rust/include/commitments.h @@ -1,5 +1,7 @@ #pragma once +#include + void compute_nullifier(uint8_t *ncm_ptr, uint64_t note_pos, const uint8_t *nsk_ptr, uint8_t *out_ptr); void compute_note_commitment( diff --git a/app/rust/include/notes.h b/app/rust/include/notes.h index 4fabedf3..5b38739b 100644 --- a/app/rust/include/notes.h +++ b/app/rust/include/notes.h @@ -1,5 +1,7 @@ #pragma once +#include + void rseed_get_esk_epk(const uint8_t *rseed_ptr, uint8_t *d_ptr, uint8_t *output_esk_ptr, uint8_t *output_epk_ptr); void rseed_get_rcm(const uint8_t *rseed_ptr, uint8_t *output_ptr); diff --git a/app/rust/include/zip32.h b/app/rust/include/zip32.h index bf900865..58d658d5 100644 --- a/app/rust/include/zip32.h +++ b/app/rust/include/zip32.h @@ -1,5 +1,8 @@ #pragma once +#include +#include + void get_pkd(uint32_t zip32_account, const uint8_t *diversifier_ptr, uint8_t *pkd); void get_pkd_from_seed(uint32_t zip32_account, const uint8_t *start_index, uint8_t *diversifier_ptr, uint8_t *pkd); diff --git a/app/src/key.h b/app/src/key.h index bddb23f8..5183e97a 100644 --- a/app/src/key.h +++ b/app/src/key.h @@ -21,6 +21,10 @@ extern "C" { #endif +#include + +#include "coin.h" + typedef struct { key_type_e kind; uint8_t len; diff --git a/app/src/refactor/txid.h b/app/src/refactor/txid.h index c118d226..ce8a3b14 100644 --- a/app/src/refactor/txid.h +++ b/app/src/refactor/txid.h @@ -16,6 +16,11 @@ #pragma once +#include + +#include "zxerror.h" +#include "sighash.h" + zxerr_t nu5_transparent_prevouts_hash(const uint8_t *input, uint8_t *output); zxerr_t nu5_transparent_sequence_hash(const uint8_t *input, uint8_t *output);