8000 GitHub - aegis-aead/libaegis at 0.1.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aegis-aead/libaegis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libaegis

Portable C implementations of AEGIS (AEGIS-128L and AEGIS-256), with runtime CPU detection.

Features

  • AEGIS-128L with 16 and 32 bytes tags
  • AEGIS-256 with 16 and 32 bytes tags
  • Encryption and decryption with attached and detached tags
  • Incremental encryption and decryption.

Installation

Compilation with zig:

zig build -Drelease

The library is installed in the zig-out/lib folder.

Public inludes are in the src/include folder.

Compilation with cmake:

mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/install/prefix ..
make install

Direct inclusion

Copy everything in src directly into your project, and compile everything like regular C code. No special configuration is required.

Usage

Include <aegis.h> and call aegis_init() prior to doing anything else with the library.

aegis_init() checks the CPU capabilities in order to later use the fastest implementations.

About

Portable C implementations of the AEGIS family of high-performance authenticated encryption algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

0