Home
last modified time | relevance | path

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

/openssl-master/providers/implementations/macs/
A Dsiphash_prov.c42 unsigned int crounds, drounds; member
45 static unsigned int crounds(struct siphash_data_st *ctx) in crounds() function
47 return ctx->crounds != 0 ? ctx->crounds : SIPHASH_C_ROUNDS; in crounds()
99 return SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); in siphash_setkey()
164 && !OSSL_PARAM_set_uint(p, crounds(ctx))) in siphash_get_ctx_params()
201 && !OSSL_PARAM_get_uint(p, &ctx->crounds)) in siphash_set_params()
/openssl-master/crypto/siphash/
A Dsiphash.c109 int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds) in SipHash_Init() argument
119 if (crounds == 0) in SipHash_Init()
120 crounds = SIPHASH_C_ROUNDS; in SipHash_Init()
122 ctx->crounds = crounds; in SipHash_Init()
171 for (i = 0; i < ctx->crounds; ++i) in SipHash_Update()
181 for (i = 0; i < ctx->crounds; ++i) in SipHash_Update()
236 for (i = 0; i < ctx->crounds; ++i) in SipHash_Final()
/openssl-master/include/crypto/
A Dsiphash.h27 int crounds, int drounds);
41 unsigned int crounds; member

Completed in 7 milliseconds