| /freebsd/crypto/openssl/test/ |
| H A D | siphash_internal_test.c | 171 SIPHASH siphash = { in test_siphash() local 199 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 200 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) in test_siphash() 202 SipHash_Update(&siphash, in, inlen); in test_siphash() 203 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)) in test_siphash() 208 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 209 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) in test_siphash() 211 SipHash_Update(&siphash, in, 1); in test_siphash() 212 SipHash_Update(&siphash, in + 1, inlen - 1); in test_siphash() 213 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash() [all …]
|
| /freebsd/crypto/openssl/providers/implementations/macs/ |
| H A D | siphash_prov.c | 41 SIPHASH siphash; /* Siphash data */ member 92 return SipHash_hash_size(&ctx->siphash); in siphash_size() 102 ret = SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); in siphash_setkey() 104 ctx->sipcopy = ctx->siphash; in siphash_setkey() 120 ctx->siphash = ctx->sipcopy; in siphash_init() 134 SipHash_Update(&ctx->siphash, data, datalen); in siphash_update() 148 return SipHash_Final(&ctx->siphash, out, hlen); in siphash_final() 206 || !SipHash_set_hash_size(&ctx->siphash, size) in siphash_set_params()
|
| H A D | build.info | 24 IF[{- !$disabled{siphash} -}]
|
| /freebsd/contrib/expat/lib/ |
| H A D | siphash.h | 134 struct siphash { struct 169 sip_round(struct siphash *H, const int rounds) { in sip_round() 193 static struct siphash * 194 sip24_init(struct siphash *H, const struct sipkey *key) { in sip24_init() 208 static struct siphash * 209 sip24_update(struct siphash *H, const void *src, size_t len) { in sip24_update() 233 sip24_final(struct siphash *H) { in sip24_final() 274 struct siphash state = SIPHASH_INITIALIZER; in siphash24()
|
| H A D | Makefile.am | 125 siphash.h \
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | build.info | 33 IF[{- $disabled{siphash} -}] 34 SOURCE[../libssl]=../crypto/siphash/siphash.c 36 SHARED_SOURCE[../libssl]=../crypto/siphash/siphash.c
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | SipHash.cpp | 30 siphash<2, 4>(In.data(), In.size(), K, Out); in getSipHash_2_4_64() 35 siphash<2, 4>(In.data(), In.size(), K, Out); in getSipHash_2_4_128()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/ |
| H A D | emupac.cpp | 119 siphash<1, 3>(reinterpret_cast<uint8_t *>(&ptr), 8, emu_da_key, in __emupac_pacda_impl() 143 siphash<1, 3>(reinterpret_cast<uint8_t *>(&ptr_without_pac), 8, emu_da_key, in __emupac_autda_impl()
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_lcidm.c | 73 SIPHASH siphash = { in lcid_hash() local 80 if (!SipHash_set_hash_size(&siphash, SIPHASH_MIN_DIGEST_SIZE)) in lcid_hash() 82 if (!SipHash_Init(&siphash, (uint8_t *)lcid_obj->hash_key, 0, 0)) in lcid_hash() 84 SipHash_Update(&siphash, lcid_obj->cid.id, lcid_obj->cid.id_len); in lcid_hash() 85 if (!SipHash_Final(&siphash, digest, SIPHASH_MIN_DIGEST_SIZE)) in lcid_hash()
|
| /freebsd/crypto/openssl/providers/implementations/signature/ |
| H A D | mac_legacy_sig.c | 92 MAC_NEWCTX(siphash, "SIPHASH") 240 MAC_SETTABLE_CTX_PARAMS(siphash, "SIPHASH") 263 MAC_SIGNATURE_FUNCTIONS(siphash)
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_syncookies.c | 453 uint32_t siphash[2]; in pf_syncookie_mac() local 478 SipHash_Final((uint8_t *)&siphash, &ctx); in pf_syncookie_mac() 480 return (siphash[0] ^ siphash[1]); in pf_syncookie_mac()
|
| /freebsd/crypto/openssl/crypto/siphash/ |
| H A D | build.info | 3 siphash.c
|
| /freebsd/secure/lib/libssl/ |
| H A D | Makefile | 34 SRCS+= siphash.c 90 ${LCRYPTO_SRC}/crypto/siphash \
|
| /freebsd/contrib/unbound/util/ |
| H A D | siphash.h | 41 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k,
|
| H A D | edns.c | 49 #include "util/siphash.h" 166 v4?siphash(in, 20, secret, hash, 8):siphash(in, 32, secret, hash, 8); in edns_cookie_server_validate()
|
| H A D | siphash.c | 90 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, in siphash() function
|
| /freebsd/sys/modules/crypto/ |
| H A D | Makefile | 9 .PATH: ${SRCTOP}/sys/crypto/siphash 50 SRCS += siphash.c
|
| /freebsd/crypto/openssl/util/ |
| H A D | fix-includes.sed | 2 …f.h|dso_conf.h|engine.h|lhash.h|md32_common.h|objects.h|poly1305.h|sha.h|siphash.h|sm2err.h|sm2.h|…
|
| /freebsd/lib/libunbound/ |
| H A D | Makefile | 25 rfc_1982.c rpz.c rrdef.c rrset.c rtt.c sbuffer.c siphash.c \
|
| /freebsd/contrib/llvm-project/third-party/siphash/include/siphash/ |
| H A D | SipHash.h | 67 void siphash(const unsigned char *in, uint64_t inlen, in siphash() function
|
| /freebsd/sys/contrib/libsodium/ |
| H A D | AUTHORS | 35 siphash Jean-Philippe Aumasson
|
| /freebsd/sys/netinet/ |
| H A D | tcp_fastopen.c | 562 uint64_t siphash; in tcp_fastopen_make_cookie() local 578 SipHash_Final((u_int8_t *)&siphash, &ctx); in tcp_fastopen_make_cookie() 580 return (siphash); in tcp_fastopen_make_cookie()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | siphash.h | 81 static inline u64 siphash(const void *data, size_t len, in siphash() function
|
| /freebsd/crypto/openssl/demos/ |
| H A D | README.txt | 57 siphash.c Demonstration of SIPHASH message authentication
|
| /freebsd/crypto/openssl/crypto/ |
| H A D | build.info | 6 siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
|