8000 GitHub - KrishnanGosakan/vpcamellia: An implementation of camellia through AVX2/AVX512 instructions
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

KrishnanGosakan/vpcamellia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vpcamellia

An implementation of camellia through vector permute instructions. This work is done based on AES implementation in openSSL, which uses vector permute instructions for s-box and mixcolumn operations. Similarly, this implementation uses AVX2 instructions for s-box, p function and Fl,FL-1 operations.

To build this repository, move inside the build directory and start the build.sh file.

cd build
make

For this code to work, your machine must support AVX2 instruction set. To check that, issue the following command from terminal.

lscpu

In the output of lscpu, check if AVX2 is available in flags section or else you can grep as follows

lscpu | grep AVX2

If your machine didn't support AVX2, don't worry as there are a couple of other ways to make it work.

  1. You can use Intel's emulator(also called SDE) to make it work.
  2. You can also use some tool, like QEMU, which can simulate these instruction sets.

About

An implementation of camellia through AVX2/AVX512 instructions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0