1. 26 Aug, 2017 1 commit
    • Daniel P. Berrange's avatar
      examples: convert nettle-benchmark to use openssl EVP APIs · 5c78bb73
      Daniel P. Berrange authored and Niels Möller's avatar Niels Möller committed
      
      
      The nettle-benchmark program currently uses the openssl low level
      cipher APIs for benchmarking. This means it always runs the generic
      software implementation, never able to take advantage of impls
      optimized for new hardware (eg AES-NI).
      
      Rewriting it to use the higher EVP APIs means we can use the same
      code for all ciphers, and automatically trigger hardware optimized
      versions, giving a fairer comparison against openssl as commonly
      used in applications.
      
      Use of the generic openssl impl can still be forced by setting an
      env variable  OPENSSL_ia32cap="~0x200000200000000"
      Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      5c78bb73
  2. 23 Oct, 2014 1 commit
  3. 23 Aug, 2014 1 commit
  4. 25 Apr, 2014 1 commit
  5. 12 Apr, 2014 1 commit
  6. 09 Apr, 2014 1 commit
  7. 18 Mar, 2014 2 commits
  8. 16 Mar, 2014 1 commit
  9. 15 Mar, 2014 1 commit
  10. 13 Feb, 2014 1 commit
  11. 06 Feb, 2014 1 commit
  12. 29 Jan, 2014 1 commit
  13. 27 Jan, 2014 2 commits
  14. 26 Jan, 2014 1 commit
  15. 16 Jan, 2014 1 commit
  16. 10 Nov, 2013 1 commit
  17. 18 Apr, 2013 1 commit
  18. 17 Apr, 2013 1 commit
  19. 11 Apr, 2013 1 commit
  20. 25 Mar, 2013 1 commit
  21. 01 Jan, 2013 1 commit
  22. 02 Dec, 2012 1 commit
  23. 13 Nov, 2012 1 commit
  24. 12 Nov, 2012 1 commit
  25. 11 Nov, 2012 1 commit
  26. 29 Oct, 2012 1 commit
  27. 10 Sep, 2012 1 commit
  28. 07 Sep, 2012 1 commit
  29. 07 Jul, 2012 1 commit
  30. 30 Mar, 2012 1 commit
  31. 18 Feb, 2012 1 commit
  32. 28 Aug, 2011 1 commit
  33. 29 Jun, 2011 1 commit
  34. 14 Feb, 2011 1 commit
  35. 10 Feb, 2011 2 commits
    • Niels Möller's avatar
      * examples/nettle-benchmark.c (cgt_works_p): New function. · 465dc416
      Niels Möller authored
      (cgt_time_start): Likewise.
      (cgt_time_end): Likewise.
      (clock_time_start): Likewise.
      (clock_time_end): Likewise.
      (time_function): Read clock via function pointers time_start and
      time_end, so we can select method at runtime.
      (xalloc): Use die function.
      (main): Choose timing function. If available, try clock_gettime,
      and fall back to clock if it doesn't exist.
      
      Rev: nettle/examples/nettle-benchmark.c:1.19
      465dc416
    • Niels Möller's avatar
      (die): New function. · d50bb01a
      Niels Möller authored
      (TIME_END, TIME_START): Check return value from clock_gettime.
      
      Rev: nettle/examples/nettle-benchmark.c:1.18
      d50bb01a
  36. 09 Feb, 2011 1 commit
  37. 05 Feb, 2011 1 commit