1. 14 Jun, 2011 1 commit
    • Niels Möller's avatar
      New file. · cee75032
      Niels Möller authored
      Rev: nettle/x86_64/serpent-encrypt.asm:1.1
      cee75032
  2. 13 Jun, 2011 2 commits
  3. 12 Jun, 2011 5 commits
  4. 10 Jun, 2011 2 commits
  5. 09 Jun, 2011 3 commits
  6. 08 Jun, 2011 5 commits
  7. 07 Jun, 2011 4 commits
  8. 06 Jun, 2011 2 commits
    • Niels Möller's avatar
      * Makefile.in (DISTFILES): Added serpent-internal.h. · 00a6c2d1
      Niels Möller authored
      (nettle_SOURCES): Replaced serpent.c by serpent-set-key.c,
      serpent-encrypt.c, and serpent-decrypt.c.
      
      * serpent.c: Replaced by several new files.
      * serpent-set-key.c: New file.
      * serpent-encrypt.c: New file.
      * serpent-decrypt.c: New file.
      * serpent-internal.h: New file.
      
      Rev: nettle/ChangeLog:1.176
      Rev: nettle/Makefile.in:1.34
      Rev: nettle/serpent-decrypt.c:1.1
      Rev: nettle/serpent-encrypt.c:1.1
      Rev: nettle/serpent-internal.h:1.1
      Rev: nettle/serpent-set-key.c:1.1
      Rev: nettle/serpent.c:1.9(DEAD)
      00a6c2d1
    • Niels Möller's avatar
      Process two blocks at a time in parallel. Measured speedup of 10%--25% · 229f766b
      Niels Möller authored
      (higher for encryption) on x86_64.
      
      Rev: nettle/ChangeLog:1.175
      Rev: nettle/serpent.c:1.8
      229f766b
  9. 03 Jun, 2011 1 commit
  10. 01 Jun, 2011 2 commits
    • Niels Möller's avatar
      * serpent.c (ROUNDS): Deleted macro. · e57e557f
      Niels Möller authored
      (serpent_block_t): Deleted array typedef.
      (KEYXOR): New macro, replacing BLOCK_XOR.
      (BLOCK_COPY, SBOX, SBOX_INVERSE): Deleted macros.
      (LINEAR_TRANSFORMATION): Use four separate arguments.
      (LINEAR_TRANSFORMATION_INVERSE): Likewise.
      (ROUND): Take separate arguments for all input and output words.
      (ROUND_INVERSE): Likewise.
      (ROUND_LAST, ROUND_FIRST_INVERSE): Deleted macros.
      (serpent_set_key): Moved loop termination test.
      (serpent_encrypt): Rewrote with unrolling of just eight rounds,
      and without serpent_block_t.
      (serpent_decrypt): Likewise.
      
      Rev: nettle/ChangeLog:1.174
      Rev: nettle/serpent.c:1.7
      e57e557f
    • Niels Möller's avatar
      Added do { ... } while (0) around block macros. · 763ed53e
      Niels Möller authored
      (serpent_key_t): Deleted array typedef.
      (ROL32, ROR32): Renamed macros, were rol and ror.
      (KS_RECURRENCE, KS): New macros.
      (serpent_key_pad): Renamed, from...
      (serpent_key_prepare): ...old name.
      (serpent_subkeys_generate): Deleted function.
      (serpent_set_key): Rewrote the generation of subkeys. Reduced both
      temporary storage and code size (less unrolling)
      
      Rev: nettle/ChangeLog:1.173
      Rev: nettle/serpent.c:1.6
      763ed53e
  11. 31 May, 2011 6 commits
  12. 30 May, 2011 3 commits
  13. 21 May, 2011 1 commit
  14. 06 May, 2011 3 commits