Skip to content
  • Nick Mathewson's avatar
    Use openssl's counter mode implementation when we have 1.0.0 or later · 9814019a
    Nick Mathewson authored
    This shaves about 7% off our per-cell AES crypto time for me; the
    effect for accelerated AES crypto should be even more, since the AES
    calculation itself will make an even smaller portion of the
    counter-mode performance.
    
    (We don't want to do this for pre-1.0.0 OpenSSL, since our AES_CTR
    implementation was actually faster than OpenSSL's there, by about
    10%.)
    
    Fixes issue #4526.
    9814019a