Comments (2)
SipHash does everything in little-endian, and the value they are showing in the document is the value of the 64 bit word that is the result. When that word is converted to bytes, it is done little endian, and so reversed.
You can see a similar byte swap being performed for example in OpenSSL at https://github.com/openssl/openssl/blob/master/crypto/siphash/siphash.c#L253
from botan.
You should be able to verify Botan produces the same SipHash values in practice using another library such as OpenSSL or Python, etc. If you have any issues in this regard please feel free to reopen.
from botan.
Related Issues (20)
- Botan 3.0: Cannot create custom sub-classes of `Botan::Private_Key` HOT 3
- Enable GH workflows on change branches
- Failing to run program on Windows HOT 9
- Compilation failed under Android 25 HOT 8
- Creating a CSR using Botan and softHSM2 HOT 6
- Creating a CSR (CERTIFICATE REQUEST) from config file
- Support for Ed448 and X448 HOT 1
- `test_compression` fails on the latest Fedora Rawhide HOT 7
- Botan CLI generates invalid self-signed certificate authority HOT 2
- add --cc-standard to force a cpp compiler version HOT 3
- Missing Implementation of `botan_cipher_is_authenticated()` in ffi.h. HOT 3
- [2.19.4] Sporadic test failure with `_GLIBCXX_ASSERTIONS` HOT 8
- [3.3.0] Sporadic dilithium_kat_4x4_AES_Deterministic failure HOT 4
- AES-CTR (and probably more stream ciphers) are slow when used via the FFI's Stream_Cipher mode. HOT 5
- [3.3.0] heap-use-after-free for ffi.cpp:g_last_exception_what HOT 3
- Build failure, 3.3.0 amalgamation arm64 HOT 5
- Getting "bignum is negative" from ssh_agent using Botan generated RSA keys HOT 8
- Deprecation notice for roughtime.cloudflare.com:2002
- Improve API of X.509
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from botan.