Home
last modified time | relevance | path

Searched refs:SIPHASH (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/crypto/openssl/include/crypto/
H A Dsiphash.h17 typedef struct siphash_st SIPHASH; typedef
20 size_t SipHash_hash_size(SIPHASH *ctx);
21 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size);
22 int SipHash_Init(SIPHASH *ctx, const unsigned char *k,
24 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen);
25 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen);
/freebsd-13.1/crypto/openssl/crypto/siphash/
H A Dsiphash.c75 return sizeof(SIPHASH); in SipHash_ctx_size()
78 size_t SipHash_hash_size(SIPHASH *ctx) in SipHash_hash_size()
90 int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size) in SipHash_set_hash_size()
114 int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds) in SipHash_Init()
144 void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen) in SipHash_Update()
202 int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen) in SipHash_Final()
H A Dsiphash_pmeth.c24 SIPHASH ctx;
68 memcpy(&dctx->ctx, &sctx->ctx, sizeof(SIPHASH)); in pkey_siphash_copy()
/freebsd-13.1/contrib/apr-util/crypto/
H A Dapr_siphash.c56 #define SIPHASH(r, s, n, k) \ macro
117 SIPHASH(h, src, len, key); in apr_siphash()
148 SIPHASH(h, src, len, key); in apr_siphash24()
184 SIPHASH(h, src, len, key); in apr_siphash48()