Giter Club home page Giter Club logo

blake3-prov's Introduction

blake3-prov

This is a BLAKE3 provider implementation for OpenSSL, intended to provide access to BLAKE3 until the algorithm is standardized and implemented upstream.

Dependencies

  • OpenSSL 3.0 or greater
  • CMake 3.10 or greater

Building

Create a separate build tree:

$ mkdir output && cd output
$ cmake ../ && make

The only currently supported platform is Linux, using GCC or Clang. Other platforms and compilers may or may not work.

Configuration Flags

  • BLAKE3_ENABLE_SSE

    • Set CMake flag to 1 during invocation to enable SSE2 and SSE4.1 optimziations in BLAKE3. If not set, this option will default to the appropriate setting for the host system.
  • BLAKE3_ENABLE_AVX2

    • Set to 1 to enable AVX2 support in BLAKE3. This option defaults to enabled.
  • BLAKE3_ENABLE_AVX512

    • Set to 1 to enable AVX512 support in BLAKE3. This option defaults to disabled.
  • BLAKE3_ENABLE_NEON

    • Set to 1 to enable NEON support in BLAKE3. This option defaults to disabled.

Environment Variables

  • OPENSSL_MODULES_DIR
    • If this environment variable is set, the install script will install the provider library to the directory specified.

Running Tests

Tests can be run with CTest:

$ ctest ..

Installation

Run the installation script with:

$ sudo make install

License

blake3-prov is distributed under an Apache 2.0 license. See LICENSE for details.

Attributions

The BLAKE3 implementation and test vectors used were provided by the Blake3 reference implementation.

blake3-prov's People

Contributors

j-montgomery avatar levitte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.