1. 06 Jun, 2011 1 commit
  2. 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.
      (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
    • 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
  3. 31 May, 2011 2 commits
    • Niels Möller's avatar
      (byte_swap_32): Deleted macro. · ea4c06f4
      Niels Möller authored
      (serpent_key_prepare): Use LE_READ_UINT32. Don't require aligned
      input, and support arbitrary key sizes.
      Rev: nettle/ChangeLog:1.171
      Rev: nettle/serpent.c:1.5
    • Simon Josefsson's avatar
      Serpent rewrite. · 6578740e
      Simon Josefsson authored and Niels Möller's avatar Niels Möller committed
      Rev: nettle/ChangeLog:1.170
      Rev: nettle/Makefile.in:1.33
      Rev: nettle/serpent.c:1.4
      Rev: nettle/serpent_sboxes.h:1.2(DEAD)
  4. 15 Apr, 2011 1 commit
  5. 07 Jul, 2010 1 commit
    • Niels Möller's avatar
      * aes.h (aes_encrypt, aes_decrypt): Declare ctx argument as const. · c8f4cc35
      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
  6. 12 May, 2003 1 commit
    • Niels Möller's avatar
      * Reordered includes in most or all .c-files. All should now include · c5c15385
      Niels Möller authored
      Rev: src/nettle/ChangeLog:1.195
      Rev: src/nettle/aes-decrypt-table.c:1.4
      Rev: src/nettle/aes-decrypt.c:1.5
      Rev: src/nettle/aes-encrypt-table.c:1.4
      Rev: src/nettle/aes-encrypt.c:1.5
      Rev: src/nettle/aes-meta.c:1.3
      Rev: src/nettle/aes-set-decrypt-key.c:1.2
      Rev: src/nettle/aes-set-encrypt-key.c:1.2
      Rev: src/nettle/aes.c:1.12
      Rev: src/nettle/aesdata.c:1.2
      Rev: src/nettle/arcfour-meta.c:1.2
      Rev: src/nettle/arcfour.c:1.3
      Rev: src/nettle/base16-decode.c:1.2
      Rev: src/nettle/base16-encode.c:1.2
      Rev: src/nettle/base16-meta.c:1.3
      Rev: src/nettle/base64-decode.c:1.5
      Rev: src/nettle/base64-encode.c:1.3
      Rev: src/nettle/base64-meta.c:1.4
      Rev: src/nettle/bignum-random.c:1.3
      Rev: src/nettle/bignum.c:1.7
      Rev: src/nettle/blowfish.c:1.4
      Rev: src/nettle/buffer-init.c:1.3
      Rev: src/nettle/buffer.c:1.8
      Rev: src/nettle/cast128-meta.c:1.3
      Rev: src/nettle/cast128.c:1.4
      Rev: src/nettle/cbc.c:1.6
      Rev: src/nettle/des-compat.c:1.10
      Rev: src/nettle/des.c:1.7
      Rev: src/nettle/des3.c:1.2
      Rev: src/nettle/dsa-keygen.c:1.6
      Rev: src/nettle/dsa-sign.c:1.7
      Rev: src/nettle/dsa-verify.c:1.4
      Rev: src/nettle/dsa.c:1.5
      Rev: src/nettle/examples/io.c:1.4
      Rev: src/nettle/examples/nettle-benchmark.c:1.8
      Rev: src/nettle/examples/nettle-openssl.c:1.2
      Rev: src/nettle/examples/rsa-keygen.c:1.10
      Rev: src/nettle/examples/rsa-sign.c:1.5
      Rev: src/nettle/examples/rsa-verify.c:1.4
      Rev: src/nettle/hmac-md5.c:1.5
      Rev: src/nettle/hmac-sha1.c:1.2
      Rev: src/nettle/hmac-sha256.c:1.2
      Rev: src/nettle/hmac.c:1.4
      Rev: src/nettle/knuth-lfib.c:1.2
      Rev: src/nettle/md5-compat.c:1.3
      Rev: src/nettle/md5-meta.c:1.2
      Rev: src/nettle/md5.c:1.6
      Rev: src/nettle/memxor.c:1.2
      Rev: src/nettle/nettle-internal.c:1.3
      Rev: src/nettle/pgp-encode.c:1.4
      Rev: src/nettle/pkcs1-rsa-md5.c:1.2
      Rev: src/nettle/pkcs1-rsa-sha1.c:1.2
      Rev: src/nettle/pkcs1.c:1.2
      Rev: src/nettle/realloc.c:1.3
      Rev: src/nettle/rsa-compat.c:1.8
      Rev: src/nettle/rsa-decrypt.c:1.4
      Rev: src/nettle/rsa-encrypt.c:1.5
      Rev: src/nettle/rsa-keygen.c:1.5
      Rev: src/nettle/rsa-md5-sign.c:1.2
      Rev: src/nettle/rsa-md5-verify.c:1.2
      Rev: src/nettle/rsa-sha1-sign.c:1.2
      Rev: src/nettle/rsa-sha1-verify.c:1.2
      Rev: src/nettle/rsa-sign.c:1.3
      Rev: src/nettle/rsa-verify.c:1.2
      Rev: src/nettle/rsa.c:1.12
      Rev: src/nettle/rsa2openpgp.c:1.2
      Rev: src/nettle/rsa2sexp.c:1.7
      Rev: src/nettle/serpent-meta.c:1.2
      Rev: src/nettle/serpent.c:1.4
      Rev: src/nettle/sexp-format.c:1.9
      Rev: src/nettle/sexp-transport-format.c:1.2
      Rev: src/nettle/sexp-transport.c:1.4
      Rev: src/nettle/sexp.c:1.14
      Rev: src/nettle/sexp2bignum.c:1.5
      Rev: src/nettle/sexp2dsa.c:1.4
      Rev: src/nettle/sexp2rsa.c:1.11
      Rev: src/nettle/sha1-meta.c:1.2
      Rev: src/nettle/sha1.c:1.8
      Rev: src/nettle/sha256-meta.c:1.2
      Rev: src/nettle/sha256.c:1.3
      Rev: src/nettle/tools/input.c:1.2
      Rev: src/nettle/tools/misc.c:1.2
      Rev: src/nettle/tools/output.c:1.3
      Rev: src/nettle/tools/parse.c:1.2
      Rev: src/nettle/tools/sexp-conv.c:1.14
      Rev: src/nettle/twofish-meta.c:1.2
      Rev: src/nettle/twofish.c:1.6
      Rev: src/nettle/yarrow256.c:1.17
      Rev: src/nettle/yarrow_key_event.c:1.4
  7. 16 Jun, 2001 1 commit
  8. 15 Jun, 2001 1 commit
    • Niels Möller's avatar
      Minor fixes. · abd17ec3
      Niels Möller authored
      Rev: src/nettle/blowfish.c:1.2
      Rev: src/nettle/blowfish.h:1.2
      Rev: src/nettle/des.h:1.2
      Rev: src/nettle/serpent.c:1.2
  9. 13 Jun, 2001 1 commit
  10. 09 Oct, 2000 1 commit
  11. 07 Oct, 2000 1 commit
  12. 10 Sep, 2000 2 commits
    • Niels Möller's avatar
      * src/symmetric/serpent.c: Replaced the AES "All rights reserved" · f59011a4
      Niels Möller authored
      copyright blurb with the vanilla GPL blurb, after confirming with
      the authors that the code really is GPL:ed.
      * src/symmetric/serpentsboxes.h: Likewise.
      * src/symmetric/serpent.c (serpent_setup): Don't use array syntax
      for function argument types.
      Rev: src/symmetric/serpent.c:1.2
    • Rafael Sevilla's avatar
      *** empty log message *** · cadc7ac6
      Rafael Sevilla authored and Niels Möller's avatar Niels Möller committed
      Rev: src/symmetric/Makefile.am.in:1.17
      Rev: src/symmetric/include/rijndael.h:1.1
      Rev: src/symmetric/include/serpent.h:1.1
      Rev: src/symmetric/rijndael.c:1.1
      Rev: src/symmetric/rijndael_test.c:1.1
      Rev: src/symmetric/serpent.c:1.1
      Rev: src/symmetric/serpentsboxes.h:1.1