1 comments

  • happyPersonR5 hours ago
    Are there any benchmarks for this? Maybe a good next step :)
    • lemaudit3 hours ago
      Nothing formal. I&#x27;ve compared the NI path against OpenSSL&#x27;s on my slow computer and got ~252 MB&#x2F;s whereas OpenSSL&#x27;s is ~579 MB&#x2F;s. (tested on 128 bit key size ECB mode with input length 128 bits). So I am aware of a bottleneck I&#x27;ve been working on.<p>The software fallback is optimized for multiblock encryption and it&#x27;s constant time so I haven&#x27;t benchmarked it but could. If people prefer using it for just single block encrypt&#x2F;decrypt I could change things around.<p>I am planning on adding a benchmark target shortly