Bee2 – это криптографическая библиотека, которая реализует алгоритмы и протоколы, определённые в стандартах Республики Беларусь. http://apmi.bsu.by/resources/tools.html
Sergey Agievich 4d760227ab Update doxygen files | 6 일 전 | |
---|---|---|
.github | 10 달 전 | |
RPM | 3 년 전 | |
cmd | 4 달 전 | |
doc | 6 일 전 | |
dockerfiles | 6 달 전 | |
img | 4 년 전 | |
include | 6 일 전 | |
src | 6 일 전 | |
test | 6 일 전 | |
win | 4 달 전 | |
.editorconfig | 4 년 전 | |
.gitignore | 1 년 전 | |
AUTHORS.md | 8 달 전 | |
CMakeLists.txt | 5 달 전 | |
Docker.md | 1 년 전 | |
LICENSE.txt | 1 년 전 | |
README.md | 6 일 전 | |
docker-bake.json | 1 년 전 |
Bee2 is a cryptographic library which implements cryptographic algorithm and protocols standardized in Belarus.
Bee2 fully supports the following standards (see apmi.bsu.by/resources/std.html):
Bee2 partially supports cryptographic mechanisms and data formats defined in the following standards:
Additionally, Bee2 implements digital signature algorithms standardized in Russia and Ukraine.
mkdir build
cd build
cmake [-DCMAKE_BUILD_TYPE={Release|Debug|Coverage|ASan|ASanDbg|MemSan|MemSanDbg|Check}]\
[-DBUILD_FAST=ON]\
[-DBASH_PLATFORM={BASH_32|BASH_64|BASH_AVX2|BASH_AVX512|BASH_NEON}]\
..
make
[make test]
[make install]
Note. To build on Windows you need to specify compiler and use the compiler-specific
make
command. The following example is for the MinGW compiler:mkdir build cd build cmake [-DCMAKE_BUILD_TYPE={Release|Debug|Coverage|ASan|ASanDbg|MemSan|MemSanDbg|Check}]\ [-DBUILD_FAST=ON]\ [-DBASH_PLATFORM={BASH_32|BASH_64|BASH_AVX2|BASH_AVX512|BASH_NEON}]\ -G "MinGW Makefiles"\ .. mingw32-make [mingw32-make test] [mingw32-make install]
Build types (Release
by default):
Coverage
— test coverage;ASan
, ASanDbg
— address sanitizer;MemSan
, MemSanDbg
— memory sanitizer;Check
— strict compile rules.The BUILD_FAST
option (OFF
by default) switches from safe (constant-time)
functions to fast (non-constant-time) ones.
The BASH_PLATFORM
option (BASH_64
by default) requests to use a specific
implementation of the STB 34.101.77 algorithms optimized for a given hardware
platform. The request may be rejected if it conflicts with other options.
Bee2 is distributed under the Apache License version 2.0. See Apache 2.0 or LICENSE for details.
Platforms:
Static analysis:
Code coverage:
The logo of Bee2 is taken from a self-portrait engraving by Francysk Skaryna, the famous Belarusian medieval printer, enlightener, translator and writer. The engraving is full of riddles, mysteries and cryptograms. One version is that a bee in the right-bottom corner, our logo, designates the constellation known as Apes (Latin for bees) in Skaryna's time. This constellation was later renamed in Musca Borelias (Latin for northern fly) and then absorbed by Aries.