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

Platform-independent security and memory utilities. More...

#include "platform_compat.h"
Include dependency graph for CW_Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CW_Utils
 Portable utility functions for cryptographic and security operations. More...

Detailed Description

Platform-independent security and memory utilities.

Declares CW_Utils, a small collection of helpers used throughout the SDK that have no platform dependencies:

  • constant-time buffer comparison (timing-side-channel safe)
  • guaranteed-not-elided secure wipe of sensitive buffers
  • bounds-checked, overlap-checked memcpy
  • secure random byte generation (delegated to a platform impl)

Hardware-specific helpers (e.g. TRNG bring-up) live in the concrete crypto provider rather than here.

Definition in file CW_Utils.h.