Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::Cryptography::Features Struct Reference

Public Attributes

Backend backend = Backend::Native
 
bool secureRandom = false
 
bool aes128Gcm = false
 
bool aes256Gcm = false
 
bool aes128CbcPkcs7 = false
 
bool aes256CbcPkcs7 = false
 
bool hmacSha256 = false
 
bool hmacSha384 = false
 
bool hkdfSha256 = false
 
bool hkdfSha384 = false
 
size_t maximumAeadAssociatedDataSize = 0
 Maximum associated data size accepted by Aead::seal and Aead::open on the current backend.
 

Member Data Documentation

◆ maximumAeadAssociatedDataSize

size_t SC::Cryptography::Features::maximumAeadAssociatedDataSize = 0

Maximum associated data size accepted by Aead::seal and Aead::open on the current backend.


Zero means AES-GCM is unavailable or there is no backend-specific limit beyond the maximum message size.


The documentation for this struct was generated from the following file: