Skip to content

DronMDF/goost

Repository files navigation

Pure object oriented gost ciphers implementation

Build Coverage Download License

Standarts

GOST 28147-89

GOST 34.12-2015 Block ciphers

GOST 34.13-2015 Modes of operation for block ciphers

Principles of the project

  • No code in ctor
  • Only one primary ctor (all other are delegating to primary)
  • No static
  • No null
  • No new (use make_unique or make_shared)
  • All classes are final
  • All base classes are abstract (with default virtual dtor)
  • All method are const (exclude private classes)
  • All member are private and const (exclude private classes)

Building

$ conan remote add mdf https://api.bintray.com/conan/mdf/pureoop
$ conan install <path to goost> -s compiler.libcxx='libstdc++11' --build 2out
$ cmake -GNinja <path to goost>
$ ninja
$ ninja test

Benchmark

goost-benchmark project