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. 12 Apr, 2014 1 commit
  3. 18 Mar, 2014 2 commits
  4. 16 Mar, 2014 1 commit
  5. 29 Jan, 2014 1 commit
  6. 26 Apr, 2013 2 commits
  7. 07 Jul, 2012 1 commit
  8. 18 Feb, 2012 1 commit
  9. 01 Nov, 2008 1 commit
    • Niels Möller's avatar
      Moved all typedefs for function types to nettle-types.h. Use · e6782e05
      Niels Möller authored
      non-pointer types, so that the types can be used to declare functions.
      Updated all users.
      
      Rev: nettle/arcfour-meta.c:1.2
      Rev: nettle/cbc.h:1.2
      Rev: nettle/des-compat.c:1.2
      Rev: nettle/examples/nettle-benchmark.c:1.3
      Rev: nettle/examples/nettle-openssl.c:1.2
      Rev: nettle/examples/rsa-encrypt.c:1.2
      Rev: nettle/examples/rsa-keygen.c:1.2
      Rev: nettle/nettle-internal.c:1.2
      Rev: nettle/nettle-meta.h:1.2
      Rev: nettle/nettle-types.h:1.2
      Rev: nettle/testsuite/dsa-keygen-test.c:1.3
      Rev: nettle/testsuite/rsa-encrypt-test.c:1.3
      Rev: nettle/testsuite/rsa-keygen-test.c:1.3
      Rev: nettle/testsuite/testutils.c:1.3
      e6782e05
  10. 03 Oct, 2005 1 commit
  11. 28 Sep, 2005 2 commits
  12. 13 Nov, 2004 1 commit
  13. 20 Oct, 2004 1 commit
  14. 07 Feb, 2004 1 commit
    • Niels Möller's avatar
      When calling des_key_sched and · 05968af0
      Niels Möller authored
      des_ecb_encrypt, cst arguments to (void *). Openssl's typedefs
      des_cblock and const_des_cblock are too broken.
      
      Rev: src/nettle/examples/nettle-openssl.c:1.3
      05968af0
  15. 12 May, 2003 1 commit
    • Niels Möller's avatar
      * Reordered includes in most or all .c-files. All should now include · c5c15385
      Niels Möller authored
      config.h.
      
      Rev: src/nettle/ChangeLog:1.195
      Rev: src/nettle/aes-decrypt-table.c:1.4
      Rev: src/nettle/aes-decrypt.c:1.5
      Rev: src/nettle/aes-encrypt-table.c:1.4
      Rev: src/nettle/aes-encrypt.c:1.5
      Rev: src/nettle/aes-meta.c:1.3
      Rev: src/nettle/aes-set-decrypt-key.c:1.2
      Rev: src/nettle/aes-set-encrypt-key.c:1.2
      Rev: src/nettle/aes.c:1.12
      Rev: src/nettle/aesdata.c:1.2
      Rev: src/nettle/arcfour-meta.c:1.2
      Rev: src/nettle/arcfour.c:1.3
      Rev: src/nettle/base16-decode.c:1.2
      Rev: src/nettle/base16-encode.c:1.2
      Rev: src/nettle/base16-meta.c:1.3
      Rev: src/nettle/base64-decode.c:1.5
      Rev: src/nettle/base64-encode.c:1.3
      Rev: src/nettle/base64-meta.c:1.4
      Rev: src/nettle/bignum-random.c:1.3
      Rev: src/nettle/bignum.c:1.7
      Rev: src/nettle/blowfish.c:1.4
      Rev: src/nettle/buffer-init.c:1.3
      Rev: src/nettle/buffer.c:1.8
      Rev: src/nettle/cast128-meta.c:1.3
      Rev: src/nettle/cast128.c:1.4
      Rev: src/nettle/cbc.c:1.6
      Rev: src/nettle/des-compat.c:1.10
      Rev: src/nettle/des.c:1.7
      Rev: src/nettle/des3.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.6
      Rev: src/nettle/dsa-sign.c:1.7
      Rev: src/nettle/dsa-verify.c:1.4
      Rev: src/nettle/dsa.c:1.5
      Rev: src/nettle/examples/io.c:1.4
      Rev: src/nettle/examples/nettle-benchmark.c:1.8
      Rev: src/nettle/examples/nettle-openssl.c:1.2
      Rev: src/nettle/examples/rsa-keygen.c:1.10
      Rev: src/nettle/examples/rsa-sign.c:1.5
      Rev: src/nettle/examples/rsa-verify.c:1.4
      Rev: src/nettle/hmac-md5.c:1.5
      Rev: src/nettle/hmac-sha1.c:1.2
      Rev: src/nettle/hmac-sha256.c:1.2
      Rev: src/nettle/hmac.c:1.4
      Rev: src/nettle/knuth-lfib.c:1.2
      Rev: src/nettle/md5-compat.c:1.3
      Rev: src/nettle/md5-meta.c:1.2
      Rev: src/nettle/md5.c:1.6
      Rev: src/nettle/memxor.c:1.2
      Rev: src/nettle/nettle-internal.c:1.3
      Rev: src/nettle/pgp-encode.c:1.4
      Rev: src/nettle/pkcs1-rsa-md5.c:1.2
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.2
      Rev: src/nettle/pkcs1.c:1.2
      Rev: src/nettle/realloc.c:1.3
      Rev: src/nettle/rsa-compat.c:1.8
      Rev: src/nettle/rsa-decrypt.c:1.4
      Rev: src/nettle/rsa-encrypt.c:1.5
      Rev: src/nettle/rsa-keygen.c:1.5
      Rev: src/nettle/rsa-md5-sign.c:1.2
      Rev: src/nettle/rsa-md5-verify.c:1.2
      Rev: src/nettle/rsa-sha1-sign.c:1.2
      Rev: src/nettle/rsa-sha1-verify.c:1.2
      Rev: src/nettle/rsa-sign.c:1.3
      Rev: src/nettle/rsa-verify.c:1.2
      Rev: src/nettle/rsa.c:1.12
      Rev: src/nettle/rsa2openpgp.c:1.2
      Rev: src/nettle/rsa2sexp.c:1.7
      Rev: src/nettle/serpent-meta.c:1.2
      Rev: src/nettle/serpent.c:1.4
      Rev: src/nettle/sexp-format.c:1.9
      Rev: src/nettle/sexp-transport-format.c:1.2
      Rev: src/nettle/sexp-transport.c:1.4
      Rev: src/nettle/sexp.c:1.14
      Rev: src/nettle/sexp2bignum.c:1.5
      Rev: src/nettle/sexp2dsa.c:1.4
      Rev: src/nettle/sexp2rsa.c:1.11
      Rev: src/nettle/sha1-meta.c:1.2
      Rev: src/nettle/sha1.c:1.8
      Rev: src/nettle/sha256-meta.c:1.2
      Rev: src/nettle/sha256.c:1.3
      Rev: src/nettle/tools/input.c:1.2
      Rev: src/nettle/tools/misc.c:1.2
      Rev: src/nettle/tools/output.c:1.3
      Rev: src/nettle/tools/parse.c:1.2
      Rev: src/nettle/tools/sexp-conv.c:1.14
      Rev: src/nettle/twofish-meta.c:1.2
      Rev: src/nettle/twofish.c:1.6
      Rev: src/nettle/yarrow256.c:1.17
      Rev: src/nettle/yarrow_key_event.c:1.4
      c5c15385
  16. 08 Nov, 2002 1 commit
    • Niels Möller's avatar
      Moved from the top-level directory. · 235f6868
      Niels Möller authored
      Should *not* be included in the nettle library.
      
      Rev: src/nettle/Makefile.am:1.53
      Rev: src/nettle/examples/Makefile.am:1.14
      Rev: src/nettle/examples/nettle-openssl.c:1.1
      Rev: src/nettle/nettle-openssl.c:1.2(DEAD)
      235f6868
  17. 18 Jul, 2002 1 commit