Home
last modified time | relevance | path

Searched refs:drounds (Results 1 – 3 of 3) sorted by relevance

/src/crypto/openssl/providers/implementations/macs/
H A Dsiphash_prov.c43 unsigned int crounds, drounds; member
51 static unsigned int drounds(struct siphash_data_st *ctx) in drounds() function
53 return ctx->drounds != 0 ? ctx->drounds : SIPHASH_D_ROUNDS; in drounds()
102 ret = SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); in siphash_setkey()
176 && !OSSL_PARAM_set_uint(p, drounds(ctx))) in siphash_get_ctx_params()
214 && !OSSL_PARAM_get_uint(p, &ctx->drounds)) in siphash_set_params()
/src/crypto/openssl/crypto/siphash/
H A Dsiphash.c106 int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds) in SipHash_Init() argument
114 if (drounds == 0) in SipHash_Init()
115 drounds = SIPHASH_D_ROUNDS; in SipHash_Init()
120 ctx->drounds = drounds; in SipHash_Init()
240 for (i = 0; i < ctx->drounds; ++i) in SipHash_Final()
247 for (i = 0; i < ctx->drounds; ++i) in SipHash_Final()
/src/crypto/openssl/include/crypto/
H A Dsiphash.h27 int crounds, int drounds);
42 unsigned int drounds; member