cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
CryptnoxWallet.h File Reference

Umbrella include and module-group anchor for the CryptnoxWallet Arduino library. More...

Include dependency graph for CryptnoxWallet.h:

Go to the source code of this file.

Detailed Description

Umbrella include and module-group anchor for the CryptnoxWallet Arduino library.

Including this single header pulls in the platform-independent core SDK (the cryptnox-sdk-cpp submodule) together with all Arduino-specific concrete adapters (PN532 transport, AESLib/SHA512/micro-ecc crypto provider, Serial logger, null logger). Application sketches should not include the individual headers directly — this umbrella keeps the include surface stable across Arduino IDE versions and library-manager installs.

Header pulled in Role
cryptnox-sdk-cpp/CW_Defs.h Shared constants, CW_SecureSession struct, group definitions
cryptnox-sdk-cpp/CW_NfcTransport.h Abstract NFC transport interface
cryptnox-sdk-cpp/CW_Logger.h Abstract logging interface
cryptnox-sdk-cpp/CW_CryptoProvider.h Abstract crypto interface (SHA, AES-CBC, ECDH, RNG, ECDSA verify)
cryptnox-sdk-cpp/CW_Platform.h Abstract platform interface (sleep_ms)
cryptnox-sdk-cpp/CW_SecureChannel.h Secure channel protocol implementation
cryptnox-sdk-cpp/CW_Utils.h Secure compare, secure wipe, bounded memcpy
cryptnox-sdk-cpp/CryptnoxWallet.h High-level card API
ArduinoLoggerAdapter.h Concrete CW_Logger over HardwareSerial (dev/debug)
NullLoggerAdapter.h Silent no-op CW_Logger (production — see LOW-03)
ArduinoCryptoProvider.h Concrete CW_CryptoProvider (AESLib / SHA-512 / micro-ecc / RA4M1 TRNG)
ArduinoPlatform.h Concrete CW_Platform over Arduino's blocking delay()
PN532Adapter.h Concrete CW_NfcTransport over Adafruit_PN532
Minimal sketch
#include <CryptnoxWallet.h>
NullLoggerAdapter logger; // silent in production
ArduinoCryptoProvider crypto; // AES + SHA + ECDH + TRNG
PN532Adapter nfc(logger, 10); // SPI on SS=10
CryptnoxWallet wallet(nfc, logger, crypto, platform);
void setup() {
wallet.begin();
}
void setup()
Arduino setup function.
CryptnoxWallet wallet(nfc, serialAdapter, cryptoProvider, platform)
PN532Adapter nfc(serialAdapter, PN532_SS, &SPI)
ArduinoPlatform platform
CW_CryptoProvider implementation for the Arduino UNO R4 (RA4M1).
CW_Platform implementation using Arduino's blocking delay().
High-level interface for interacting with a Cryptnox Hardware Wallet over NFC.
No-op CW_Logger — guarantees nothing reaches the serial port.
CW_NfcTransport implementation over the Adafruit_PN532 driver.
See also
CryptnoxWallet
CW_NfcTransport
CW_CryptoProvider
CW_Logger

Definition in file CryptnoxWallet.h.