Comments (3)
Hi,
Given your modification of the code and it being on an unsupported platform, I really don't think I can help you here. The mailing list ([email protected]) may be of more help, but I would doubt it given again, your code and platform is pretty unique. Some hints on porting to bare metal can be found here : https://mbed-tls.readthedocs.io/en/latest/kb/how-to/how-do-i-port-mbed-tls-to-a-new-environment-OS/
The only thing I can suggest is attaching a debugger and determining where the MBEDTLS_ERR_SSL_INTERNAL_ERROR is being returned, which might show at least what has not been initialised or what has failed, as there could be any number of causes of this, from what you have provided there is no way I could determine that.
from mbedtls.
Hi Paul,
Thanks for your reply, I am getting this error from https://github.com/Mbed-TLS/mbedtls/blob/development/library/ssl_tls.c#L4545 from ssl_tls.c at the last step when I am trying to do a handshake.
I have attached my mbedtls_config file, if #I am misisng any configuration for this.
from mbedtls.
Ok.
First point, that line number does not return that error code, it calls mbedtls_ssl_handshake_client_step()
, which really does not narrow things down at all.
I have seen your config, the problem here is that you are asking me to debug your code, which is something we are generally not going to do, and certainly not on an unsupported setup with modified code which we don't even have access to. That error code should not occur under normal situations, that either means you have not intialised something properly (unlikely) or some of your porting modifications are wrong (more likely).
If you have a reproducable bug on a supported system with a small reproducer, then please by all means open another ticket.
from mbedtls.
Related Issues (20)
- PSA client-server: run unit tests
- PSA client-server: support in the unit test framework
- PSA client-server: run multi-client tests
- PSA client-server build: disable client-side crypto
- PSA client-server: test parity report
- PSA client-server: enforce test parity
- Drop _C from option names
- Revise granularity of TLS options
- Revise the granularity of X.509 options
- PSA client-server: enable RSA
- Use PSA drivers to manage built-in crypto acceleration
- Revise options MBEDTLS_HAVE_TIME, MBEDTLS_HAVE_TIME_DATE
- X.509 certificate verification API when the platform doesn't have the current date
- Enable C90 programs to utilize Mbed TLS HOT 2
- mbedtls 3.6.0: submodule framework not found HOT 7
- error: memcpy(): too few arguments provided to function-like macro invocation HOT 4
- SSLlabs.com test fails HOT 11
- Issue Building MbedTLS 3.6.0 on Fedora HOT 4
- Improve `generate_test_keys.py` HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbedtls.