Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/Maxul/SGX-AES-256

AES-NI Crypto for Intel SGX
https://github.com/Maxul/SGX-AES-256

aes-256 aesni crypto sgx

Last synced: 1 day ago
JSON representation

AES-NI Crypto for Intel SGX

Lists

README

        

# SGX AES 256 Support

Port [Libsodium](https://download.libsodium.org/doc/) (1.0.18-stable, July 03, 2020) `AES-256-GCM` algorithm into Intel SGX enclaves.
It uses CPU `rdrand` for digital random number generation, please see `Enclave/randombytes.cpp`.
To go into the test details, please refer to `Enclave/aead_aes256gcm.cpp`.

Tested Platform: Linux.
To adjust the `tmmintrin.h` path, please modify `Enclave_Include_Paths` in `Makefile`.

Note that AES-NI is claimed to be side-channel proof.

**Developer: Maxul Lee**

## About Sodium

Sodium is a modern, easy-to-use software library for encryption, decryption, signatures, password hashing and more.
Sodium is cross-platforms and cross-languages. It runs on a variety of compilers and operating systems, including Windows (with MinGW or Visual Studio, x86 and x86_64), iOS and Android.
Javascript and WebAssembly versions are also available and are fully supported.