Skip to content
  • Geoff Thorpe's avatar
    By adding a BN_CTX parameter to the 'rsa_mod_exp' callback, private key · 46ef873f
    Geoff Thorpe authored
    operations no longer require two distinct BN_CTX structures. This may put
    more "strain" on the current BN_CTX implementation (which has a fixed limit
    to the number of variables it will hold), but so far this limit is not
    triggered by any of the tests pass and I will be changing BN_CTX in the
    near future to avoid this problem anyway.
    
    This also changes the default RSA implementation code to use the BN_CTX in
    favour of initialising some of its variables locally in each function.
    46ef873f
To find the state of this project's repository at the time of any of these versions, check out the tags.