Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #10031

Closed
Open
Created Oct 26, 2013 by Philipp Winter@phw

Use fast modular exponentiation for UniformDH

obfs3 currently uses Python's built-in pow() for modular exponentiation. The computation can be made less expensive by using GMPY. Apart from making UniformDH computationally less expensive, it creates less of a timing signature. That's relevant for ScrambleSuit as its two authentication methods should be indistinguishable.

I have patches for this improvement in my user repository in the branch use_gmp: https://gitweb.torproject.org/user/phw/obfsproxy.git

Note that the patch requires the module gmpy which is not part of Python's standard library. Debian knows the package as python-gmpy.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking