Searched refs:crounds (Results 1 – 3 of 3) sorted by relevance
/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 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() 207 if (ctx->crounds == 0 || outlen == 0 || outlen != (size_t)ctx->hash_size) in SipHash_Final() 236 for (i = 0; i < ctx->crounds; ++i) in SipHash_Final()
|
/openssl/providers/implementations/macs/ |
H A D | siphash_prov.c | 43 unsigned int crounds, drounds; member 46 static unsigned int crounds(struct siphash_data_st *ctx) in crounds() function 48 return ctx->crounds != 0 ? ctx->crounds : SIPHASH_C_ROUNDS; in crounds() 102 ret = SipHash_Init(&ctx->siphash, key, crounds(ctx), drounds(ctx)); in siphash_setkey() 173 && !OSSL_PARAM_set_uint(p, crounds(ctx))) in siphash_get_ctx_params() 211 && !OSSL_PARAM_get_uint(p, &ctx->crounds)) in siphash_set_params()
|
/openssl/include/crypto/ |
H A D | siphash.h | 27 int crounds, int drounds); 41 unsigned int crounds; member
|
Completed in 7 milliseconds