/freebsd/crypto/openssl/test/ |
H A D | siphash_internal_test.c | 171 SIPHASH siphash = { 0, }; in test_siphash() local 198 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 199 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) in test_siphash() 201 SipHash_Update(&siphash, in, inlen); in test_siphash() 202 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen)) in test_siphash() 207 if (!TEST_true(SipHash_set_hash_size(&siphash, expectedlen)) in test_siphash() 208 || !TEST_true(SipHash_Init(&siphash, key, 0, 0))) in test_siphash() 210 SipHash_Update(&siphash, in, 1); in test_siphash() 211 SipHash_Update(&siphash, in+1, inlen-1); in test_siphash() 212 if (!TEST_true(SipHash_Final(&siphash, out, expectedlen))) in test_siphash() [all …]
|
H A D | build.info | 627 IF[{- !$disabled{siphash} -}]
|
/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 | 131 struct siphash { struct 166 sip_round(struct siphash *H, const int rounds) { in sip_round() 190 static struct siphash * 191 sip24_init(struct siphash *H, const struct sipkey *key) { in sip24_init() 205 static struct siphash * 206 sip24_update(struct siphash *H, const void *src, size_t len) { in sip24_update() 230 sip24_final(struct siphash *H) { in sip24_final() 271 struct siphash state = SIPHASH_INITIALIZER; in siphash24()
|
H A D | Makefile.am | 80 siphash.h \
|
H A D | Makefile.in | 448 siphash.h \
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SipHash.cpp | 62 void siphash(const unsigned char *in, uint64_t inlen, in siphash() function 159 siphash<2, 4>(In.data(), In.size(), K, Out); in getSipHash_2_4_64() 164 siphash<2, 4>(In.data(), In.size(), K, Out); in getSipHash_2_4_128()
|
/freebsd/crypto/openssl/providers/implementations/signature/ |
H A D | mac_legacy_sig.c | 94 MAC_NEWCTX(siphash, "SIPHASH") 242 MAC_SETTABLE_CTX_PARAMS(siphash, "SIPHASH") 265 MAC_SIGNATURE_FUNCTIONS(siphash)
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_syncookies.c | 429 uint32_t siphash[2]; in pf_syncookie_mac() local 454 SipHash_Final((uint8_t *)&siphash, &ctx); in pf_syncookie_mac() 456 return (siphash[0] ^ siphash[1]); in pf_syncookie_mac()
|
/freebsd/crypto/openssl/crypto/siphash/ |
H A D | build.info | 3 siphash.c
|
/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 | 143 v4?siphash(in, 20, secret, hash, 8):siphash(in, 32, secret, hash, 8); in edns_cookie_server_hash()
|
H A D | siphash.c | 90 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, in siphash() function
|
/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/sys/modules/crypto/ |
H A D | Makefile | 9 .PATH: ${SRCTOP}/sys/crypto/siphash 50 SRCS += siphash.c
|
/freebsd/lib/libunbound/ |
H A D | Makefile | 27 siphash.c slabhash.c \
|
/freebsd/crypto/openssl/demos/ |
H A D | README.txt | 31 siphash.c Demonstration of SIPHASH message authentication
|
/freebsd/sys/contrib/libsodium/ |
H A D | AUTHORS | 35 siphash Jean-Philippe Aumasson
|
/freebsd/sys/netinet/ |
H A D | tcp_fastopen.c | 537 uint64_t siphash; in tcp_fastopen_make_cookie() local 553 SipHash_Final((u_int8_t *)&siphash, &ctx); in tcp_fastopen_make_cookie() 555 return (siphash); in tcp_fastopen_make_cookie()
|
H A D | tcp_syncache.c | 2171 uint32_t siphash[2]; in syncookie_mac() local 2194 SipHash_Final((u_int8_t *)&siphash, &ctx); in syncookie_mac() 2196 return (siphash[0] ^ siphash[1]); in syncookie_mac()
|
/freebsd/crypto/openssl/crypto/ |
H A D | build.info | 6 siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
|
/freebsd/crypto/openssl/crypto/objects/ |
H A D | obj_mac.num | 1062 siphash 1062
|
/freebsd/secure/lib/libcrypto/ |
H A D | Makefile | 509 SRCS+= siphash.c 688 ${LCRYPTO_SRC}/crypto/siphash \
|
/freebsd/contrib/unbound/ |
H A D | Makefile.in | 131 util/rtt.c util/siphash.c util/edns.c util/storage/dnstree.c util/storage/lookup3.c \ 148 fptr_wlist.lo siphash.lo edns.lo locks.lo log.lo mini_event.lo module.lo net_help.lo \ 1022 siphash.lo siphash.o: $(srcdir)/util/siphash.c
|