Skip to content

Remove all mbedtls references from the codebase#28

Merged
achamayou merged 4 commits intomainfrom
copilot/remove-mbedtls-usage
Feb 12, 2026
Merged

Remove all mbedtls references from the codebase#28
achamayou merged 4 commits intomainfrom
copilot/remove-mbedtls-usage

Conversation

Copy link
Contributor

Copilot AI commented Feb 12, 2026

Remove mbedtls as a dependency — includes the library bindings, build integration, tests, CI, and documentation.

  • merklecpp.h: Remove #include <mbedtls/sha256.h>, sha256_compress_mbedtls(), and sha256_mbedtls() functions
  • CMakeLists.txt: Remove MBEDTLS option and find_library/link block
  • test/CMakeLists.txt: Remove MBEDTLS from the condition gating compare_hash_functions target
  • test/compare_hash_functions.cpp: Remove MbedTLSTree/MbedTLSFullTree typedefs, all HAVE_MBEDTLS conditional blocks (insertions, comparisons, benchmarks), simplify compound preprocessor guards
  • test/demo_tree.cpp: Remove mbedTLS-SHA256 snippet block
  • .github/workflows/ci.yml: Remove libmbedtls-dev from apt install, remove -DMBEDTLS=ON from cmake configure
  • doc/index.rst: Remove mbedTLS mentions from prose and doxygenfunction directives for the two removed functions

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 12, 2026 11:42
- Remove MBEDTLS CMake option and find_library block from CMakeLists.txt
- Remove MBEDTLS condition from test/CMakeLists.txt
- Remove mbedtls include and sha256 functions from merklecpp.h
- Remove all HAVE_MBEDTLS conditional code from test files
- Remove libmbedtls-dev install and -DMBEDTLS=ON from CI workflow
- Remove mbedTLS references from documentation

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
…gnore

Co-authored-by: achamayou <4016369+achamayou@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove all usage of mbedtls from code and documentation Remove all mbedtls references from the codebase Feb 12, 2026
Copilot AI requested a review from achamayou February 12, 2026 11:43
@achamayou achamayou marked this pull request as ready for review February 12, 2026 11:54
@achamayou achamayou merged commit a893b00 into main Feb 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants