Searched refs:drounds (Results 1 – 3 of 3) sorted by relevance
/openssl/providers/implementations/macs/ |
H A D | siphash_prov.c | 43 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 D | siphash.c | 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()
|
/openssl/include/crypto/ |
H A D | siphash.h | 27 int crounds, int drounds); 42 unsigned int drounds; member
|
Completed in 9 milliseconds