| /src/external/bsd/unbound/dist/util/ |
| siphash.h | 2 * util/siphash.h - header for SipHash reference C implementation. 37 * Contains the SipHash reference C implementation. 41 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k,
|
| siphash.c | 2 SipHash reference C implementation 32 #include "util/siphash.h" 34 /* default: SipHash-2-4 */ 90 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, function
|
| edns.c | 49 #include "util/siphash.h" 161 v4?siphash(in, 20, secret, hash, 8):siphash(in, 32, secret, hash, 8);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| siphash_internal_test.c | 10 /* Internal tests for the siphash module */ 17 #include "crypto/siphash.h" 32 * Test of siphash internal functions 36 /* From C reference: https://131002.net/siphash/ */ 1835 SIPHASH siphash = { local 1863 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) 1864 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) 1866 SipHash_Update(&siphash, in, inlen); 1867 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen) 1924 SIPHASH siphash = { local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| siphash_internal_test.c | 10 /* Internal tests for the siphash module */ 17 #include "crypto/siphash.h" 32 * Test of siphash internal functions 36 /* From C reference: https://131002.net/siphash/ */ 171 SIPHASH siphash = { 0, }; local 198 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) 199 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) 201 SipHash_Update(&siphash, in, inlen); 202 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen) 259 SIPHASH siphash = { 0, }; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| siphash_internal_test.c | 10 /* Internal tests for the siphash module */ 17 #include "crypto/siphash.h" 18 #include "../crypto/siphash/siphash_local.h" 33 * Test of siphash internal functions 37 /* From C reference: https://131002.net/siphash/ */ 172 SIPHASH siphash = { 0, }; local 199 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) 200 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) 202 SipHash_Update(&siphash, in, inlen) 260 SIPHASH siphash = { 0, }; local [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/macs/ |
| siphash_prov.c | 18 #include "crypto/siphash.h" 41 SIPHASH siphash; /* Siphash data */ member in struct:siphash_data_st 42 SIPHASH sipcopy; /* Siphash data copy for reinitialization */ 92 return SipHash_hash_size(&ctx->siphash); 102 ret = SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); 104 ctx->sipcopy = ctx->siphash; 120 ctx->siphash = ctx->sipcopy [all...] |
| /src/crypto/external/bsd/openssl/dist/providers/implementations/macs/ |
| siphash_prov.c | 18 #include "crypto/siphash.h" 41 SIPHASH siphash; /* Siphash data */ member in struct:siphash_data_st 42 SIPHASH sipcopy; /* Siphash data copy for reinitialization */ 92 return SipHash_hash_size(&ctx->siphash); 102 ret = SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); 104 ctx->sipcopy = ctx->siphash; 120 ctx->siphash = ctx->sipcopy [all...] |
| /src/external/bsd/nsd/dist/ |
| edns.c | 204 int siphash(const uint8_t *in, const size_t inlen, 292 siphash(q->edns.cookie, verify_size, 305 siphash(q->edns.cookie, verify_size, 335 siphash(q->edns.cookie, 32, nsd->cookie_secrets[0].cookie_secret, hash, 8); 339 siphash(q->edns.cookie, 20, nsd->cookie_secrets[0].cookie_secret, hash, 8); 343 siphash(q->edns.cookie, 20, nsd->cookie_secrets[0].cookie_secret, hash, 8);
|
| siphash.c | 2 SipHash reference C implementation 22 /* default: SipHash-2-4 */ 78 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, function
|
| Makefile.in | 98 COMMON_OBJ=answer.o axfr.o ixfr.o ixfrcreate.o buffer.o configlexer.o configparser.o dname.o dns.o edns.o iterated_hash.o lookup3.o namedb.o nsec3.o options.o packet.o query.o rbtree.o radtree.o rdata.o region-allocator.o rrl.o siphash.o tsig.o tsig-openssl.o udb.o util.o bitset.o popen3.o proxy_protocol.o 612 siphash.o: $(srcdir)/siphash.c
|
| /src/external/mit/expat/dist/lib/ |
| Makefile.am | 80 siphash.h \
|
| siphash.h | 2 * siphash.h - SipHash-2-4 in a single header file 9 * 1. https://www.131002.net/siphash/siphash24.c 10 * 2. https://www.131002.net/siphash/ 52 * SipHash-2-4 takes as input two 64-bit words as the key, some number of 55 * representing the key, and a struct siphash for representing the hash 70 * struct siphash state; 131 struct siphash { struct 136 }; /* struct siphash */ 166 sip_round(struct siphash *H, const int rounds) [all...] |
| /src/external/bsd/nsd/lib/libnsd/ |
| Makefile | 39 siphash.c \
|
| /src/external/mpl/bind/dist/lib/isc/ |
| hash.c | 24 #include <isc/siphash.h>
|
| /src/external/mpl/bind/dist/lib/isc/include/isc/ |
| hash.h | 23 #include <isc/siphash.h>
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/signature/ |
| mac_legacy_sig.c | 92 MAC_NEWCTX(siphash, "SIPHASH") 240 MAC_SETTABLE_CTX_PARAMS(siphash, "SIPHASH") 263 MAC_SIGNATURE_FUNCTIONS(siphash)
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/signature/ |
| mac_legacy_sig.c | 94 MAC_NEWCTX(siphash, "SIPHASH") 242 MAC_SETTABLE_CTX_PARAMS(siphash, "SIPHASH") 265 MAC_SIGNATURE_FUNCTIONS(siphash)
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_lcidm.c | 14 #include "crypto/siphash.h" 62 uint64_t hash_key[2]; /* random key for siphash */ 73 SIPHASH siphash = { local 78 if (!SipHash_set_hash_size(&siphash, sizeof(unsigned long))) 80 if (!SipHash_Init(&siphash, (uint8_t *)lcid_obj->hash_key, 0, 0)) 82 SipHash_Update(&siphash, lcid_obj->cid.id, lcid_obj->cid.id_len); 83 if (!SipHash_Final(&siphash, (unsigned char *)&hashval,
|
| /src/external/bsd/unbound/lib/libunbound/ |
| Makefile | 82 siphash.c \
|
| /src/external/mpl/dhcp/bind/lib/libisc/ |
| Makefile | 44 region.c result.c rwlock.c safe.c serial.c siphash.c \
|
| /src/external/mpl/bind/dist/tests/bench/ |
| siphash.c | 1 /* $NetBSD: siphash.c,v 1.2 2025/01/26 16:25:47 christos Exp $ */ 23 #include <isc/siphash.h>
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| siphash.c | 1 /* $NetBSD: siphash.c,v 1.1 2024/02/18 20:57:50 christos Exp $ */ 21 #include <isc/siphash.h> 25 * The implementation is based on SipHash reference C implementation by
|
| /src/external/mpl/bind/dist/tests/isc/ |
| siphash_test.c | 27 #include <isc/siphash.h>
|
| /src/external/mpl/bind/dist/lib/ns/ |
| client.c | 31 #include <isc/siphash.h>
|