Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marcus Hoffmann
nettle
Commits
a16dd13f
Commit
a16dd13f
authored
Feb 18, 2012
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted files to utf-8.
parent
f12fdc75
Changes
199
Hide whitespace changes
Inline
Side-by-side
Showing
199 changed files
with
670 additions
and
670 deletions
+670
-670
ChangeLog
ChangeLog
+448
-448
README
README
+1
-1
aes-decrypt-internal.c
aes-decrypt-internal.c
+1
-1
aes-decrypt.c
aes-decrypt.c
+1
-1
aes-encrypt-internal.c
aes-encrypt-internal.c
+1
-1
aes-encrypt-table.c
aes-encrypt-table.c
+1
-1
aes-encrypt.c
aes-encrypt.c
+1
-1
aes-internal.h
aes-internal.h
+1
-1
aes-meta.c
aes-meta.c
+1
-1
aes-set-decrypt-key.c
aes-set-decrypt-key.c
+1
-1
aes-set-encrypt-key.c
aes-set-encrypt-key.c
+1
-1
aes.h
aes.h
+1
-1
arcfour-crypt.c
arcfour-crypt.c
+1
-1
arcfour-meta.c
arcfour-meta.c
+1
-1
arcfour.c
arcfour.c
+1
-1
arcfour.h
arcfour.h
+1
-1
arctwo.c
arctwo.c
+2
-2
arctwo.h
arctwo.h
+1
-1
asn1.h
asn1.h
+1
-1
base16-decode.c
base16-decode.c
+1
-1
base16-encode.c
base16-encode.c
+1
-1
base16-meta.c
base16-meta.c
+1
-1
base16.h
base16.h
+1
-1
base64-decode.c
base64-decode.c
+1
-1
base64-encode.c
base64-encode.c
+1
-1
base64-meta.c
base64-meta.c
+1
-1
base64.h
base64.h
+1
-1
bignum-next-prime.c
bignum-next-prime.c
+1
-1
bignum-random-prime.c
bignum-random-prime.c
+1
-1
bignum-random.c
bignum-random.c
+1
-1
bignum.c
bignum.c
+1
-1
bignum.h
bignum.h
+1
-1
blowfish.h
blowfish.h
+1
-1
buffer-init.c
buffer-init.c
+1
-1
buffer.c
buffer.c
+1
-1
buffer.h
buffer.h
+1
-1
camellia-crypt-internal.c
camellia-crypt-internal.c
+1
-1
camellia-crypt.c
camellia-crypt.c
+1
-1
camellia-internal.h
camellia-internal.h
+1
-1
camellia-meta.c
camellia-meta.c
+1
-1
camellia-set-decrypt-key.c
camellia-set-decrypt-key.c
+1
-1
camellia-set-encrypt-key.c
camellia-set-encrypt-key.c
+1
-1
camellia-table.c
camellia-table.c
+1
-1
camellia.h
camellia.h
+1
-1
cast128-meta.c
cast128-meta.c
+1
-1
cast128.c
cast128.c
+1
-1
cast128.h
cast128.h
+1
-1
cbc.c
cbc.c
+1
-1
cbc.h
cbc.h
+1
-1
ctr.c
ctr.c
+1
-1
ctr.h
ctr.h
+1
-1
der-iterator.c
der-iterator.c
+1
-1
der2dsa.c
der2dsa.c
+1
-1
der2rsa.c
der2rsa.c
+1
-1
des-compat.c
des-compat.c
+1
-1
des-compat.h
des-compat.h
+1
-1
des.c
des.c
+1
-1
des.h
des.h
+2
-2
des3.c
des3.c
+1
-1
dsa-keygen.c
dsa-keygen.c
+1
-1
dsa-sha1-sign.c
dsa-sha1-sign.c
+1
-1
dsa-sha1-verify.c
dsa-sha1-verify.c
+1
-1
dsa-sha256-sign.c
dsa-sha256-sign.c
+1
-1
dsa-sha256-verify.c
dsa-sha256-verify.c
+1
-1
dsa-sign.c
dsa-sign.c
+1
-1
dsa-verify.c
dsa-verify.c
+1
-1
dsa.c
dsa.c
+1
-1
dsa.h
dsa.h
+1
-1
dsa2sexp.c
dsa2sexp.c
+1
-1
examples/eratosthenes.c
examples/eratosthenes.c
+1
-1
examples/io.c
examples/io.c
+1
-1
examples/io.h
examples/io.h
+1
-1
examples/nettle-benchmark.c
examples/nettle-benchmark.c
+1
-1
examples/nettle-openssl.c
examples/nettle-openssl.c
+1
-1
examples/next-prime.c
examples/next-prime.c
+1
-1
examples/random-prime.c
examples/random-prime.c
+1
-1
examples/rsa-decrypt.c
examples/rsa-decrypt.c
+1
-1
examples/rsa-encrypt.c
examples/rsa-encrypt.c
+1
-1
examples/rsa-keygen.c
examples/rsa-keygen.c
+1
-1
examples/rsa-sign.c
examples/rsa-sign.c
+1
-1
examples/rsa-verify.c
examples/rsa-verify.c
+1
-1
hmac-md5.c
hmac-md5.c
+1
-1
hmac-sha1.c
hmac-sha1.c
+1
-1
hmac-sha224.c
hmac-sha224.c
+1
-1
hmac-sha256.c
hmac-sha256.c
+1
-1
hmac-sha384.c
hmac-sha384.c
+1
-1
hmac-sha512.c
hmac-sha512.c
+1
-1
hmac.c
hmac.c
+1
-1
hmac.h
hmac.h
+1
-1
index.html
index.html
+1
-1
knuth-lfib.c
knuth-lfib.c
+1
-1
knuth-lfib.h
knuth-lfib.h
+1
-1
macros.h
macros.h
+2
-2
md2-meta.c
md2-meta.c
+1
-1
md2.c
md2.c
+2
-2
md2.h
md2.h
+1
-1
md4-meta.c
md4-meta.c
+1
-1
md4.c
md4.c
+1
-1
md4.h
md4.h
+1
-1
md5-compat.c
md5-compat.c
+1
-1
md5-compat.h
md5-compat.h
+1
-1
md5-compress.c
md5-compress.c
+2
-2
md5-meta.c
md5-meta.c
+1
-1
md5.c
md5.c
+2
-2
md5.h
md5.h
+1
-1
memxor.c
memxor.c
+1
-1
nettle-internal.c
nettle-internal.c
+1
-1
nettle-internal.h
nettle-internal.h
+1
-1
nettle-meta.h
nettle-meta.h
+1
-1
nettle-types.h
nettle-types.h
+1
-1
nettle-write.h
nettle-write.h
+1
-1
nettle.texinfo
nettle.texinfo
+18
-18
pgp-encode.c
pgp-encode.c
+1
-1
pgp.h
pgp.h
+1
-1
pkcs1-rsa-md5.c
pkcs1-rsa-md5.c
+1
-1
pkcs1-rsa-sha1.c
pkcs1-rsa-sha1.c
+1
-1
pkcs1-rsa-sha256.c
pkcs1-rsa-sha256.c
+1
-1
pkcs1-rsa-sha512.c
pkcs1-rsa-sha512.c
+1
-1
pkcs1.c
pkcs1.c
+1
-1
pkcs1.h
pkcs1.h
+1
-1
realloc.c
realloc.c
+1
-1
realloc.h
realloc.h
+1
-1
rsa-compat.c
rsa-compat.c
+1
-1
rsa-compat.h
rsa-compat.h
+1
-1
rsa-decrypt.c
rsa-decrypt.c
+1
-1
rsa-encrypt.c
rsa-encrypt.c
+1
-1
rsa-keygen.c
rsa-keygen.c
+1
-1
rsa-md5-sign.c
rsa-md5-sign.c
+1
-1
rsa-md5-verify.c
rsa-md5-verify.c
+1
-1
rsa-sha1-sign.c
rsa-sha1-sign.c
+1
-1
rsa-sha1-verify.c
rsa-sha1-verify.c
+1
-1
rsa-sha256-sign.c
rsa-sha256-sign.c
+1
-1
rsa-sha256-verify.c
rsa-sha256-verify.c
+1
-1
rsa-sha512-sign.c
rsa-sha512-sign.c
+1
-1
rsa-sha512-verify.c
rsa-sha512-verify.c
+1
-1
rsa-sign.c
rsa-sign.c
+1
-1
rsa-verify.c
rsa-verify.c
+1
-1
rsa.c
rsa.c
+1
-1
rsa.h
rsa.h
+1
-1
rsa2openpgp.c
rsa2openpgp.c
+1
-1
rsa2sexp.c
rsa2sexp.c
+1
-1
serpent-decrypt.c
serpent-decrypt.c
+1
-1
serpent-meta.c
serpent-meta.c
+1
-1
serpent.h
serpent.h
+1
-1
sexp-format.c
sexp-format.c
+1
-1
sexp-transport-format.c
sexp-transport-format.c
+1
-1
sexp-transport.c
sexp-transport.c
+1
-1
sexp.c
sexp.c
+1
-1
sexp.h
sexp.h
+1
-1
sexp2bignum.c
sexp2bignum.c
+1
-1
sexp2dsa.c
sexp2dsa.c
+1
-1
sexp2rsa.c
sexp2rsa.c
+1
-1
sha.h
sha.h
+1
-1
sha1-compress.c
sha1-compress.c
+1
-1
sha1-meta.c
sha1-meta.c
+1
-1
sha1.c
sha1.c
+1
-1
sha224-meta.c
sha224-meta.c
+1
-1
sha256-compress.c
sha256-compress.c
+1
-1
sha256-meta.c
sha256-meta.c
+1
-1
sha256.c
sha256.c
+1
-1
sha384-meta.c
sha384-meta.c
+1
-1
sha512-compress.c
sha512-compress.c
+1
-1
sha512-meta.c
sha512-meta.c
+1
-1
sha512.c
sha512.c
+1
-1
sparc32/aes-decrypt-internal.asm
sparc32/aes-decrypt-internal.asm
+1
-1
sparc32/aes-encrypt-internal.asm
sparc32/aes-encrypt-internal.asm
+1
-1
sparc32/arcfour-crypt.asm
sparc32/arcfour-crypt.asm
+1
-1
sparc64/aes-decrypt-internal.asm
sparc64/aes-decrypt-internal.asm
+1
-1
sparc64/aes-encrypt-internal.asm
sparc64/aes-encrypt-internal.asm
+1
-1
sparc64/arcfour-crypt.asm
sparc64/arcfour-crypt.asm
+1
-1
testsuite/arctwo-test.c
testsuite/arctwo-test.c
+1
-1
tools/input.c
tools/input.c
+1
-1
tools/input.h
tools/input.h
+1
-1
tools/misc.c
tools/misc.c
+2
-2
tools/misc.h
tools/misc.h
+1
-1
tools/nettle-lfib-stream.c
tools/nettle-lfib-stream.c
+1
-1
tools/output.c
tools/output.c
+1
-1
tools/output.h
tools/output.h
+1
-1
tools/parse.c
tools/parse.c
+1
-1
tools/parse.h
tools/parse.h
+1
-1
tools/pkcs1-conv.c
tools/pkcs1-conv.c
+1
-1
tools/sexp-conv.c
tools/sexp-conv.c
+1
-1
twofish-meta.c
twofish-meta.c
+1
-1
twofish.c
twofish.c
+1
-1
twofish.h
twofish.h
+1
-1
write-be32.c
write-be32.c
+1
-1
x86/aes-decrypt-internal.asm
x86/aes-decrypt-internal.asm
+1
-1
x86/aes-encrypt-internal.asm
x86/aes-encrypt-internal.asm
+1
-1
x86/arcfour-crypt.asm
x86/arcfour-crypt.asm
+1
-1
x86/camellia-crypt-internal.asm
x86/camellia-crypt-internal.asm
+1
-1
x86/md5-compress.asm
x86/md5-compress.asm
+1
-1
x86/sha1-compress.asm
x86/sha1-compress.asm
+1
-1
x86_64/aes-decrypt-internal.asm
x86_64/aes-decrypt-internal.asm
+1
-1
x86_64/aes-encrypt-internal.asm
x86_64/aes-encrypt-internal.asm
+1
-1
x86_64/serpent-encrypt.asm
x86_64/serpent-encrypt.asm
+1
-1
x86_64/sha1-compress.asm
x86_64/sha1-compress.asm
+1
-1
yarrow.h
yarrow.h
+1
-1
yarrow256.c
yarrow256.c
+1
-1
yarrow_key_event.c
yarrow_key_event.c
+1
-1
No files found.
ChangeLog
View file @
a16dd13f
2012-01-17 Niels Mller <nisse@lysator.liu.se>
2012-01-17 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/Makefile.in (DISTFILES): Added setup-env.
...
...
@@ -24,14 +24,14 @@
* examples/setup-env: Similar links setup here.
* examples/teardown-env: ... and deleted.
2012-01-07 Niels Mller <nisse@lysator.liu.se>
2012-01-07 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/Makefile.in (check): Add ../.lib to PATH, like in
testsuite/Makefile. Needed for w*ndows. Reported by Eli Zaretskii.
2011-11-25 Niels Mller <nisse@lysator.liu.se>
2011-11-25 Niels M
ö
ller <nisse@lysator.liu.se>
From Martin Storsj:
From Martin Storsj
ö
:
* x86_64/machine.m4 (W64_ENTRY, W64_EXIT): New macros for
supporting W64 ABI.
* x86_64: Updated all assembly files to use them.
...
...
@@ -40,9 +40,9 @@
W64 ABI (64-bit M$ windows).
* config.m4.in (W64_ABI): Define, from configure substitution.
2011-11-24 Niels Mller <nisse@lysator.liu.se>
2011-11-24 Niels M
ö
ller <nisse@lysator.liu.se>
From Martin Storsj:
From Martin Storsj
ö
:
* examples/Makefile.in (check): Pass $(EMULATOR) and $(EXEEXT) in
the environment of run-tests.
* examples/rsa-encrypt-test: Use $EXEEXT and $EMULATOR.
...
...
@@ -59,7 +59,7 @@
binary mode.
* examples/rsa-encrypt.c (main): Likewise.
2011-11-24 Niels Mller <nisse@lysator.liu.se>
2011-11-24 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac (HAVE_NATIVE_64_BIT): Workaround to get it set to 1
on w64.
...
...
@@ -68,9 +68,9 @@
M$ w64.
(RSHIFT64): Likewise. Also added a missing parenthesis.
2011-11-24 Niels Mller <nisse@lysator.liu.se>
2011-11-24 Niels M
ö
ller <nisse@lysator.liu.se>
From Martin Storsj:
From Martin Storsj
ö
:
* testsuite/symbols-test: Use $NM, falling back to nm if undefined.
* testsuite/Makefile.in (check): Pass $(NM) in the environment of
run-tests.
...
...
@@ -85,20 +85,20 @@
or wine64 when cross compiling for windows, otherwise empty.
* config.make.in (EMULATOR): Set from autoconf value.
2011-11-20 Niels Mller <nisse@lysator.liu.se>
2011-11-20 Niels M
ö
ller <nisse@lysator.liu.se>
* x86/camellia-crypt-internal.asm: Take ALIGNOF_UINT64_T into
account when getting the offset for the subkeys. Differs between
w32 and other systems. w32 problem identified by Martin Storsj.
w32 and other systems. w32 problem identified by Martin Storsj
ö
.
* config.m4.in: Define ALIGNOF_UINT64_T (from configure).
* configure.ac: Check alignment of uint64_t, and also use AC_SUBST
for use in config.m4.in.
2011-11-19 Niels Mller <nisse@lysator.liu.se>
2011-11-19 Niels M
ö
ller <nisse@lysator.liu.se>
Cygwin/mingw32 improvements contributed by Martin Storsj:
Cygwin/mingw32 improvements contributed by Martin Storsj
ö
:
* Makefile.in (IMPLICIT_TARGETS): New variable for DLL link
libraries.
(clean-here): Delete the DLL import libraries.
...
...
@@ -121,22 +121,22 @@
* configure.ac: Unify shared lib setup for cygwin and mingw.
2011-10-31 Niels Mller <nisse@lysator.liu.se>
2011-10-31 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac (LIBHOGWEED_LIBS): Typo fix for the darwin case.
Spotted by Martin Storsj.
Spotted by Martin Storsj
ö
.
2011-10-25 Niels Mller <nisse@lysator.liu.se>
2011-10-25 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac (LIBHOGWEED_LIBS): cygwin fix, added
libnettle.dll.a. Reported by Volker Zell.
2011-10-18 Niels Mller <nisse@lysator.liu.se>
2011-10-18 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Improved setup fr darwin shared libraries.
* configure.ac: Improved setup f
ö
r darwin shared libraries.
Patch contributed by Ryan Schmidt.
2011-10-03 Niels Mller <nisse@lysator.liu.se>
2011-10-03 Niels M
ö
ller <nisse@lysator.liu.se>
* x86_64/memxor.asm: Implemented sse2-loop. Configured at compile
time, and currently disabled.
...
...
@@ -146,7 +146,7 @@
* testsuite/memxor-test.c: Use 16-byte alignment for "fully
aligned" operands.
2011-09-03 Niels Mller <nisse@lysator.liu.se>
2011-09-03 Niels M
ö
ller <nisse@lysator.liu.se>
* x86/camellia-crypt-internal.asm: Use "l"-suffix on instructions
more consistently. Reportedly, freebsd and netbsd systems with
...
...
@@ -164,13 +164,13 @@
* ripemd160-compress.c: Added missing include of config.h. Needed
for correct operation on big-endian systems.
2011-09-02 Niels Mller <nisse@amfibolit.hack.org>
2011-09-02 Niels M
ö
ller <nisse@amfibolit.hack.org>
* configure.ac: Changed version number to 2.4.
* Released nettle-2.3.
2011-08-30 Niels Mller <nisse@lysator.liu.se>
2011-08-30 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/hmac-test.c: Added tests for hmac-ripemd160.
...
...
@@ -178,7 +178,7 @@
* Makefile.in (nettle_SOURCES): Added hmac-ripemd160.c.
2011-08-30 Niels Mller <nisse@amfibolit.hack.org>
2011-08-30 Niels M
ö
ller <nisse@amfibolit.hack.org>
* nettle.texinfo (Hash functions): Document ripemd-160.
...
...
@@ -186,7 +186,7 @@
* hmac.h: Declare hmac-ripemd160 functions.
2011-08-29 Niels Mller <nisse@lysator.liu.se>
2011-08-29 Niels M
ö
ller <nisse@lysator.liu.se>
* sha256.c (sha256_update): Updated MD_UPDATE call for new
conventions.
...
...
@@ -264,7 +264,7 @@
* macros.h (MD_UPDATE): New macro.
(MD_FINAL): New macro.
2011-08-28 Niels Mller <nisse@lysator.liu.se>
2011-08-28 Niels M
ö
ller <nisse@lysator.liu.se>
* ripemd160.c (ripemd160_final): Use LE_WRITE_UINT32. Deleted byte
swapping at the end, leaving it to ripemd160_digest.
...
...
@@ -290,7 +290,7 @@
* examples/nettle-benchmark.c (main): Benchmark ripemd-160.
2011-08-28 Niels Mller <nisse@lysator.liu.se>
2011-08-28 Niels M
ö
ller <nisse@lysator.liu.se>
RIPEMD-160 hash function. Ported from libgcrypt by Andres Mejia.
* testsuite/ripemd160-test.c: New file.
...
...
@@ -306,12 +306,12 @@
ripemd160-compress.c, and ripemd160-meta.c.
(HEADERS): Added ripemd160.h.
2011-08-10 Niels Mller <nisse@amfibolit.hack.org>
2011-08-10 Niels M
ö
ller <nisse@amfibolit.hack.org>
* nettle.texinfo: Fixed mis-placed const in various prototypes.
Spotted by Tatsuhiro Tsujikawa.
2011-07-24 Niels Mller <nisse@lysator.liu.se>
2011-07-24 Niels M
ö
ller <nisse@lysator.liu.se>
* Makefile.in (PKGCONFIG_FILES, pkgconfigdir): New variables.
(DISTFILES): Added nettle.pc.in and hogweed.pc.in.
...
...
@@ -321,17 +321,17 @@
(uninstall-here): Depend on uninstall-pkgconfig.
(distclean-here): Delete nettle.pc and hogweed.pc.
2011-07-20 Niels Mller <nisse@lysator.liu.se>
2011-07-20 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Generate nettle.pc and hogweed.pc.
* nettle.pc.in, hogweed.pc.in: New files.
2011-07-17 Niels Mller <nisse@lysator.liu.se>
2011-07-17 Niels M
ö
ller <nisse@lysator.liu.se>
* nettle-internal.h: Added missing extern declarations.
2011-07-11 Niels Mller <nisse@lysator.liu.se>
2011-07-11 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Changed version number to 2.3.
...
...
@@ -339,7 +339,7 @@
* Makefile.in (DISTFILES): Distribute COPYING.LIB, not COPYING,
2011-07-07 Niels Mller <nisse@lysator.liu.se>
2011-07-07 Niels M
ö
ller <nisse@lysator.liu.se>
* tools/misc.h (werror): Removed incorrect noreturn attribute from
declaration.
...
...
@@ -347,7 +347,7 @@
* examples/io.c (read_file): Bug fix, in dependence of initial
size on max_size.
2011-07-01 Niels Mller <nisse@lysator.liu.se>
2011-07-01 Niels M
ö
ller <nisse@lysator.liu.se>
* cbc.c (CBC_BUFFER_LIMIT): Reduced to 512 bytes.
(cbc_decrypt): For in-place operation, use overlapping memxor3 and
...
...
@@ -360,7 +360,7 @@
* x86_64/memxor.asm: Added ALIGN for shifting loop. Deleted
obsolete ifelse.
2011-06-30 Niels Mller <nisse@lysator.liu.se>
2011-06-30 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Link in serpent-decrypt.asm, if found.
...
...
@@ -372,7 +372,7 @@
* x86_64/serpent.m4: New file, with serpent-related macros.
2011-06-29 Niels Mller <nisse@lysator.liu.se>
2011-06-29 Niels M
ö
ller <nisse@lysator.liu.se>
* x86_64/serpent-decrypt.asm: Wrote main (32-bit) loop.
(SBOX0I, SBOX1I, SBOX7I): Fixed bugs.
...
...
@@ -396,12 +396,12 @@
to 4.1.
(LIBHOGWEED_MINOR): And to 2.1.
2011-06-22 Niels Mller <nisse@lysator.liu.se>
2011-06-22 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Use pwd -P when examining lib directories.
Link in serpent-encrypt.asm, if found.
2011-06-21 Niels Mller <nisse@lysator.liu.se>
2011-06-21 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent-decrypt.c (SBOX3_INVERSE): Eliminated temporaries.
(SBOX4_INVERSE): Likewise.
...
...
@@ -410,7 +410,7 @@
(SBOX7_INVERSE): Likewise.
(All SBOX_INVERSE-macros): Deleted type argument, and updated users.
2011-06-20 Niels Mller <nisse@lysator.liu.se>
2011-06-20 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent-decrypt.c: Renamed arguments in sbox macros.
(SBOX0_INVERSE): Eliminated temporaries.
...
...
@@ -423,20 +423,20 @@
* testsuite/serpent-test.c (test_main): Added some more multiple
block tests.
2011-06-15 Niels Mller <nisse@lysator.liu.se>
2011-06-15 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac (libdir): On 64-bit Linux, we used to assume that
libraries are installed according to the FHS. Since at least
Fedora and Gentoo follow the FHS convention, while at least Debian
doesn't, we have to try to figure out which convention is used.
2011-06-14 Niels Mller <nisse@lysator.liu.se>
2011-06-14 Niels M
ö
ller <nisse@lysator.liu.se>
* x86_64/serpent-encrypt.asm: Slight simplification of loop logic.
* x86_64/serpent-encrypt.asm: New file.
2011-06-12 Niels Mller <nisse@lysator.liu.se>
2011-06-12 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/serpent-test.c (test_main): Added tests with multiple
blocks at a time.
...
...
@@ -449,12 +449,12 @@
* configure.ac: Display summary at the end of configure..
(asm_path): Set only if enable_assember is yes.
2011-06-10 Niels Mller <nisse@lysator.liu.se>
2011-06-10 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent-encrypt.c (SBOX5): Renamed arguments. Eliminated
temporaries.
2011-06-09 Niels Mller <nisse@lysator.liu.se>
2011-06-09 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent-encrypt.c (SBOX4): Renamed arguments. Eliminated
temporaries.
...
...
@@ -462,14 +462,14 @@
* configure.ac (LIBNETTLE_LINK, LIBHOGWEED_LINK): Cygwin fix, from
Vincent Torri.
2011-06-08 Niels Mller <nisse@lysator.liu.se>
2011-06-08 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/eratosthenes.c (find_first_one): Fixed c99-style
declaration. Reported by Sebastian Reitenbach.
(find_first_one): Declare the lookup table as static const, and
use unsigned char rather than unsigned..
2011-06-07 Niels Mller <nisse@lysator.liu.se>
2011-06-07 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent-encrypt.c (SBOX0): Renamed arguments. Eliminated
temporaries.
...
...
@@ -477,7 +477,7 @@
(SBOX2): Likewise.
(SBOX3): Likewise.
2011-06-06 Niels Mller <nisse@lysator.liu.se>
2011-06-06 Niels M
ö
ller <nisse@lysator.liu.se>
* Makefile.in (DISTFILES): Added serpent-internal.h.
(nettle_SOURCES): Replaced serpent.c by serpent-set-key.c,
...
...
@@ -493,7 +493,7 @@
parallel. Measured speedup of 10%--25% (higher for encryption) on
x86_64.
2011-06-01 Niels Mller <nisse@lysator.liu.se>
2011-06-01 Niels M
ö
ller <nisse@lysator.liu.se>
* serpent.c (ROUNDS): Deleted macro.
(serpent_block_t): Deleted array typedef.
...
...
@@ -519,7 +519,7 @@
(serpent_set_key): Rewrote the generation of subkeys. Reduced both
temporary storage and code size (less unrolling)
2011-05-31 Niels Mller <nisse@lysator.liu.se>
2011-05-31 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/serpent-test.c (test_main): Enabled test with short,
40-bit, key.
...
...
@@ -535,7 +535,7 @@
* serpent_sboxes.h: Removed.
* Makefile.in: Drop serpent_sboxes.h.
2011-05-31 Niels Mller <nisse@lysator.liu.se>
2011-05-31 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/serpent-test.c (test_main): Added some tests for
padding of keys of length which is not a multiple of four bytes.
...
...
@@ -545,28 +545,28 @@
* testsuite/serpent-test.c (test_main): Add test vectors from
libgcrypt.
2011-05-21 Niels Mller <nisse@lysator.liu.se>
2011-05-21 Niels M
ö
ller <nisse@lysator.liu.se>
* dsa-keygen.c (dsa_generate_keypair): Avoid double init of mpz
variable. Spotted by Nikos Mavrogiannopoulos.
2011-05-06 Niels Mller <nisse@lysator.liu.se>
2011-05-06 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Fix link flags for shared libraries on Solaris,
which needs -h to set the soname. Patch contributed by Dagobert
Michelsen.
2011-05-06 Niels Mller <nisse@lysator.liu.se>
2011-05-06 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: New configure option --enable-gcov.
* arcfour.h (arcfour_stream): Deleted obsolete define.
2011-04-27 Niels Mller <nisse@lysator.liu.se>
2011-04-27 Niels M
ö
ller <nisse@lysator.liu.se>
* tools/nettle-hash.c (find_algorithm): Require exact match.
2011-04-15 Niels Mller <nisse@lysator.liu.se>
2011-04-15 Niels M
ö
ller <nisse@lysator.liu.se>
Reverted broken byte-order change from 2001-06-17:
* serpent.c (serpent_set_key): Use correct byteorder.
...
...
@@ -579,7 +579,7 @@
taken from the serpent submission package. Enable test vectors
from http://www.cs.technion.ac.il/~biham/Reports/Serpent/.
2011-03-23 Niels Mller <nisse@lysator.liu.se>
2011-03-23 Niels M
ö
ller <nisse@lysator.liu.se>
* tools/sexp-conv.c (xalloc): Deleted function, now it's in misc.c
instead.
...
...
@@ -597,7 +597,7 @@
* tools/nettle-hash.c: New file.
2011-03-23 Niels Mller <nisse@lysator.liu.se>
2011-03-23 Niels M
ö
ller <nisse@lysator.liu.se>
Contributed by Daniel Kahn Gillmor:
* testsuite/Makefile.in (TS_NETTLE_SOURCES): Added
...
...
@@ -619,12 +619,12 @@
* nettle-meta-ciphers.c: New file.
* nettle-meta-hashes.c: New file.
2011-02-18 Niels Mller <nisse@lysator.liu.se>
2011-02-18 Niels M
ö
ller <nisse@lysator.liu.se>
* arcfour.c (arcfour_stream): Deleted function. It's not very
useful, and neither documented nor tested.
2011-02-16 Niels Mller <nisse@lysator.liu.se>
2011-02-16 Niels M
ö
ller <nisse@lysator.liu.se>
* cbc.h (CBC_ENCRYPT): Avoid using NULL; we don't ensure that it
is defined.
...
...
@@ -645,7 +645,7 @@
(GCM_SET_IV): New macro, for completeness.
(GCM_UPDATE): Deleted unused argument encrypt.
2011-02-14 Niels Mller <nisse@lysator.liu.se>
2011-02-14 Niels M
ö
ller <nisse@lysator.liu.se>
* nettle.texinfo: Split node on cipher modes, and started on
the GCM documentation.
...
...
@@ -680,7 +680,7 @@
* testsuite/gcm-test.c (test_gcm_aes): Updated for gcm_aes_auth to
gcm_aes_update renaming.
2011-02-13 Niels Mller <nisse@lysator.liu.se>
2011-02-13 Niels M
ö
ller <nisse@lysator.liu.se>
* gcm.h (GCM_UPDATE): Renamed, from...
(GCM_AUTH): ...old name.
...
...
@@ -694,7 +694,7 @@
* gcm.h (GCM_TABLE_BITS): Increase table size to 8 bits,
corresponding to 4 KByte of key-dependent tables.
2011-02-10 Niels Mller <nisse@lysator.liu.se>
2011-02-10 Niels M
ö
ller <nisse@lysator.liu.se>
* x86_64/memxor.asm: New file. Improves performance by 22% for the
unaligned01 case and 35% for the unaligned12 case, benchmarked on
...
...
@@ -719,7 +719,7 @@
* testsuite/gcm-test.c (test_main): Added the rest of the
testcases from the spec.
2011-02-09 Niels Mller <nisse@lysator.liu.se>
2011-02-09 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/gcm-test.c (test_main): Enabled testcases 5 and 6,
with different IV lengths.
...
...
@@ -768,7 +768,7 @@
(GCM_DIGEST): Likewise.
(struct gcm_aes_ctx): New struct.
2011-02-08 Niels Mller <nisse@lysator.liu.se>
2011-02-08 Niels M
ö
ller <nisse@lysator.liu.se>
* gcm.h (struct gcm_ctx): The hash key is now always an array,
named h, with array size depending on GCM_TABLE_BITS.
...
...
@@ -795,7 +795,7 @@
* gcm.h (union gcm_block): New union, used to enforce alignment.
2011-02-07 Niels Mller <nisse@lysator.liu.se>
2011-02-07 Niels M
ö
ller <nisse@lysator.liu.se>
* gcm.c (gcm_gf_shift_chunk) : Bug fix for little-endian 8-bit
tables.
...
...
@@ -816,7 +816,7 @@
* gcm.h (GCM_TABLE_BITS): Set to 4.
2011-02-06 Niels Mller <nisse@lysator.liu.se>
2011-02-06 Niels M
ö
ller <nisse@lysator.liu.se>
* Makefile.in (TARGETS): Added gcmdata.
(gcmdata): New rule.
...
...
@@ -850,7 +850,7 @@
than byte operations. Improves gmac performance from 830 cycles /
byte to (still poor) 268 cycles per byte on intel x86_64.
2011-02-05 Niels Mller <nisse@lysator.liu.se>
2011-02-05 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/nettle-benchmark.c (time_gmac): New function.
(main): Call time_gmac.
...
...
@@ -873,7 +873,7 @@
argument.
* ctr.c: Use INCREMENT macro from macros.h, deleted local version.
2011-01-07 Niels Mller <nisse@lysator.liu.se>
2011-01-07 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/Makefile.in (check): Add ../.lib to PATH, since that's
where w*ndows looks for dlls.
...
...
@@ -881,7 +881,7 @@
* testsuite/testutils.c (test_cipher_stream): More debug output on
failure.
2010-12-14 Niels Mller <nisse@lysator.liu.se>
2010-12-14 Niels M
ö
ller <nisse@lysator.liu.se>
* nettle-types.h: Deleted some unnecessary parenthesis from
function typedefs.
...
...
@@ -891,11 +891,11 @@
* buffer.c (nettle_buffer_init_realloc): Use an explicit pointer
for realloc argument.
2010-12-07 Niels Mller <nisse@lysator.liu.se>
2010-12-07 Niels M
ö
ller <nisse@lysator.liu.se>
* nettle.texinfo (Copyright): Updated info on blowfish.
2010-11-26 Niels Mller <nisse@lysator.liu.se>
2010-11-26 Niels M
ö
ller <nisse@lysator.liu.se>
Reapplied optimizations (150% speedup on x86_32) and other fixes,
relicensing them as LGPL.
...
...
@@ -916,21 +916,21 @@
* blowfish.c: New version ported from libgcrypt. License changed
from GPL to LGPL.
2010-11-25 Niels Mller <nisse@lysator.liu.se>
2010-11-25 Niels M
ö
ller <nisse@lysator.liu.se>
* Makefile.in (install-shared-nettle): Use INSTALL_DATA, which
clears the execute permission bits.
(install-shared-hogweed): Likewise.
2010-11-16 Niels Mller <nisse@lysator.liu.se>
2010-11-16 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Updated gmp url.
2010-11-01 Niels Mller <nisse@lysator.liu.se>
2010-11-01 Niels M
ö
ller <nisse@lysator.liu.se>
* tools/misc.c (werror): Don't call exit (copy&paste-error).
2010-10-26 Niels Mller <nisse@lysator.liu.se>
2010-10-26 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/rsa-encrypt.c (main): No extra message for bad options.
...
...
@@ -941,7 +941,7 @@
bad options.
* examples/random-prime.c (main): Likewise.
2010-10-22 Niels Mller <nisse@lysator.liu.se>
2010-10-22 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/nettle-benchmark.c (main): Added long options. Deleted -?,
and fixed handling of bad options.
...
...
@@ -954,7 +954,7 @@
and fixed handling of bad options.
* tools/sexp-conv.c (parse_options): Likewise.
2010-10-06 Niels Mller <nisse@lysator.liu.se>
2010-10-06 Niels M
ö
ller <nisse@lysator.liu.se>
* memxor.c (memxor3): Optimized.
(memxor3_common_alignment): New function.
...
...
@@ -975,14 +975,14 @@
words.
(main): Call time_overhead.
2010-10-01 Niels Mller <nisse@lysator.liu.se>
2010-10-01 Niels M
ö
ller <nisse@lysator.liu.se>
* x86_64/camellia-crypt-internal.asm (ROUND): Reordered sbox
lookups.
* testsuite/memxor-test.c: Also test memxor3.
2010-09-30 Niels Mller <nisse@lysator.liu.se>
2010-09-30 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Link in memxor.asm, if found.
...
...
@@ -994,7 +994,7 @@
* examples/nettle-benchmark.c (time_memxor): Count size of
unsigned long as "block size" for memxor.
2010-09-24 Niels Mller <nisse@lysator.liu.se>
2010-09-24 Niels M
ö
ller <nisse@lysator.liu.se>
* testsuite/.test-rules.make: Added rule for memxor-test.
* testsuite/Makefile.in (TS_NETTLE_SOURCES): Added memxor-test.c
...
...
@@ -1014,7 +1014,7 @@
differing in where addition of the key is done.
* x86/camellia-crypt-internal.asm: Moved addition of key.
2010-09-22 Niels Mller <nisse@lysator.liu.se>
2010-09-22 Niels M
ö
ller <nisse@lysator.liu.se>
* examples/nettle-benchmark.c (BENCH_INTERVAL): Changed unit to
seconds.
...
...
@@ -1036,7 +1036,7 @@
* configure.ac: Check for clock_gettime, and add -lrt to
BENCH_LIBS if needed.
2010-09-20 Niels Mller <nisse@lysator.liu.se>
2010-09-20 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Less quoting when invoking $CC, to allow CC="gcc
-m32".
...
...
@@ -1056,12 +1056,12 @@
* x86_64/machine.m4 (LREG, HREG, XREG): New macros.
2010-09-17 Niels Mller <nisse@lysator.liu.se>
2010-09-17 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Support shared libraries (dlls) with mingw32.
Contributed by David Hoyt.
2010-07-25 Niels Mller <nisse@lysator.liu.se>
2010-07-25 Niels M
ö
ller <nisse@lysator.liu.se>
* configure.ac: Changed version number to nettle-2.2.
...
...
@@ -1093,7 +1093,7 @@