1. 13 Feb, 2011 2 commits
  2. 11 Feb, 2011 1 commit
  3. 10 Feb, 2011 11 commits
  4. 09 Feb, 2011 10 commits
  5. 08 Feb, 2011 5 commits
    • Niels Möller's avatar
      *** empty log message *** · 8b753af5
      Niels Möller authored
      Rev: nettle/ChangeLog:1.141
    • Niels Möller's avatar
      * gcm.h (struct gcm_ctx): The hash key is now always an array, · fa5e487d
      Niels Möller authored
      named h, with array size depending on GCM_TABLE_BITS.
      Rev: nettle/gcm.h:1.6
    • 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
    • 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
    • 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
  6. 07 Feb, 2011 8 commits
  7. 06 Feb, 2011 3 commits
    • Niels Möller's avatar
      *** empty log message *** · 69fbc783
      Niels Möller authored
      Rev: nettle/ChangeLog:1.132
    • Niels Möller's avatar
      (TARGETS): Added gcmdata. · 24df45cb
      Niels Möller authored
      (gcmdata): New rule.
      Rev: nettle/Makefile.in:1.29
    • Niels Möller's avatar
      Introduced 4-bit tables. Gives gmac performance of 45 cycles per · 086023df
      Niels Möller authored
      byte (still on intel x86_64).
      * gcm.c (gcm_gf_shift): Renamed. Tweaked little-endian masks.
      (gcm_rightshift): ... old name.
      (gcm_gf_mul): New argument for the output. Added length argument
      for one of the inputs (implicitly padding with zeros).
      (shift_table): New table (in 4-bit and 8-bit versions), generated
      by gcmdata.
      (gcm_gf_shift_chunk): New function shifting 4 bits at
      a time.
      (gcm_gf_mul_chunk): New function processing 4 bits at a time.
      (gcm_set_key): Generation of 4-bit key table.
      (gcm_hash): Use tables, when available.
      Rev: nettle/gcm.c:1.5