Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\siphash.c Create Date:2022-07-28 06:15:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__hsiphash_unaligned

Proto:u32 __hsiphash_unaligned(const void *data, size_t len, const hsiphash_key_t *key)

Type:u32

Parameter:

TypeParameterName
const void *data
size_tlen
const hsiphash_key_t *key
446  end = data + len - len % sizeof(u32)
447  left = len & sizeof(u32) - 1
449  HPREAMBLE(len)
450  When data != end cycle
451  m = get_unaligned_le32(data)
452  v3 ^= m
453  HSIPROUND
454  v0 ^= m
457  Case left == 3
457  b |= end[2] << 16
458  Case left == 2
458  Break
459  Case left == 1
459  b |= end[0]
461  HPOSTAMBLE