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

Abstract cryptographic primitives interface. More...

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

Go to the source code of this file.

Classes

class  CW_CryptoProvider
 Abstract interface for cryptographic operations used by CW_SecureChannel. More...

Detailed Description

Abstract cryptographic primitives interface.

Declares CW_CryptoProvider, the contract that any concrete cryptographic backend (mbedTLS, BearSSL, OpenSSL, ESP32 hardware crypto, micro-ecc + AESLib + SHA512, …) must implement so the secure channel remains decoupled from any specific crypto library.

Provides: SHA-256/512, AES-CBC encrypt/decrypt, ECDH shared secret, EC key pair generation, and cryptographically secure RNG.

One of the three adapter interfaces a host integration must provide.

Definition in file CW_CryptoProvider.h.