Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/rsa: port PrivateKey.Validate to bigmod, add validations #70236

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 7, 2024

  1. crypto/rsa: port PrivateKey.Validate to bigmod, add validations

    This patch ports the implementation of PrivateKey.Validate to use the
    bigmod math library, ensuring that the arithmetic operations happen in
    constant time. A few new APIs have been added to bigmod to add
    operations which don't explicitly require modulus arithmetic, but do
    take the modulus size into account to ensure we don't leak any
    non-public information.
    
    In addition to porting this routine to use bigmod this patch also adds a
    few more steps to the validation as defined by NIST SP 800-56B REV. 2
    Section 6.4.1.4.3.
    
    For golang#69536
    derekparker committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    570721d View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    082ff9e View commit details
    Browse the repository at this point in the history