Home
last modified time | relevance | path

Searched refs:siphash (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/crypto/openssl/test/
H A Dsiphash_internal_test.c171 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 Dbuild.info627 IF[{- !$disabled{siphash} -}]
/freebsd/crypto/openssl/providers/implementations/macs/
H A Dsiphash_prov.c41 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 Dbuild.info24 IF[{- !$disabled{siphash} -}]
/freebsd/contrib/expat/lib/
H A Dsiphash.h131 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 DMakefile.am80 siphash.h \
H A DMakefile.in448 siphash.h \
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSipHash.cpp62 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 Dmac_legacy_sig.c94 MAC_NEWCTX(siphash, "SIPHASH")
242 MAC_SETTABLE_CTX_PARAMS(siphash, "SIPHASH")
265 MAC_SIGNATURE_FUNCTIONS(siphash)
/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c429 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 Dbuild.info3 siphash.c
/freebsd/contrib/unbound/util/
H A Dsiphash.h41 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k,
H A Dedns.c143 v4?siphash(in, 20, secret, hash, 8):siphash(in, 32, secret, hash, 8); in edns_cookie_server_hash()
H A Dsiphash.c90 int siphash(const uint8_t *in, const size_t inlen, const uint8_t *k, in siphash() function
/freebsd/crypto/openssl/util/
H A Dfix-includes.sed2 …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 DMakefile9 .PATH: ${SRCTOP}/sys/crypto/siphash
50 SRCS += siphash.c
/freebsd/lib/libunbound/
H A DMakefile27 siphash.c slabhash.c \
/freebsd/crypto/openssl/demos/
H A DREADME.txt31 siphash.c Demonstration of SIPHASH message authentication
/freebsd/sys/contrib/libsodium/
H A DAUTHORS35 siphash Jean-Philippe Aumasson
/freebsd/sys/netinet/
H A Dtcp_fastopen.c537 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 Dtcp_syncache.c2171 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 Dbuild.info6 siphash sm3 des aes rc2 rc4 rc5 idea aria bf cast camellia \
/freebsd/crypto/openssl/crypto/objects/
H A Dobj_mac.num1062 siphash 1062
/freebsd/secure/lib/libcrypto/
H A DMakefile509 SRCS+= siphash.c
688 ${LCRYPTO_SRC}/crypto/siphash \
/freebsd/contrib/unbound/
H A DMakefile.in131 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

12