Skip to content

Mbed TLS platform

«interface»SolidSyslogSecurityPolicyMbedTlsAesGcmPolicyMbedTls

Struct SolidSyslogMbedTlsAesGcmPolicyConfig

ClassList > SolidSyslogMbedTlsAesGcmPolicyConfig

  • #include <SolidSyslogMbedTlsAesGcmPolicy.h>
struct SolidSyslogMbedTlsAesGcmPolicyConfig
{
    SolidSyslogKeyFunction GetKey;
    void* KeyContext;
    struct mbedtls_ctr_drbg_context* Rng;
};

Public Attributes Documentation

GetKey

Fetches the 32-byte AES-256 key on demand; required.

SolidSyslogKeyFunction SolidSyslogMbedTlsAesGcmPolicyConfig::GetKey;

Any other reported length fails the operation closed.


KeyContext

Passed back to GetKey unchanged; NULL is fine.

void* SolidSyslogMbedTlsAesGcmPolicyConfig::KeyContext;


Rng

Seeded CTR-DRBG each record's 12-byte nonce is drawn from; required and caller-owned.

struct mbedtls_ctr_drbg_context* SolidSyslogMbedTlsAesGcmPolicyConfig::Rng;

Injected because mbedTLS has no context-free RNG.



The documentation for this class was generated from the following file Platform/MbedTls/Interface/SolidSyslogMbedTlsAesGcmPolicy.h