aboutgitcodebugslistschat
path: root/siphash.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-09-28 11:20:58 +1000
committerStefano Brivio <sbrivio@redhat.com>2023-09-30 12:40:46 +0200
commitfcec3f6f9dc6b0643b98217f2764945a5d33840c (patch)
tree3ee090c91601f399e37d71294822a8b768258fb7 /siphash.h
parent5cc843521dee0a7da86093eb32a66f3f082da458 (diff)
downloadpasst-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.gz
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.bz2
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.lz
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.xz
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.tar.zst
passt-fcec3f6f9dc6b0643b98217f2764945a5d33840c.zip
siphash: Use more hygienic state initialiser
The PREAMBLE macro sets up the SipHash initial internal state. It also defines that state as a variable, which isn't macro hygeinic. With previous changes simplifying this premable, it's now possible to replace it with a macro which simply expands to a C initialisedrfor that state. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'siphash.h')
0 files changed, 0 insertions, 0 deletions