Home
last modified time | relevance | path

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

/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()
/openssl/crypto/siphash/
H A Dsiphash.c109 int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds) in SipHash_Init() argument
117 if (drounds == 0) in SipHash_Init()
118 drounds = SIPHASH_D_ROUNDS; in SipHash_Init()
123 ctx->drounds = drounds; in SipHash_Init()
243 for (i = 0; i < ctx->drounds; ++i) in SipHash_Final()
250 for (i = 0; i < ctx->drounds; ++i) in SipHash_Final()
/openssl/include/crypto/
H A Dsiphash.h27 int crounds, int drounds);
42 unsigned int drounds; member

Completed in 9 milliseconds