Skip to content
Snippets Groups Projects
  1. Feb 18, 2012
  2. Jul 25, 2010
    • 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
      55d15220
  3. Jul 20, 2010
    • Niels Möller's avatar
      * camellia-meta.c: Use _NETTLE_CIPHER_SEP_SET_KEY. · 5af86074
      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
      5af86074
    • Niels Möller's avatar
      * camellia.c: Rewrote to use 64-bit type for subkeys and use · f441a523
      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
      f441a523
  4. Jul 07, 2010
    • Niels Möller's avatar
      * Makefile.in (nettle_SOURCES): Added camellia.c and · a4d89a90
      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
      a4d89a90
  5. Jul 06, 2010
Loading