1. 26 Jan, 2014 1 commit
  2. 25 Jan, 2014 1 commit
  3. 13 Jan, 2014 1 commit
  4. 26 Apr, 2013 2 commits
  5. 07 Jul, 2012 1 commit
  6. 16 Feb, 2011 1 commit
    • Niels Möller's avatar
      * gcm-aes.c (gcm_aes_set_iv): Use GCM_SET_IV. · 53f5da92
      Niels Möller authored
      (gcm_aes_set_key): Deleted cast.
      (gcm_aes_encrypt): Likewise.
      (gcm_aes_decrypt): Likewise.
      (gcm_aes_digest): Likewise.
      (gcm_aes_update): One less argument to GCM_UPDATE.
      
      * gcm.h (GCM_SET_KEY): Added cast to nettle_crypt_func *. Help
      compiler type checking despite this cast.
      (GCM_ENCRYPT): Likewise.
      (GCM_DECRYPT): Likewise.
      (GCM_DIGEST): Likewise.
      (GCM_SET_IV): New macro, for completeness.
      (GCM_UPDATE): Deleted unused argument encrypt.
      
      Rev: nettle/ChangeLog:1.156
      Rev: nettle/gcm-aes.c:1.4
      Rev: nettle/gcm.h:1.12
      53f5da92
  7. 13 Feb, 2011 2 commits
    • Niels Möller's avatar
      * gcm.h (GCM_UPDATE): Renamed, from... · 4961af0a
      Niels Möller authored
      (GCM_AUTH): ...old name.
      
      * gcm-aes.c (gcm_aes_update): Renamed, from...
      (gcm_aes_auth): ...old name.
      
      * gcm.c (gcm_update): Renamed, and fixed an assert. From...
      (gcm_auth): ...old name.
      
      Rev: nettle/ChangeLog:1.150
      Rev: nettle/gcm-aes.c:1.3
      Rev: nettle/gcm.c:1.14
      Rev: nettle/gcm.h:1.11
      4961af0a
    • Niels Möller's avatar
      (GCM_TABLE_BITS): Increase table size to 8 bits, · ccba0ebe
      Niels Möller authored
      corresponding to 4 KByte of key-dependent tables.
      
      Rev: nettle/gcm.h:1.10
      ccba0ebe
  8. 10 Feb, 2011 1 commit
  9. 09 Feb, 2011 2 commits
    • Niels Möller's avatar
      * gcm.c (gcm_hash_sizes): New function. · 9924966a
      Niels Möller authored
      (gcm_set_iv): Added support for IVs of arbitrary size. Needed
      another argument, for the hash subkey.
      (gcm_digest): Use gcm_hash_sizes.
      
      Rev: nettle/gcm.c:1.13
      Rev: nettle/gcm.h:1.8
      9924966a
    • Niels Möller's avatar
      * gcm.c (gcm_set_key): Replaced context argument by a struct · 5f07c78b
      Niels Möller authored
      gcm_key *.
      (gcm_hash): Replaced context argument by a struct gcm_key * and a
      pointer to the hashing state block.
      (gcm_auth): Added struct gcm_key * argument.
      (gcm_encrypt): Likewise.
      (gcm_decrypt): Likewise.
      (gcm_digest): Likewise.
      
      * gcm.h (struct gcm_key): Moved the key-dependent and
      message-independent state to its own struct.
      (struct gcm_ctx): ... and removed it here.
      (GCM_CTX): New macro.
      (GCM_SET_KEY): Likewise.
      (GCM_AUTH): Likewise.
      (GCM_ENCRYPT): Likewise.
      (GCM_DECRYPT): Likewise.
      (GCM_DIGEST): Likewise.
      (struct gcm_aes_ctx): New struct.
      
      Rev: nettle/ChangeLog:1.142
      Rev: nettle/gcm.c:1.12
      Rev: nettle/gcm.h:1.7
      5f07c78b
  10. 08 Feb, 2011 2 commits
  11. 07 Feb, 2011 1 commit
  12. 05 Feb, 2011 3 commits