1. 25 Jul, 2010 12 commits
  2. 24 Jul, 2010 10 commits
    • Niels Möller's avatar
      * camellia-set-encrypt-key.c (camellia_set_encrypt_key): Reduced · c3d02415
      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
      c3d02415
    • Niels Möller's avatar
      Comment fix. · 7fc5b735
      Niels Möller authored
      Rev: nettle/dsa.h:1.7
      7fc5b735
    • Niels Möller's avatar
      Updated and expanded section on DSA. Other minor fixes. · 984a4bcb
      Niels Möller authored
      Rev: nettle/nettle.texinfo:1.13
      984a4bcb
    • Niels Möller's avatar
      Document aes_invert_key, and Camellia. · 14b98cf3
      Niels Möller authored
      Rev: nettle/nettle.texinfo:1.12
      14b98cf3
    • Niels Möller's avatar
      Spacing fix. · 7d8d479a
      Niels Möller authored
      Rev: nettle/ChangeLog:1.99
      7d8d479a
    • Niels Möller's avatar
      *** empty log message *** · 2ba66535
      Niels Möller authored
      Rev: nettle/ChangeLog:1.98
      2ba66535
    • Niels Möller's avatar
      * testsuite/camellia-test.c: New tests for camellia_invert_key. · 9201870a
      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
      9201870a
    • Niels Möller's avatar
      * aes.h (aes_invert_key): Declare it. · 88c7eeb4
      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
      88c7eeb4
    • Niels Möller's avatar
      Added FIXME comment. · a81b00a2
      Niels Möller authored
      Rev: nettle/cast128.c:1.3
      a81b00a2
    • Niels Möller's avatar
      * camellia-set-encrypt-key.c (camellia_setup128): Generate · a36059ce
      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)
      a36059ce
  3. 23 Jul, 2010 2 commits
  4. 20 Jul, 2010 8 commits
  5. 07 Jul, 2010 6 commits
    • Niels Möller's avatar
      Added camellia ciphers. · 43f181c1
      Niels Möller authored
      Rev: nettle/ChangeLog:1.92
      Rev: nettle/examples/nettle-benchmark.c:1.8
      43f181c1
    • Niels Möller's avatar
      * aes.h (aes_encrypt, aes_decrypt): Declare ctx argument as const. · 5275ea6f
      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
      5275ea6f
    • Niels Möller's avatar
      *** empty log message *** · 34bb667b
      Niels Möller authored
      Rev: nettle/ChangeLog:1.90
      34bb667b
    • Niels Möller's avatar
      (TS_NETTLE_SOURCES): Added camellia-test.c. · 927837ab
      Niels Möller authored
      Rev: nettle/testsuite/.test-rules.make:1.7
      Rev: nettle/testsuite/Makefile.in:1.9
      927837ab
    • Niels Möller's avatar
      (nettle_camellia128): Declare. · 53244270
      Niels Möller authored
      (nettle_camellia192): Likewise.
      (nettle_camellia256): Likewise.
      
      Rev: nettle/nettle-meta.h:1.6
      53244270
    • Niels Möller's avatar
      * Makefile.in (nettle_SOURCES): Added camellia.c and · ec7a9f76
      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
      ec7a9f76
  6. 06 Jul, 2010 2 commits