1. 08 Feb, 2011 3 commits
    • Niels Möller's avatar
      * gcm.c (gcm_gf_shift): Added a separate result argument. · 56691ae4
      Niels Möller authored
      (gcm_gf_mul): Compile bitwise version only when GCM_TABLE_BITS ==
      0. Simplified interface with just two arguments pointing to
      complete blocks.
      (gcm_gf_shift_4, gcm_gf_shift_8): Renamed table-based functions, from...
      (gcm_gf_shift_chunk): ... old name.
      (gcm_gf_mul): Renamed both table-based versions and made the
      argument types compatible with the bitwise gcm_gf_mul.
      (gcm_gf_mul_chunk): ... the old name.
      (gcm_set_key): Initialize the table using adds and shifts only.
      When GCM_TABLE_BITS > 0, this eliminates the only use of the
      bitwise multiplication.
      (gcm_hash): Simplified, now that we have the same interface for
      gcm_gf_mul, regardless of table size.
      
      Rev: nettle/ChangeLog:1.140
      Rev: nettle/gcm.c:1.11
      56691ae4
    • Niels Möller's avatar
      * gcm.c (GHASH_POLYNOMIAL): Use unsigned long for this constant. · 41a660e1
      Niels Möller authored
      (gcm_gf_shift_chunk): Fixed bugs for the big endian 64-bit case,
      e.g., sparc64. For both 4-bit and 8-bit tables.
      
      Rev: nettle/ChangeLog:1.139
      Rev: nettle/gcm.c:1.10
      41a660e1
    • Niels Möller's avatar
      * gcm.c: Use the new union gcm_block for all gf operations. · 6b34ff5a
      Niels Möller authored
      * gcm.h (union gcm_block): New union, used to enforce alignment.
      
      Rev: nettle/ChangeLog:1.138
      Rev: nettle/gcm.c:1.9
      Rev: nettle/gcm.h:1.5
      6b34ff5a
  2. 07 Feb, 2011 5 commits
  3. 06 Feb, 2011 3 commits
  4. 05 Feb, 2011 2 commits
  5. 07 Jan, 2011 2 commits
  6. 14 Dec, 2010 1 commit
  7. 07 Dec, 2010 1 commit
  8. 26 Nov, 2010 2 commits
    • Niels Möller's avatar
      Reapplied optimizations (150% speedup on x86_32) and other fixes, · 58ae58cd
      Niels Möller authored
      relicensing them as LGPL.
      * blowfish.c (do_encrypt): Renamed, to...
      (encrypt): ...new name.
      (F): Added context argument. Shift input explicitly, instead of
      reading individual bytes via memory.
      (R): Added context argument.
      (encrypt): Deleted a bunch of local variables. Using the context
      pointer for everything should consume less registers.
      (decrypt): Likewise.
      (initial_ctx): Arrange constants into a struct, to simplify key setup.
      (blowfish_set_key): Some simplification.
      
      Rev: nettle/ChangeLog:1.123
      Rev: nettle/blowfish.c:1.5
      58ae58cd
    • Simon Josefsson's avatar
      *** empty log message *** · 8ce0ab12
      Simon Josefsson authored
      Rev: nettle/ChangeLog:1.122
      Rev: nettle/blowfish.c:1.4
      8ce0ab12
  9. 25 Nov, 2010 1 commit
  10. 16 Nov, 2010 1 commit
  11. 01 Nov, 2010 1 commit
  12. 26 Oct, 2010 2 commits
  13. 06 Oct, 2010 1 commit
  14. 01 Oct, 2010 1 commit
  15. 30 Sep, 2010 2 commits
  16. 24 Sep, 2010 3 commits
    • Niels Möller's avatar
      *** empty log message *** · ce5b04aa
      Niels Möller authored
      Rev: nettle/ChangeLog:1.112
      ce5b04aa
    • Niels Möller's avatar
      *** empty log message *** · 7e476fb4
      Niels Möller authored
      Rev: nettle/ChangeLog:1.111
      7e476fb4
    • 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
      f1713dbe
  17. 22 Sep, 2010 2 commits
  18. 20 Sep, 2010 1 commit
  19. 17 Sep, 2010 1 commit
  20. 25 Jul, 2010 5 commits