Giter VIP home page Giter VIP logo

belt-module's Introduction

Linux Crypto API Belt module

A module for Linux Kernel Crypto API that implements BELT encryption algorithm (256 key version).

The algorithm is a part of Belarussian National Standard STB 34.101.31

The repository has two modules - the first implements BELT encrytion algorithm, the second is used for testing and contains some test vectors from STB 34.101.31 standard.

Build and install

If you're building the modules on Cent OS, make sure you have kernel-devel package installed in your system.

For main module do the following steps:

  1. $ cd belt
  2. $ make
  3. # insmod belt.ko to only load it
  4. # make install to install and load the module
  5. $ tail /var/log/syslog on Ubuntu or $ tail /var/log/messages on CentOS to see in syslog that the module is loaded.
  6. The other way to make sure the module is loaded is to run $ lsmod | grep belt. If you install the module, you can load it by running # modprobe belt

To build and load the testing module do the following:

  1. $ cd belt-test
  2. $ make
  3. # insmod belt_test.ko

The last command will return insmod: ERROR: could not insert module belt_test.ko: Resource temporarily unavailable, the test results will be in syslog.

belt-module's People

Contributors

luc-lynx avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.