Comments (7)
In the description:
OpenSSL in s390x architecture
Missing search and replace with Arm? :)
from openssl.
There is a reason why an ECDH secret is usually not used in more than one key agreement.
from openssl.
Depends on the use case. TLS doesn't because TLS uses signing keys for the long-lived credential, but there are plenty of protocols that are designed differently. HPKE, other ECIES schemes, Signal, the original QUIC handshake, etc.
Constant time ECDH isn't meaningfully harder than constant time ECDSA signing. Arguably easier. ECDSA is a point multiplication and then some. (Although they're not quite the same multiplication. ECDSA is a base point multiplication and ECDH is an arbitrary point. But that doesn't change how hard constant time is.)
from openssl.
@GeorgePantelakis the signal is very small ~1ns and I would be very curious to see any real world attack scenario that could take an advantage of such small signal.
from openssl.
@t8m That might be true, at least for now, but as you can see for Skylark in the deterministic path the signal is ~3ns so that could be an issue.
from openssl.
@GeorgePantelakis the signal is very small ~1ns and I would be very curious to see any real world attack scenario that could take an advantage of such small signal.
Note that the leakage is most likely in scalar multiplication, which means ECDH is also most likely affected. So, anything that exposes a network API that uses static ECDH, for example, Json Web Encryption, can be attacked through this.
Confirming 1ns difference over the network is 100% possible, I've done that multiple times, it's just a question of persistence.
from openssl.
There is a reason why an ECDH secret is usually not used in more than one key agreement.
that's why I wrote "static ECDH", not "ECDHE".
Yes, for ECDHE, like in TLS, IPsec or SSH, when the key is used once, or just few hundred times, a remote network timing attack is basically impossible with leakage this small.
from openssl.
Related Issues (20)
- memory leak SSL_connect 3.2.x HOT 13
- Could you provide a method to get random value k in DSA/ECDSA? HOT 1
- Test failures HOT 6
- In OpenSSL 3, ASN1_item_verify*() can return 2 on error. HOT 1
- (Premium contract) OpenSSL 1.1.1y version string needs to be fixed HOT 3
- ThreadLocalStorage leak in openssl 3.3.1 HOT 11
- Add safe way to pass shared secret to `openssl mac` and/or `openssl dgst -hmac` HOT 3
- Missing function to get compressed public EC key
- The switches `386`, `no-asm` and `no-sse2` don't disable emission of SSE2 instructions when compiling HOT 4
- Can't create a Version 1 end entity X.509 certificate HOT 1
- EVP_PKEY_CTX_add1_hkdf_info() no longer works with providers that do not expose gettable parameters in ossl_kdf_hkdf_keyexch_functions array HOT 3
- Corruption self tests are skipped when verify_integrity is failed HOT 1
- Support X25519Kyber768Draft00 or X25519Kyber768 HOT 8
- New security rules HOT 1
- Data race in tls_process_new_session_ticket? HOT 21
- A method for duplicating library context HOT 6
- SM
- How Do I Change the SM2 Key Format In Openssl3.0
- Implement `EVP_MD_FLAG_*FIPS*`
- UNCHECKED FUNCTION RESULT HOT 1
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 openssl.