1. 02 Jan, 2020 2 commits
  2. 30 Dec, 2019 1 commit
    • Niels Möller's avatar
      Reorganize eddsa, based on patch by Daiki Ueno. · 1a85646b
      Niels Möller authored
      * eddsa-internal.h (struct ecc_eddsa): New struct for eddsa
      * ed25519-sha512.c (_nettle_ed25519_sha512): New parameter struct.
      * eddsa-expand.c (_eddsa_expand_key): Replace input
      struct nettle_hash with struct ecc_eddsa, and generalize for
      ed448. Update all callers.
      * eddsa-sign.c (_eddsa_sign): Likewise.
      * eddsa-verify.c (_eddsa_verify): Likewise.
      * eddsa-compress.c (_eddsa_compress): Store sign bit in most
      significant bit of last byte, as specified by RFC 8032.
      * eddsa-decompress.c (_eddsa_decompress): Corresponding update.
      Also generalize to support ed448, and make validity checks
      * testsuite/eddsa-sign-test.c (test_ed25519_sign): New function.
      (test_main): Use it.
      * testsuite/eddsa-verify-test.c (test_ed25519): New function.
      (test_main): Use it.
  3. 07 Jul, 2018 1 commit
    • Nikos Mavrogiannopoulos's avatar
      abi: explicitly export intended symbols and hide others · da81c86a
      Nikos Mavrogiannopoulos authored
      This adds all exported symbols in the map files explicitly under
      the following rules:
       - Symbols mentioned in internal headers go in a section which is
         valid only for testing, and linking with these symbols will break
         in library updates.
       - Symbols mentioned in installed headers go in the exported sections
         and are considered part of the ABI.
       - All internal symbols move to internal headers.
       - The _nettle_md5_compress and _nettle_sha1_compress become exported
         without the _nettle prefix, due to existing usage.
  4. 19 Mar, 2015 2 commits
  5. 08 Oct, 2014 1 commit
  6. 04 Oct, 2014 1 commit