Files
AnyPS5/core/libs/prx/libSceSsl/MbedConfig.hpp
T
Claude 91d8416fdd fix(ssl): compile out the Mbed TLS self-test counters
With MBEDTLS_SELF_TEST, ecp.c counts point additions, doublings and
field multiplications in unsynchronized globals. Handshakes on separate
connections run in parallel, each under its own session lock, so the
counters race; ThreadSanitizer reports it on the parallel transport
test. Nothing calls the self-test functions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RoU3ZF76A6uR8sCA7NMLch
2026-10-17 11:00:59 +00:00

7 lines
147 B
C++

#pragma once
#define MBEDTLS_PLATFORM_MEMORY
#undef MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
#undef MBEDTLS_SSL_PROTO_TLS1_3
#undef MBEDTLS_SELF_TEST