Comments (3)
I forgot to mention I'm using the 1.3.1 release of PolarSSL.
from mbedtls.
Thanks for your report! Indeed you're right, and reduction mod n
should be performed. This just got fixed in the internal development branch and will be in the next minor release.
I'm rather surprised you ran into this issue, since heuristically it seems to me it should happen roughly with probability 2^(-l/2) where l is the bit length of "the curve" (that is, of P or N), so it should be very unlikely with the kind of curve size used in cryptographic applications.
from mbedtls.
Updated in private branch ready for 1.3.2 release
from mbedtls.
Related Issues (20)
- 3.5.0-3.5.2 Performing the SSL/TLS handshake will report error mac does not match HOT 2
- mbedtls_ssl_close_notify will silently failed if preceeded by an incomplete mbedtls_ssl_write HOT 2
- Nonstandard extension - zero-sized array in struct/union HOT 3
- memory leak in function mbedtls_mpi_exp_mod HOT 4
- Implement and use a once mechanism
- Revise handling and testing of module-internal optimization options HOT 3
- Improve test key generation in test_suite_pk
- Direct use of *.py files HOT 3
- ESP32 Applying mbedtls_ecdsa_write_signature_det Error BIGNUM - The buffer is too small to write to HOT 2
- Create mbedtls-framework repository HOT 2
- Make mbedtls require the framework submodule
- Adapt the release process to cover the framework submodule HOT 3
- Pass the readthedocs CI with the framework submodule HOT 2
- Clean up inconsistency in how tests/scripts/quiet/quiet.sh is called
- PSA_ALG_CTR: pad shorter IV
- cipher: CAMELLIA-OFB and ARIA-OFB are not supported
- Test gap: mbedtls_pk_check_pair with MBEDTLS_PK_OPAQUE HOT 2
- Fix mbedtls_pk_check_pair error code inconsistency
- Generalize opaque PSK support in TLS without MBEDTLS_USE_PSA_CRYPTO HOT 1
- ssl-opt.sh mixes query_compile_time_config and ssl_server2 query_config
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.