Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different SSL backends to be used (specifically mbedTLS) #7

Open
systemcrash opened this issue Jul 28, 2023 · 1 comment
Open

Comments

@systemcrash
Copy link

https://github.com/project-chip/matter-openwrt/blame/71fe2d46f80af07be03eb5382da5e6562d6795bb/README.md#L34-L36

Is it s project requirement to use OpenSSL?

OpenWrt is moving to mbedTLS. Without doing a deeper dive, how flexible is this project SDK on which lib it will use?

@ksperling-apple
Copy link
Contributor

ksperling-apple commented Jul 29, 2023

The Matter SDK has a crypto abstraction layer in place and currently supports OpenSSL, BoringSSL, and mbedTLS (or the use of a custom platform implementation). There shouldn't be a problem with supporting mbedTLS when building under OpenWrt.

So there's no requirement to use OpenSSL as such, it's just the default when building on Linux (and I haven't tried to build against the WolfSSL compatibility layer to see if that just works or would require extra effort).

It sounds like medium term we should expose separate package variants with different backends similar to the hosted package.

@ksperling-apple ksperling-apple changed the title OpenSSL Allow different SSL backends to be used (specifically mbedTLS) Jul 29, 2023
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

No branches or pull requests

2 participants