#pragma once

/*
 * Arduino/RP2040 build-time secp256k1 configuration.
 * Mirrors the ESP-IDF component defines used in this repo.
 */

/* Core build marker */
#ifndef SECP256K1_BUILD
#define SECP256K1_BUILD 1
#endif

/* Keep arithmetic path aligned with ESP build */
#ifndef USE_FORCE_WIDEMUL_INT64
#define USE_FORCE_WIDEMUL_INT64 1
#endif

/* Match precomputed table assumptions in vendored files */
#ifndef ECMULT_WINDOW_SIZE
#define ECMULT_WINDOW_SIZE 15
#endif

#ifndef COMB_BLOCKS
#define COMB_BLOCKS 11
#endif

#ifndef COMB_TEETH
#define COMB_TEETH 6
#endif

/* Modules required by nostr_core_lib usage */
#ifndef ENABLE_MODULE_ECDH
#define ENABLE_MODULE_ECDH 1
#endif

#ifndef ENABLE_MODULE_EXTRAKEYS
#define ENABLE_MODULE_EXTRAKEYS 1
#endif

#ifndef ENABLE_MODULE_SCHNORRSIG
#define ENABLE_MODULE_SCHNORRSIG 1
#endif
