Skip to content

srp: num-bigint isn't constant-time #191

@tarcieri

Description

@tarcieri

srp is implemented in terms of the num-bigint crate, which automatically eliminates "limbs" in its bignums which contain leading zeros. This leads to all sorts of data-dependent timing behavior, similar to RustCrypto/RSA#19

Metadata

Metadata

Assignees

No one assigned

    Labels

    securitySecurity Vulnerabilities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions