Home
last modified time | relevance | path

Searched refs:drounds (Results 1 - 7 of 7) sorted by relevance

/third_party/node/deps/openssl/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()
/third_party/node/deps/openssl/openssl/crypto/siphash/
H A Dsiphash.c108 /* hash_size = crounds = drounds = 0 means SipHash24 with 16-byte output */
109 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()
/third_party/openssl/crypto/siphash/
H A Dsiphash.c108 /* hash_size = crounds = drounds = 0 means SipHash24 with 16-byte output */
109 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()
/third_party/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()
/third_party/node/deps/openssl/openssl/include/crypto/
H A Dsiphash.h27 int crounds, int drounds);
42 unsigned int drounds; member
/third_party/openssl/include/crypto/
H A Dsiphash.h27 int crounds, int drounds);
42 unsigned int drounds; member
/third_party/openssl/ohos_lite/include/crypto/
H A Dsiphash.h23 int crounds, int drounds);

Completed in 3 milliseconds