- Jul 24, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.99
-
Niels Möller authored
Rev: nettle/ChangeLog:1.98
-
Niels Möller authored
* testsuite/aes-test.c: New tests for aes_invert_key. Rev: nettle/testsuite/aes-test.c:1.2 Rev: nettle/testsuite/camellia-test.c:1.2
-
Niels Möller authored
* aes-set-decrypt-key.c (aes_invert_key): New function, key inversion code extracted from aes_set_decrypt_key. (aes_set_decrypt_key): Use aes_invert_key. Rev: nettle/ChangeLog:1.97 Rev: nettle/aes-set-decrypt-key.c:1.2 Rev: nettle/aes.h:1.3
-
Niels Möller authored
Rev: nettle/cast128.c:1.3
-
Niels Möller authored
unmodified subkeys according to the spec. Moved clever combination of subkeys to camellia_set_encrypt_key. (camellia_setup256): Likewise. (camellia_set_encrypt_key): Moved subkey post-processing code here, and reduce code duplication between 128-bit keys and larger keys. * camellia.c: Deleted file, split into several new files... * camellia-table.c (_camellia_table): New file with the constant sbox tables. * camellia-set-encrypt-key.c: New file. (camellia_setup128): Generate unmodified subkeys according to the spec. Moved clever combination of subkeys to camellia_set_encrypt_key. (camellia_setup256): Likewise. * camellia-set-decrypt-key.c: New file. (camellia_invert_key): Key inversion function. (camellia_set_decrypt_key): New key setup function. * camellia-internal.h: New file. * camellia-crypt.c (camellia_crypt): New file, new wrapper function passing the sbox table to _camellia_crypt. * camellia-crypt-internal.c (_camellia_crypt): New file, with main encrypt/decrypt function. * Makefile.in (nettle_SOURCES): Updated list of camellia source files. (DISTFILES): Added camellia-internal.h. Rev: nettle/ChangeLog:1.96 Rev: nettle/Makefile.in:1.26 Rev: nettle/camellia-crypt-internal.c:1.1 Rev: nettle/camellia-crypt.c:1.1 Rev: nettle/camellia-internal.h:1.1 Rev: nettle/camellia-set-decrypt-key.c:1.1 Rev: nettle/camellia-set-encrypt-key.c:1.1 Rev: nettle/camellia-table.c:1.1 Rev: nettle/camellia.c:1.5(DEAD)
-
- Jul 20, 2010
-
-
Niels Möller authored
* camellia.h (struct camellia_ctx): Replaced flag camellia128 by expanded key length nkeys. * camellia.c (camellia_set_encrypt_key): Renamed, from... (camellia_set_key): ... old name. (camellia_invert_key): New function. (camellia_set_decrypt_key): New function, using camellia_invert_key. (camellia_crypt): Renamed, from... (camellia_encrypt): ... old name. (camellia_decrypt): Deleted, no longer needed. camellia_crypt used for both encryption and decryption. Rev: nettle/ChangeLog:1.95 Rev: nettle/camellia-meta.c:1.2 Rev: nettle/camellia.c:1.4 Rev: nettle/camellia.h:1.4
-
Niels Möller authored
Rev: nettle/ChangeLog:1.94
-
Niels Möller authored
Rev: nettle/nettle-meta.h:1.7
-
Niels Möller authored
Rev: nettle/dsa-keygen.c:1.9
-
Niels Möller authored
Rev: nettle/cbc.c:1.2
-
Niels Möller authored
64-bit operations throughout. Performance on x86_32, when compiled with gcc-4.4.4, is reduced by roughly 15%, this should be fixed later. * camellia.h (struct camellia_ctx): Use type uint64_t for subkeys. Rev: nettle/ChangeLog:1.93 Rev: nettle/camellia.c:1.3 Rev: nettle/camellia.h:1.3
-
- Jul 07, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.92 Rev: nettle/examples/nettle-benchmark.c:1.8
-
Niels Möller authored
Also updated implementation. * blowfish.h (blowfish_encrypt, blowfish_decrypt): Likewise. * cast128.h (cast128_encrypt, cast128_decrypt): Likewise. * serpent.h (serpent_encrypt, serpent_decrypt): Likewise. * twofish.h (twofish_encrypt, twofish_decrypt): Likewise. Rev: nettle/ChangeLog:1.91 Rev: nettle/aes-decrypt.c:1.2 Rev: nettle/aes-encrypt.c:1.2 Rev: nettle/aes.h:1.2 Rev: nettle/blowfish.c:1.3 Rev: nettle/blowfish.h:1.3 Rev: nettle/cast128.c:1.2 Rev: nettle/cast128.h:1.2 Rev: nettle/serpent.c:1.2 Rev: nettle/serpent.h:1.2 Rev: nettle/twofish.c:1.2 Rev: nettle/twofish.h:1.2
-
Niels Möller authored
Rev: nettle/ChangeLog:1.90
-
Niels Möller authored
Rev: nettle/testsuite/.test-rules.make:1.7 Rev: nettle/testsuite/Makefile.in:1.9
-
Niels Möller authored
(nettle_camellia192): Likewise. (nettle_camellia256): Likewise. Rev: nettle/nettle-meta.h:1.6
-
Niels Möller authored
camellia-meta.c. (HEADERS): Added camellia.h. * camellia-meta.c: New file. * camellia.h: Rewrote interface to match nettle conventions. * camellia.c: Converted to nettle conventions. (camellia_encrypt128, camellia_encrypt256): Unified to new function... (camellia_encrypt): ...New function, with a loop doing 6 regular rounds, one FL round and one FLINV round per iteration, with iteration count depending on the key size. Rev: nettle/ChangeLog:1.89 Rev: nettle/Makefile.in:1.25 Rev: nettle/camellia-meta.c:1.1 Rev: nettle/camellia.c:1.2 Rev: nettle/camellia.h:1.2
-
- Jul 06, 2010
-
-
Niels Möller authored
http://info.isl.ntt.co.jp/crypt/eng/camellia/dl/camellia-LGPL-1.2.0.tar.gz. Rev: nettle/camellia.c:1.1 Rev: nettle/camellia.h:1.1
-
Niels Möller authored
Rev: nettle/testsuite/camellia-test.c:1.1
-
- Jul 05, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.88
-
Niels Möller authored
parity checks. Document des_check_parity. Rev: nettle/NEWS:1.6 Rev: nettle/nettle.texinfo:1.11
-
Niels Möller authored
Rev: nettle/testsuite/des-test.c:1.3
-
Niels Möller authored
the case of non-zero des_check_key. Rev: nettle/des-compat.c:1.3
-
Niels Möller authored
Rev: nettle/des-compat.h:1.2
-
Niels Möller authored
Complete key setup also for weak keys, and don't set the status attribute. Rev: nettle/des3.c:1.2
-
Niels Möller authored
Moved weak key check to the end, and don't set the status attribute. (des_encrypt): Ignore status attribute. (des_decrypt): Likewise. Rev: nettle/des.c:1.3
-
Niels Möller authored
(struct des_ctx): Deleted status attribute. (struct des3_ctx): Likewise. Rev: nettle/des.h:1.3
-
Niels Möller authored
(blowfish_encrypt): Ignore status attribute. (blowfish_decrypt): Likewise. (blowfish_set_key): return result from weak key check, without setting the status attribute. Rev: nettle/blowfish.c:1.2
-
Niels Möller authored
(struct blowfish_ctx): Deleted status attribute. Rev: nettle/blowfish.h:1.2
-
Niels Möller authored
Rev: nettle/Makefile.in:1.24
-
- Jun 30, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.87
-
Niels Möller authored
(test_weak): New function. (test_main): Use test_des and test_weak. Added tests for all the weak keys. Added some tests with invalid (to be ignored) parity bits. Rev: nettle/testsuite/des-test.c:1.2
-
Niels Möller authored
Rev: nettle/ChangeLog:1.86
-
Niels Möller authored
(des_check_parity): New function. (des_fix_parity): Use parity_16. (des_weak_p): New weak-key detection. Ignores parity bits, and uses a hash table. (des_set_key): Deleted parity checking code. Replaced old weak-key detection code by a call to des_weak_p. Rev: nettle/des.c:1.2 Rev: nettle/des.h:1.2
-
- Jun 04, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.85
-
Niels Möller authored
Rev: nettle/testsuite/testutils.c:1.9
-
Niels Möller authored
DSA_SHA256_MIN_P_BITS. Rev: nettle/dsa-keygen.c:1.8
-
Niels Möller authored
(DSA_SHA1_MIN_P_BITS, DSA_SHA1_Q_OCTETS, DSA_SHA1_Q_BITS): New names. Rev: nettle/dsa.h:1.6
-
Niels Möller authored
Renamed parameter limit to p_max_bits. (dsa_sha1_keypair_from_sexp): Renamed, was dsa_keypair_from_sexp. Updated to call dsa_keypair_from_sexp_alist with the new argument. (dsa_sha256_keypair_from_sexp): New function. (dsa_signature_from_sexp): New argument q_bits. Rev: nettle/sexp2dsa.c:1.3
-