kste / skinny_avx Goto Github PK
View Code? Open in Web Editor NEWAVX implementation of the Skinny block cipher
License: MIT License
AVX implementation of the Skinny block cipher
License: MIT License
In skinny64/avx2/skinny64.c
, there is a definition of tmp:
u256 rc, tmp[3];
but in the line 71 and line 83, there is tmp[3] = x[15];
and x[3] = XOR(tmp[3], x[15]);
,which pass the end of array tmp[3].
I think define tmp
as u256 tmp[4]
is right.
Hello,
My name is Robbe, I'm currently writing a bit-sliced SIMD implementation on ForkSKINNY primitive. I'm using this implementation as a benchmark and have a question.
As far as I understand the implementation, you slice the nibbles of 64 cipher states in a single __m256i
SIMD variable, correct? So for example, the u256 x[16]
parameter entering the rounds here:
Is an array of 16 256-bit values, where every value in this array contains 64 equally-significant nibbles (thus 4*64 = 256 bits), correct? Then the round operations are performed between multiple such 256-bit slices. If not, how or where is the slice and unslice operation performed?
Thank you so much,
Robbe
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.