Skip to content

File SolidSyslogMbedTlsAesGcmPolicyErrors.h

FileList > Interface > SolidSyslogMbedTlsAesGcmPolicyErrors.h

Go to the source code of this file

Error codes and Source identity for the MbedTlsAesGcmPolicy.

  • #include "ExternC.h"

Public Types

Type Name
enum SolidSyslogMbedTlsAesGcmPolicyErrors
Detail codes for events whose Source is MbedTlsAesGcmPolicyErrorSource.

Public Attributes

Type Name
const struct SolidSyslogErrorSource MbedTlsAesGcmPolicyErrorSource
Identity for events raised by an MbedTlsAesGcmPolicy.

Public Types Documentation

enum SolidSyslogMbedTlsAesGcmPolicyErrors

Detail codes for events whose Source is MbedTlsAesGcmPolicyErrorSource.

enum SolidSyslogMbedTlsAesGcmPolicyErrors {
    MBEDTLSAESGCMPOLICY_ERROR_POOL_EXHAUSTED,
    MBEDTLSAESGCMPOLICY_ERROR_UNKNOWN_DESTROY,
    MBEDTLSAESGCMPOLICY_ERROR_BAD_CONFIG,
    MBEDTLSAESGCMPOLICY_ERROR_KEY_UNAVAILABLE,
    MBEDTLSAESGCMPOLICY_ERROR_NONCE_FAILED,
    MBEDTLSAESGCMPOLICY_ERROR_ENCRYPT_FAILED,
    MBEDTLSAESGCMPOLICY_ERROR_DECRYPT_FAILED,
    MBEDTLSAESGCMPOLICY_ERROR_MAX
};

A handler reads these off event->Detail after matching event->Source; the members name their own fault. A tag mismatch on open is the expected tamper-detected outcome and is NOT reported — DECRYPT_FAILED is only a genuine mbedTLS error.


Public Attributes Documentation

variable MbedTlsAesGcmPolicyErrorSource

Identity for events raised by an MbedTlsAesGcmPolicy.

const struct SolidSyslogErrorSource MbedTlsAesGcmPolicyErrorSource;

A handler matches by address (event->Source == &MbedTlsAesGcmPolicyErrorSource), then reads event->Detail as an enum SolidSyslogMbedTlsAesGcmPolicyErrors.



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