mcpp index

compat.wolfssl

#include

wolfSSL — portable TLS/crypto library (static source build, TLS 1.3)

#include <wolfssl/options.h>
mcpp add compat.wolfssl@5.9.4

Usage

From this repository's own test project — built and run by CI, not written for the website.

// compat.wolfssl: the configuration reaches the consumer, and the library
// behaves. Every assertion affects the exit status.

// Included explicitly because this is the file that states the feature set;
// the package's default-implied define also makes settings.h pull it in.
#include <wolfssl/options.h>

#include <wolfssl/ssl.h>
#include <wolfssl/version.h>
#include <wolfssl/wolfcrypt/aes.h>
#include <wolfssl/wolfcrypt/ecc.h>
#include <wolfssl/wolfcrypt/random.h>
#include <wolfssl/wolfcrypt/sha256.h>

// Compile-time assertions: a consumer that did not inherit the package's
// configuration would fail here rather than at run time.
#ifndef WOLFSSL_TLS13
#error "compat.wolfssl: the consumer did not inherit WOLFSSL_TLS13"
#endif
#ifndef HAVE_AESGCM
#error "compat.wolfssl: the consumer did not inherit HAVE_AESGCM"
#endif
// …

tests/examples/wolfssl/tests/wolfssl.cpp · project tests/examples/wolfssl

Build

targets
wolfssl (lib)
language
c++23
C standard
c11
import std
no
include dirs
*, mcpp_generated

Features

featuredeclares
configureddefines
defaultimplies

Sources (38)

  • */src/internal.c
  • */src/wolfio.c
  • */src/keys.c
  • */src/ssl.c
  • */src/ocsp.c
  • */src/tls.c
  • */src/tls13.c
  • */wolfcrypt/src/hmac.c
  • */wolfcrypt/src/hash.c
  • */wolfcrypt/src/cpuid.c
  • */wolfcrypt/src/kdf.c
  • */wolfcrypt/src/random.c
  • */wolfcrypt/src/sha256.c
  • */wolfcrypt/src/sha.c
  • */wolfcrypt/src/sha512.c
  • */wolfcrypt/src/sha3.c
  • */wolfcrypt/src/rsa.c
  • */wolfcrypt/src/sp_int.c
  • */wolfcrypt/src/integer.c
  • */wolfcrypt/src/ecc.c
  • */wolfcrypt/src/aes.c
  • */wolfcrypt/src/logging.c
  • */wolfcrypt/src/wc_port.c
  • */wolfcrypt/src/error.c
  • */wolfcrypt/src/wc_encrypt.c
  • */wolfcrypt/src/signature.c
  • */wolfcrypt/src/wolfmath.c
  • */wolfcrypt/src/memory.c
  • */wolfcrypt/src/dh.c
  • */wolfcrypt/src/asn.c
  • */wolfcrypt/src/coding.c
  • */wolfcrypt/src/poly1305.c
  • */wolfcrypt/src/pwdbased.c
  • */wolfcrypt/src/pkcs12.c
  • */wolfcrypt/src/chacha.c
  • */wolfcrypt/src/chacha20_poly1305.c
  • */wolfcrypt/src/wc_mlkem.c
  • */wolfcrypt/src/wc_mlkem_poly.c

Generated files

  • mcpp_generated/wolfssl/options.h

Versions

VersionPlatforms Mirrorssha256
5.9.4 latest LinuxWindowsmacOS source 7256bfc89b18…