Giter VIP home page Giter VIP logo

Comments (7)

tom-cosgrove-arm avatar tom-cosgrove-arm commented on June 14, 2024 1

In the description:

OpenSSL in s390x architecture

Missing search and replace with Arm? :)

from openssl.

bernd-edlinger avatar bernd-edlinger commented on June 14, 2024 1

There is a reason why an ECDH secret is usually not used in more than one key agreement.

from openssl.

davidben avatar davidben commented on June 14, 2024 1

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.

t8m avatar t8m commented on June 14, 2024

@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.

GeorgePantelakis avatar GeorgePantelakis commented on June 14, 2024

@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.

tomato42 avatar tomato42 commented on June 14, 2024

@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.

tomato42 avatar tomato42 commented on June 14, 2024

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)

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.