Git Product home page Git Product logo

Comments (3)

paul-elliott-arm avatar paul-elliott-arm commented on June 9, 2024

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.

AshvajitP avatar AshvajitP commented on June 9, 2024

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.

paul-elliott-arm avatar paul-elliott-arm commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.