floodyberry / siphash Goto Github PK
View Code? Open in Web Editor NEWSipHash: a fast short-input PRF
Home Page: http://131002.net/siphash/
SipHash: a fast short-input PRF
Home Page: http://131002.net/siphash/
I found this lines in sse2 and ssse3 sipcompress macro implementation:
v13 = _mm_unpacklo_epi64(v11, v33);
v13 = _mm_unpacklo_epi64(v11, v33); \
Looks like its make no sense to write it twice. So it's just a typo or I can't understand something?
in test.c, shouldn't the loop read:
for (len = 1; len <= 1024; len++) {
instead of:
for (len = 1; len < 1024; len++) {
?
This code looks wrong:
__asm__ __volatile__("rdtsc" : "=a" (lo), "=d" (hi));
Snippet from this paper http://download.intel.com/embedded/software/IA/324264.pdf :
Starting with the Intel Pentium processor, most Intel CPUs support out-of-order execution of the code. The purpose is to optimize the penalties due to the different instruction latencies. Unfortunately this feature does not guarantee that the temporal sequence of the single compiled C instructions will respect the sequence of the instruction themselves as written in the source C file. When we call the RDTSC instruction, we pretend that that instruction will be executed exactly at the beginning and at the end of code being measured (i.e., we don’t want to measure compiled code executed outside of the RDTSC calls or executed in between the calls themselves).
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.