#ifndef DRAUPNIR_H__
#define DRAUPNIR_H__

#include <cstdint>

#include "Sponge.h"
#include "CrcSponge.h"
#include "CrcSpongeBuilder.h"
#include "Constants.h"

namespace Draupnir {

  // utility typedefs
  typedef CrcSponge<std::uint64_t> CrcSponge64;
  typedef CrcSponge<std::uint32_t> CrcSponge32;
  typedef CrcSponge<std::uint16_t> CrcSponge16;
  typedef CrcSponge<std::uint8_t> CrcSponge8;

  typedef CrcSpongeBuilder<std::uint64_t> CrcSponge64Builder;
  typedef CrcSpongeBuilder<std::uint32_t> CrcSponge32Builder;
  typedef CrcSpongeBuilder<std::uint16_t> CrcSponge16Builder;
  typedef CrcSpongeBuilder<std::uint8_t> CrcSponge8Builder;

}

#endif /* DRAUPNIR_H__ */


#ifndef DRAUPNIR_H__
#define DRAUPNIR_H__

#include <cstdint>

#include "Sponge.h"
#include "CrcSponge.h"
#include "CrcSpongeBuilder.h"
#include "Constants.h"

namespace Draupnir {

  // utility typedefs
  using CrcSponge64 = CrcSponge<std::uint64_t>;
  using CrcSponge32 = CrcSponge<std::uint32_t>;
  using CrcSponge16 = CrcSponge<std::uint16_t>;
  using CrcSponge8  = CrcSponge<std::uint8_t >;

  using CrcSponge64Builder = CrcSpongeBuilder<std::uint64_t>;
  using CrcSponge32Builder = CrcSpongeBuilder<std::uint32_t>;
  using CrcSponge16Builder = CrcSpongeBuilder<std::uint16_t>;
  using CrcSponge8Builder  = CrcSpongeBuilder<std::uint8_t >;

}

#endif /* DRAUPNIR_H__ */


Use using instead of typedef
Use using instead of typedef
