1. 23 May, 2022 3 commits
  2. 22 May, 2022 1 commit
  3. 20 May, 2022 1 commit
  4. 14 May, 2022 2 commits
  5. 05 May, 2022 2 commits
  6. 28 Apr, 2022 2 commits
  7. 09 Apr, 2022 1 commit
  8. 17 Mar, 2022 2 commits
  9. 23 Feb, 2022 2 commits
  10. 22 Feb, 2022 3 commits
  11. 21 Feb, 2022 3 commits
  12. 19 Feb, 2022 5 commits
  13. 18 Feb, 2022 2 commits
    • Niels Möller's avatar
      Refactor GCM C implementation. · 1d438ad4
      Niels Möller authored
      Assembly implementations not yet updated.
      
      * Makefile.in (nettle_SOURCES): Add ghash-set-key.c ghash-update.c.
      (DISTFILES): Replaced gcm-internal.h with ghash-internal.h.
      
      * testsuite/gcm-test.c (test_ghash_internal): Updated to use
      _ghash_set_key and _ghash_update.
      
      * gcm.c (INC32): Deleted macro, used in only one place.
      (gcm_set_key): Update to use _ghash_set_key.
      (gcm_hash): Renamed, was _gcm_hash, and implemented in terms of
      _ghash_update.
      (bswap_if_le): New function (copied from nist-keywrap.c).
      (gcm_hash_sizes): Use bswap_if_le and _ghash_update.
      (gcm_set_iv): Updated to use gcm_hash and block16_zero.
      (gcm_digest): Use _ghash_digest.
      
      * ghash-internal.h: New file, declaring new internal ghash interface.
      * gcm-internal.h: Deleted file.
      * ghash-update.c (gcm_gf_shift_8): Moved here (from gcm.c)
      (gcm_gf_mul): Likewise.
      (_ghash_update): New function, extracted from _nettle_gcm_hash_c.
      (_ghash_digest): New function.
      * ghash-set-key.c (_ghash_set_key): New file and function.
      Extracted from _nettle_gcm_init_key_c and _nettle_gcm_set_key.
      1d438ad4
    • Niels Möller's avatar
      New function block16_zero. · bdf820df
      Niels Möller authored
      bdf820df
  14. 17 Feb, 2022 1 commit
  15. 15 Feb, 2022 3 commits
  16. 10 Feb, 2022 1 commit
  17. 28 Jan, 2022 1 commit
  18. 27 Jan, 2022 1 commit
  19. 25 Jan, 2022 2 commits
  20. 24 Jan, 2022 2 commits