diff --git a/.gitignore b/.gitignore
index 98ae06f46c17c04c92afc3a3e7805de84145bb5a..70ac5754a4d1dab35374444afa0b6f4e16a008ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,34 +1,15 @@
-RCS
-SCCS
-CVS
-CVS.adm
-RCSLOG
-cvslog.*
 tags
 TAGS
-.make.state
-.nse_depinfo
 *~
-#*
 .#*
-,*
-_$*
-*$
 *.old
-*.bak
-*.BAK
 *.orig
 *.rej
-.del-*
 *.a
-*.olb
 *.o
 *.obj
 *.so
 *.exe
-*.Z
-*.elc
-*.ln
 core
 /*.d
 /*.po
@@ -37,9 +18,7 @@ core
 /*.tar.gz.asc
 /.lib
 /*.asm
-/autom4te.cache
 /Makefile
-/aesdata
 /config.cache
 /config.h
 /config.h.in
@@ -48,12 +27,27 @@ core
 /config.make
 /config.status
 /configure
+/autom4te.cache
+/stamp-h
+/stamp-h.in
+/nettle-stdint.h
 /*.pc
 /machine.m4
+/aesdata
 /desdata
+/eccdata
+/eccdata.stamp
 /gcmdata
+/shadata
+/twofishdata
 /keymap.h
-/nettle-stdint.h
+/parity.h
+/rotors.h
+/ecc-192.h
+/ecc-224.h
+/ecc-256.h
+/ecc-384.h
+/ecc-521.h
 /nettle.aux
 /nettle.cp
 /nettle.cps
@@ -71,8 +65,3 @@ core
 /nettle.tps
 /nettle.vr
 /nettle.vrs
-/parity.h
-/rotors.h
-/shadata
-/stamp-h
-/stamp-h.in
diff --git a/examples/.gitignore b/examples/.gitignore
index 85a46ae31fc905eb0e05c41df7208247b2d3de0a..c5a3615648adfe47382d671d0fbb996690b8a53f 100644
--- a/examples/.gitignore
+++ b/examples/.gitignore
@@ -1,5 +1,9 @@
 /*.d
 /Makefile
+/base16dec
+/base16enc
+/base64dec
+/base64enc
 /eratosthenes
 /nettle-benchmark
 /next-prime
diff --git a/testsuite/.gitignore b/testsuite/.gitignore
index 783c9f5d11d045dadc035f9cce5e6ff125e85d56..fa99d31f5a8688b17c0a26468bcec4363ffc39bd 100644
--- a/testsuite/.gitignore
+++ b/testsuite/.gitignore
@@ -18,7 +18,13 @@
 /des3-test
 /dsa-keygen-test
 /dsa-test
+/ecc-mod-test
+/ecc-modinv-test
+/ecc-mul-a-test
+/ecc-mul-g-test
+/ecc-redc-test
 /gcm-test
+/gosthash94-test
 /hmac-test
 /knuth-lfib-test
 /md2-test
@@ -46,6 +52,11 @@
 /sha1-test
 /sha224-test
 /sha256-test
+/sha3-224-test
+/sha3-256-test
+/sha3-384-test
+/sha3-512-test
+/sha3-permute-test
 /sha384-test
 /sha512-test
 /twofish-test