1. 26 Apr, 2013 1 commit
  2. 31 Mar, 2012 1 commit
  3. 18 Feb, 2012 1 commit
  4. 24 Sep, 2010 1 commit
    • Niels Möller's avatar
      Partial revert of 2010-09-20 changes. · f1713dbe
      Niels Möller authored
      * camellia-set-encrypt-key.c (camellia_set_encrypt_key):
      Reintroduce CAMELLIA_F_HALF_INV, for 32-bit machines.
      * camellia-crypt-internal.c (CAMELLIA_ROUNDSM): Two variants,
      differing in where addition of the key is done.
      * x86/camellia-crypt-internal.asm: Moved addition of key.
      Rev: nettle/ChangeLog:1.110
      Rev: nettle/camellia-crypt-internal.c:1.4
      Rev: nettle/camellia-set-encrypt-key.c:1.6
  5. 20 Sep, 2010 1 commit
    • Niels Möller's avatar
      (CAMELLIA_F_HALF_INV): Deleted macro. · c1e83849
      Niels Möller authored
      (camellia_set_encrypt_key): Deleted the CAMELLIA_F_HALF_INV
      operations intended for moving the key xor into the middle of the
      Rev: nettle/camellia-set-encrypt-key.c:1.5
  6. 25 Jul, 2010 2 commits
    • Niels Möller's avatar
      * camellia.h (struct camellia_ctx): Eliminate the two unused · 55d15220
      Niels Möller authored
      subkeys, and renumber the remaining ones.
      * camellia-crypt-internal.c (_camellia_crypt): Updated for
      renumbered subkeys.
      * camellia-set-encrypt-key.c (camellia_set_encrypt_key): Likewise.
      * camellia-set-decrypt-key.c (camellia_invert_key): Likewise.
      Rev: nettle/ChangeLog:1.101
      Rev: nettle/camellia-crypt-internal.c:1.2
      Rev: nettle/camellia-set-decrypt-key.c:1.2
      Rev: nettle/camellia-set-encrypt-key.c:1.4
      Rev: nettle/camellia.h:1.5
    • Niels Möller's avatar
      (camellia_set_encrypt_key): Inline · beafb5f3
      Niels Möller authored
      the expansion of camellia_setup128 and camellia_setup256, keeping
      the unexpanded key in scalar variables.
      (camellia_setup128): Deleted.
      (camellia_setup256): Deleted.
      Rev: nettle/camellia-set-encrypt-key.c:1.3
  7. 24 Jul, 2010 2 commits
    • Niels Möller's avatar
      * camellia-set-encrypt-key.c (camellia_set_encrypt_key): Reduced · 55357236
      Niels Möller authored
      code size, no complete loop unroll. Use one loop for each phase of
      the post-processing.
      Rev: nettle/camellia-set-encrypt-key.c:1.2
    • Niels Möller's avatar
      * camellia-set-encrypt-key.c (camellia_setup128): Generate · c1552ab2
      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
      * 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)