What the enabled features require of each other and of the sizing, as compile-time refusals. More...
#include "mmgr_settings.h"Go to the source code of this file.
What the enabled features require of each other and of the sizing, as compile-time refusals.
Reached from protocore_config.h, which is the single entry point and states the feature flags every block here is gated on. Including this file on its own would read those flags before they are settled.
Definition in file feature_en_error.h.
| #define PROTOCORE_HPACK_BORROW ((size_t)PROTOCORE_HPACK_MAX_ENTRIES * 8 + PROTOCORE_HPACK_TABLE_BYTES + 32) |
The HPACK dynamic table one connection tracks for its peer's encoder.
The entry descriptors and the byte ring they index into. The connection owns these bytes; the exact width is hpack.c's, and the static_assert there is what proves this covers it.
Definition at line 182 of file feature_en_error.h.
| #define PROTOCORE_SSH_MAX_CHANNELS 1 |
Maximum concurrent SSH channels per connection (RFC 4254 multiplexing).
Default 1 - one "session" channel per connection, byte-for-byte the original single-channel behavior. Raise it to multiplex several channels (e.g. several concurrent shells/exec, or - with the forwarding build flags - tunnels) over one SSH connection; each channel gets its own id, window, and peer state. Fixed BSS (ssh_chan[MAX_SSH_CONNS][PROTOCORE_SSH_MAX_CHANNELS]), no heap.
Definition at line 207 of file feature_en_error.h.
| #define PROTOCORE_WORK_H2_CONN ((size_t)MAX_CONNS * ((size_t)PROTOCORE_H2_MAX_FRAME + 2u * (size_t)PROTOCORE_H2_HDR_BLOCK + 16u)) |
Definition at line 218 of file feature_en_error.h.
| #define PROTOCORE_H3_CONN_CTX 672 |
Definition at line 230 of file feature_en_error.h.
| #define PROTOCORE_H3_CONN_BORROW |
Definition at line 236 of file feature_en_error.h.
| #define PROTOCORE_WORK_H3_CONN ((size_t)PROTOCORE_QUIC_MAX_CONNS * PROTOCORE_H3_CONN_BORROW) |
Definition at line 243 of file feature_en_error.h.
| #define PROTOCORE_QUIC_SERVER_BORROW |
Definition at line 254 of file feature_en_error.h.
| #define PROTOCORE_QUIC_CONN_BORROW (((size_t)PROTOCORE_QUIC_MAX_STREAMS * PROTOCORE_QUIC_STREAM_TX) + 3u * (size_t)PROTOCORE_QUIC_CRYPTO_RX) |
Definition at line 264 of file feature_en_error.h.
| #define PROTOCORE_WORK_QUIC_CONN ((size_t)PROTOCORE_QUIC_MAX_CONNS * PROTOCORE_QUIC_CONN_BORROW) |
Definition at line 268 of file feature_en_error.h.
| #define PROTOCORE_EDGE_PROXY_BORROW 28672 |
Definition at line 279 of file feature_en_error.h.
| #define PROTOCORE_EUROMAP77_BORROW 16 |
Definition at line 288 of file feature_en_error.h.
| #define PROTOCORE_UMATI_BORROW 16 |
Definition at line 296 of file feature_en_error.h.
| #define PROTOCORE_ROBOTICS_BORROW 128 |
Definition at line 303 of file feature_en_error.h.
| #define PROTOCORE_SIMATIC_BORROW 48 |
Definition at line 310 of file feature_en_error.h.
| #define PROTOCORE_J1939_BORROW 16 |
Definition at line 318 of file feature_en_error.h.
| #define PROTOCORE_MODBUS_BORROW |
Definition at line 326 of file feature_en_error.h.
| #define PROTOCORE_ESPNOW_BORROW ((size_t)PROTOCORE_ESPNOW_MAX_PEERS * 8u + 32u) |
Definition at line 335 of file feature_en_error.h.
| #define PROTOCORE_PROMISC_BORROW 16 |
Definition at line 341 of file feature_en_error.h.
| #define PROTOCORE_WIFI_SNIFFER_BORROW 256 |
Definition at line 348 of file feature_en_error.h.
| #define PROTOCORE_RADIO_POWER_BORROW 16 |
Definition at line 354 of file feature_en_error.h.
| #define PROTOCORE_DNS_SERVER_BORROW |
Definition at line 362 of file feature_en_error.h.
| #define PROTOCORE_FORWARD_BORROW |
Definition at line 372 of file feature_en_error.h.
| #define PROTOCORE_LOG_BORROW 16u |
Definition at line 382 of file feature_en_error.h.
| #define PROTOCORE_DIFFSERV_BORROW 8u |
Definition at line 389 of file feature_en_error.h.
| #define PROTOCORE_UDP_CLIENT_BORROW 16u |
Definition at line 396 of file feature_en_error.h.
| #define PROTOCORE_RING_STORAGE_BYTES ((size_t)MMGR_RING_WORDS * sizeof(size_t)) |
Definition at line 407 of file feature_en_error.h.
| #define PROTOCORE_UDP_LISTENER_BORROW |
Definition at line 410 of file feature_en_error.h.
| #define PROTOCORE_TCP_LOWER_BORROW ((size_t)CONN_POOL_SLOTS * 96u + 64u) |
Definition at line 420 of file feature_en_error.h.
| #define PROTOCORE_CONN_POOL_BORROW ((size_t)RX_BUF_SIZE + PROTOCORE_RING_STORAGE_BYTES + 256u) |
Definition at line 429 of file feature_en_error.h.
| #define PROTOCORE_TCP_LISTENER_BORROW |
Definition at line 438 of file feature_en_error.h.
| #define PROTOCORE_TCP_CLIENT_BORROW ((size_t)PROTOCORE_CLIENT_CONNS * ((size_t)PROTOCORE_CLIENT_RX_BUF + PROTOCORE_RING_STORAGE_BYTES + 96u) + 64u) |
Definition at line 449 of file feature_en_error.h.
| #define PROTOCORE_HAPPY_EYEBALLS_BORROW 16u |
Definition at line 458 of file feature_en_error.h.
| #define PROTOCORE_PHYSICAL_BORROW ((size_t)PROTOCORE_PHY_MAX_IFACES * 32u + 32u) |
Definition at line 466 of file feature_en_error.h.
| #define PROTOCORE_SHA256_BORROW 256 |
Worst-case bytes each module borrows from the secure pool in a single call.
Declared here because PROTOCORE_SECURE_ARENA_SIZE below is derived from them and this is the one place that can see them all - a module header cannot host its own, since every module header includes this file. Each value is PROVED where the struct lives: the owning .cpp carries a static_assert(sizeof(X) <= PROTOCORE_WORK_X), so a working set that grows past its declaration fails the build naming itself, rather than exhausting the pool at run time.
These are SIZES, not offsets. Nothing here couples one module to another: each is a term in a sum, order is irrelevant, and adding a module shifts no one. That is the difference from the crypto_work region map these replaced.
Values are what the ESP32 toolchain reported for the real structs, rounded up.
Definition at line 494 of file feature_en_error.h.
| #define PROTOCORE_SHA1_BORROW 160 |
Definition at line 502 of file feature_en_error.h.
| #define PROTOCORE_SSH_KEXHASH_BORROW (PROTOCORE_SHA512_BORROW + 8) |
Definition at line 509 of file feature_en_error.h.
| #define PROTOCORE_SHA512_BORROW 448 |
Definition at line 517 of file feature_en_error.h.
| #define PROTOCORE_SHA384_BORROW 448 |
Definition at line 523 of file feature_en_error.h.
| #define PROTOCORE_HMAC_SHA512_BORROW (2 * PROTOCORE_SHA512_BORROW + 768) |
Definition at line 530 of file feature_en_error.h.
| #define PROTOCORE_HMAC_SHA384_BORROW (2 * PROTOCORE_SHA384_BORROW + 768) |
Definition at line 536 of file feature_en_error.h.
| #define PROTOCORE_HMAC_SHA256_BORROW (2 * PROTOCORE_SHA256_BORROW + 384) |
Definition at line 543 of file feature_en_error.h.
| #define PROTOCORE_WORK_BIGNUM_HW 1328 |
Definition at line 549 of file feature_en_error.h.
| #define PROTOCORE_WORK_BIGNUM_SW 1408 |
Definition at line 552 of file feature_en_error.h.
| #define PROTOCORE_AESGCM_BORROW_HW 416 |
Definition at line 560 of file feature_en_error.h.
| #define PROTOCORE_AESGCM_BORROW_SW 640 |
Definition at line 563 of file feature_en_error.h.
| #define PROTOCORE_AESGCM_BORROW PROTOCORE_AESGCM_BORROW_SW |
Definition at line 569 of file feature_en_error.h.
| #define PROTOCORE_WORK_AESCCM 448 |
Definition at line 573 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128_HW 288 |
Definition at line 580 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128_SW 176 |
Definition at line 583 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128 PROTOCORE_WORK_AES128_SW |
Definition at line 589 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128GCM_HW 416 |
Definition at line 597 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128GCM_SW 576 |
Definition at line 600 of file feature_en_error.h.
| #define PROTOCORE_WORK_AES128GCM PROTOCORE_WORK_AES128GCM_SW |
Definition at line 606 of file feature_en_error.h.
| #define PROTOCORE_CHACHAPOLY_BORROW (64 + PROTOCORE_CHACHA20_BORROW + PROTOCORE_POLY1305_BORROW) |
Definition at line 614 of file feature_en_error.h.
| #define PROTOCORE_CHACHA20_BORROW 192 |
Definition at line 619 of file feature_en_error.h.
| #define PROTOCORE_AES256CTR_BORROW 384 |
Definition at line 624 of file feature_en_error.h.
| #define PROTOCORE_POLY1305_BORROW 96 |
Definition at line 629 of file feature_en_error.h.
| #define PROTOCORE_AES_CMAC_BORROW 384 |
Definition at line 635 of file feature_en_error.h.
| #define PROTOCORE_MD_BORROW 448 |
Definition at line 642 of file feature_en_error.h.
| #define PROTOCORE_SHA3_BORROW 224 |
Definition at line 649 of file feature_en_error.h.
| #define PROTOCORE_KDF_BORROW (PROTOCORE_HMAC_SHA256_BORROW + 64) |
Definition at line 654 of file feature_en_error.h.
| #define PROTOCORE_GHASH_BORROW 256 |
Definition at line 660 of file feature_en_error.h.
| #define PROTOCORE_BIGNUM_BORROW 304 |
Definition at line 666 of file feature_en_error.h.
| #define PROTOCORE_AESCCM_BORROW PROTOCORE_WORK_AESCCM |
Definition at line 673 of file feature_en_error.h.
| #define PROTOCORE_AES128GCM_BORROW (PROTOCORE_WORK_AES128GCM + PROTOCORE_WORK_AES128) |
Definition at line 680 of file feature_en_error.h.
| #define PROTOCORE_TLS_RECORD_AEAD_BORROW PROTOCORE_AESGCM_BORROW |
Definition at line 692 of file feature_en_error.h.
| #define PROTOCORE_CURVE25519_BORROW 960 |
Definition at line 700 of file feature_en_error.h.
| #define PROTOCORE_ED25519_BORROW (768 + PROTOCORE_SHA512_BORROW) |
Definition at line 706 of file feature_en_error.h.
| #define PROTOCORE_RSA_KEY_BYTES 256 |
Definition at line 712 of file feature_en_error.h.
| #define PROTOCORE_RSA_BORROW (PROTOCORE_SHA256_BORROW + PROTOCORE_SHA512_BORROW + PROTOCORE_BIGNUM_BORROW + 2432) |
Definition at line 719 of file feature_en_error.h.
| #define PROTOCORE_MLKEM_BORROW PROTOCORE_SHA3_BORROW |
Definition at line 724 of file feature_en_error.h.
| #define PROTOCORE_SNTRUP761_BORROW PROTOCORE_SHA512_BORROW |
Definition at line 729 of file feature_en_error.h.
| #define PROTOCORE_RNG_BORROW (88 + PROTOCORE_CHACHA20_BORROW) |
Definition at line 736 of file feature_en_error.h.
| #define PROTOCORE_WORK_SSH_CONN (4u * (size_t)SSH_PKT_BUF_SIZE) |
Definition at line 752 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_MSG_CAP 1024 |
Definition at line 762 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_REC_CAP 1024 |
Definition at line 765 of file feature_en_error.h.
| #define PROTOCORE_TLS13_SECRET_MAX 48 |
Definition at line 771 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_TERMS 5 |
Definition at line 777 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_TERMS_CAP ((size_t)PROTOCORE_TLS_CONN_TERMS * PROTOCORE_TLS13_SECRET_MAX) |
Definition at line 780 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_STATE_CAP 3872 |
Definition at line 789 of file feature_en_error.h.
| #define PROTOCORE_TLS_CONN_PEERKEY_CAP 320 |
Definition at line 797 of file feature_en_error.h.
| #define PROTOCORE_TLS13_KS_TERMS 12 |
Definition at line 804 of file feature_en_error.h.
| #define PROTOCORE_TLS13_KS_BORROW ((size_t)PROTOCORE_TLS13_KS_TERMS * PROTOCORE_TLS13_SECRET_MAX + PROTOCORE_HKDF_SHA384_BORROW) |
Definition at line 810 of file feature_en_error.h.
| #define PROTOCORE_TLS13_TRANSCRIPT_BORROW PROTOCORE_SHA256_BORROW |
Definition at line 820 of file feature_en_error.h.
| #define PROTOCORE_WORK_TLS_CONN |
Definition at line 824 of file feature_en_error.h.
| #define PROTOCORE_SSE_BORROW (MAX_ROUTES * 8 + SSE_BUF_SIZE + 32) |
Size in bytes of the per-slot SECURE pool (see mmgr/secure.h), DERIVED.
Not a chosen number. Every borrow from this pool is a working set some module declares - see the PROTOCORE_WORK_* constants, each proved against its struct's sizeof by a static_assert in the module that owns it. The floor is the sum of the ones a build actually compiles.
A sum, not a deepest-nest figure. The sum is a strict upper bound - correct however those working sets nest under one another - whereas a nest depth is only correct while the call graph stays as it is. This value must not be wrong, so it buys certainty with a little slack.
A module whose working set grows past its declaration fails the build, naming itself, instead of exhausting the pool at run time. Override PROTOCORE_SECURE_ARENA_SIZE to pin a size regardless.
Definition at line 851 of file feature_en_error.h.
| #define PROTOCORE_WS_BORROW (MAX_ROUTES * 24 + RX_BUF_SIZE + 32) |
Definition at line 858 of file feature_en_error.h.
| #define PROTOCORE_CSRF_BORROW (64 + PROTOCORE_HMAC_SHA256_BORROW) |
Definition at line 865 of file feature_en_error.h.
| #define PROTOCORE_AUTH_LOCKOUT_BORROW ((size_t)PROTOCORE_AUTH_LOCKOUT_SLOTS * 48u) |
Definition at line 872 of file feature_en_error.h.
| #define PROTOCORE_FORWARDED_TRUST_BORROW ((size_t)PROTOCORE_TRUSTED_PROXY_MAX * 32u) |
Definition at line 879 of file feature_en_error.h.
| #define PROTOCORE_AUDIT_LOG_BORROW ((size_t)PROTOCORE_AUDIT_LOG_ENTRIES * (PROTOCORE_AUDIT_MSG_LEN + PROTOCORE_AUDIT_HASH_LEN + 64u) + 128u) |
Definition at line 886 of file feature_en_error.h.
| #define PROTOCORE_WEB_TERMINAL_BORROW (MAX_PATH_LEN + MAX_WS_CONNS + 32u) |
Definition at line 893 of file feature_en_error.h.
| #define PROTOCORE_CONFIG_STORE_BORROW (PROTOCORE_CONFIG_KEY_MAX + 32u) |
Definition at line 899 of file feature_en_error.h.
| #define PROTOCORE_RELAY_LISTENER_BORROW |
Definition at line 907 of file feature_en_error.h.
| #define PROTOCORE_GATEWAY_BORROW ((size_t)PROTOCORE_GW_MAX_PORTS * 32u + 128u) |
Definition at line 917 of file feature_en_error.h.
| #define PROTOCORE_IFACE_BRIDGE_BORROW ((size_t)PROTOCORE_BRIDGE_MAX_RULES * 64u + 64u) |
Definition at line 925 of file feature_en_error.h.
| #define PROTOCORE_IFACE_BRIDGE_HW_BORROW ((size_t)PROTOCORE_BRIDGE_MAX_RULES * 16u + PROTOCORE_BRIDGE_STREAM_CHUNK + 64u) |
Definition at line 933 of file feature_en_error.h.
| #define PROTOCORE_WEBDAV_BORROW 4096 |
Definition at line 945 of file feature_en_error.h.
| #define PROTOCORE_PROVISIONING_BORROW 32 |
Definition at line 953 of file feature_en_error.h.
| #define PROTOCORE_HOTSWAP_BORROW 128 |
Definition at line 963 of file feature_en_error.h.
| #define PROTOCORE_SMBUS_BORROW 64 |
Definition at line 973 of file feature_en_error.h.
| #define PROTOCORE_MPR121_BORROW 128 |
Definition at line 982 of file feature_en_error.h.
| #define PROTOCORE_HMMD_BORROW 256 |
Definition at line 991 of file feature_en_error.h.
| #define PROTOCORE_LD2410_BORROW 320 |
Definition at line 1000 of file feature_en_error.h.
| #define PROTOCORE_DASHBOARD_BORROW ((size_t)PROTOCORE_DASHBOARD_MAX_WIDGETS * 4u + 2u * MAX_PATH_LEN + 64u) |
Definition at line 1008 of file feature_en_error.h.
| #define PROTOCORE_I2C_DEVICE_BORROW 32 |
Definition at line 1016 of file feature_en_error.h.
| #define PROTOCORE_BUS_CAPTURE_BORROW 32u |
Definition at line 1023 of file feature_en_error.h.
| #define PROTOCORE_QUIC_CONN_CTX_BORROW 13952 |
Definition at line 1034 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_BIGNUM (PROTOCORE_WORK_BIGNUM_SW + PROTOCORE_WORK_SSH_HOST_KEY) |
Definition at line 1045 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_AEAD 0 |
Definition at line 1054 of file feature_en_error.h.
| #define PROTOCORE_SMB_CLIENT_BORROW (2u * PROTOCORE_SMB_BUF + 5u * (PROTOCORE_SMB_BUF / 2) + PROTOCORE_CRYPTO_BORROW_MAX) |
Definition at line 1063 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SMBCLIENT 0 |
Definition at line 1070 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SMB 0 |
Definition at line 1077 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHCIPHER 0 |
Definition at line 1084 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHCONN 0 |
Definition at line 1085 of file feature_en_error.h.
| #define PROTOCORE_SSH_CLIENT_BORROW 384u |
Definition at line 1098 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHCLIENT 0 |
Definition at line 1105 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHSLOTS 0 |
Definition at line 1115 of file feature_en_error.h.
| #define PROTOCORE_SSH_RSA_BORROW 64u |
Definition at line 1122 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHRSA 0 |
Definition at line 1128 of file feature_en_error.h.
| #define PROTOCORE_SSH_CONNECTION_BORROW ((size_t)PROTOCORE_SSH_RFWD_MAX * (PROTOCORE_SSH_FWD_HOST_MAX + 16u) + 128u) |
Definition at line 1136 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHCONNECTION 0 |
Definition at line 1142 of file feature_en_error.h.
| #define PROTOCORE_SSH_AUTH_BORROW ((size_t)MAX_SSH_CONNS * 160u + 32u) |
Definition at line 1151 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHAUTH 0 |
Definition at line 1157 of file feature_en_error.h.
| #define PROTOCORE_SSH_TRANSPORT_BORROW 192u |
Definition at line 1164 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSHTRANSPORT 0 |
Definition at line 1170 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_AUTH 0 |
Definition at line 1176 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SSE 0 |
Definition at line 1182 of file feature_en_error.h.
| #define PROTOCORE_H2_CONN_RECORD 32768 |
Definition at line 1192 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_H2_SERVER 0 |
Definition at line 1202 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_WS 0 |
Definition at line 1208 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_CSRF 0 |
Definition at line 1214 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_LOCKOUT 0 |
Definition at line 1220 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_FWDTRUST 0 |
Definition at line 1226 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_AUDIT 0 |
Definition at line 1232 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_WEBTERM 0 |
Definition at line 1238 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_CFGSTORE 0 |
Definition at line 1244 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_RELAYLISTEN 0 |
Definition at line 1250 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_GATEWAY 0 |
Definition at line 1256 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_IFACEBRIDGE 0 |
Definition at line 1262 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_IFACEBRIDGEHW 0 |
Definition at line 1268 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_WEBDAV 0 |
Definition at line 1274 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_PROVISIONING 0 |
Definition at line 1280 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_HOTSWAP 0 |
Definition at line 1286 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SMBUS 0 |
Definition at line 1292 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_MPR121 0 |
Definition at line 1298 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_HMMD 0 |
Definition at line 1304 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_LD2410 0 |
Definition at line 1310 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_DASHBOARD 0 |
Definition at line 1316 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_ADS1115 0 |
Definition at line 1322 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_INA219 0 |
Definition at line 1328 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_PCA9685 0 |
Definition at line 1334 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_FDC2214 0 |
Definition at line 1340 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_LDC1614 0 |
Definition at line 1346 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_VL53L0X 0 |
Definition at line 1352 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_RTC 0 |
Definition at line 1358 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SHT3X 0 |
Definition at line 1364 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_BUSCAPTURE 0 |
Definition at line 1370 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_TLSCONN 0 |
Definition at line 1376 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_QUICCONN 0 |
Definition at line 1384 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SHA1 0 |
Definition at line 1390 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SHA3 0 |
Definition at line 1396 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SHA256 0 |
Definition at line 1402 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_CURVE25519 0 |
Definition at line 1408 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_ED25519 0 |
Definition at line 1414 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_ECDSA 0 |
Definition at line 1420 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_RSA 0 |
Definition at line 1426 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_MLKEM 0 |
Definition at line 1432 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_SNTRUP761 0 |
Definition at line 1438 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_AES128GCM 0 |
Definition at line 1446 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_RNG 0 |
Definition at line 1453 of file feature_en_error.h.
| #define PROTOCORE_DNS_RESOLVER_BORROW 192u |
Definition at line 1463 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_DNSRESOLVER 0 |
Definition at line 1469 of file feature_en_error.h.
| #define PROTOCORE_TLS_SEAM_OUT_CAP 2048 |
Definition at line 1475 of file feature_en_error.h.
| #define PROTOCORE_TLS_BORROW ((size_t)MAX_CONNS * 3584u + (size_t)PROTOCORE_TLS_SEAM_OUT_CAP + 128u) |
Definition at line 1486 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_TLSSEAM 0 |
Definition at line 1492 of file feature_en_error.h.
| #define PROTOCORE_X509_VERIFY_BORROW ((size_t)PROTOCORE_RSA_KEY_BYTES + 8u + PROTOCORE_RSA_BORROW) |
Definition at line 1500 of file feature_en_error.h.
| #define PROTOCORE_SECURE_WORK_X509VERIFY 0 |
Definition at line 1509 of file feature_en_error.h.
| #define PROTOCORE_SECURE_ARENA_SIZE |
Definition at line 1512 of file feature_en_error.h.
| #define PROTOCORE_WORKER_STACK_PQC_MIN 16384 |
Definition at line 1643 of file feature_en_error.h.
| #define PROTOCORE_WORKER_STACK_SNTRUP_MIN 32768 |
Definition at line 1659 of file feature_en_error.h.
| #define PROTO_MAX_HANDLERS 12 |
Size of the protocol-handler dispatch table; must exceed the largest ProtoConn id.
Definition at line 1907 of file feature_en_error.h.
| #define PROTOCORE_SSH_CPUB_MAX 256 |
Reverse-SSH tunnel: max concurrent forwarded-tcpip channels bridged at once. A relay that forwards to a web UI opens one channel per inbound TCP connection, so this bounds concurrency.
Max stored size of the exchange value the client sends (RFC 4253 sec 8 'e', RFC 8731 Q_C, or a hybrid C_INIT), kept for the exchange hash.
Worst case for the build: an ML-KEM-768 ek (1184) or sntrup761 pk (1158) followed by the 32-byte X25519 public, else the 256-byte dh-group14 'e'. ssh_transport.c static_asserts this against MLKEM768_EK_BYTES and PROTOCORE_SNTRUP761_PK_BYTES, which only that translation unit can see.
Definition at line 1948 of file feature_en_error.h.