Unverified Commit 831821bc authored by Rod Vagg's avatar Rod Vagg Committed by Anatoli Papirovski
Browse files

deps: float 0c27d793 from openssl (ECDSA blinding)

Pending OpenSSL 1.1.0i release.

Refs: https://www.nccgroup.trust/us/our-research/technical-advisory-return-of-the-hidden-number-problem/
PR-URL: https://github.com/nodejs/node/pull/21345


Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarShigeki Ohtsu <ohtsu@ohtsu.org>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Upstream: https://github.com/openssl/openssl/commit/0c27d793



Original commit message:
    Add blinding to an ECDSA signature

    Keegan Ryan (NCC Group) has demonstrated a side channel attack on an
    ECDSA signature operation. During signing the signer calculates:

    s:= k^-1 * (m + r * priv_key) mod order

    The addition operation above provides a sufficient signal for a
    flush+reload attack to derive the private key given sufficient signature
    operations.

    As a mitigation (based on a suggestion from Keegan) we add blinding to
    the operation so that:

    s := k^-1 * blind^-1 (blind * m + blind * r * priv_key) mod order

    Since this attack is a localhost side channel only no CVE is assigned.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent c7c52127
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment