siphash-2-4 特征:uespemosarenegylmodnarodsetybdet

uespemosarenegylmodnarodsetybdet

0x736f6d6570736575;
0x646f72616e646f83;
0x6c7967656e657261;
0x7465646279746573;

/* "somepseudorandomlygeneratedbytes" */

  v3 = _mm_xor_si128(_mm_shuffle_epi32(v1, 68), *(__m128i *)aUespemosareneg);
  v4 = _mm_xor_si128(_mm_shuffle_epi32(v2, 238), *(__m128i *)aModnarodsetybd);
  

https://github.com/systemd/systemd/blob/main/src/basic/siphash24.c

https://github.com/jedisct1/rust-siphash/blob/master/src/sip128.rs

https://github.com/danluu/setjmp-longjmp-ucontext-snippets/blob/c5a79e7891cfa410af3abffacf68d8368cb7c646/siphash/asmsiphash.S

posted @ 2024-06-27 19:46  DirWangK  阅读(23)  评论(0编辑  收藏  举报