Lines Matching refs:secretSize
820 …hash_t XXH3_64bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize);
862 …orcode XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize);
888 …ash_t XXH3_128bits_withSecret(const void* data, size_t len, const void* secret, size_t secretSize);
905 …rcode XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize);
1153 XXH_PUBLIC_API XXH_errorcode XXH3_generateSecret(void* secretBuffer, size_t secretSize, const void*…
1200 const void* secret, size_t secretSize,
1205 const void* secret, size_t secretSize,
1210 const void* secret, size_t secretSize,
1215 const void* secret, size_t secretSize,
3573 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_64b() argument
3576 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; in XXH3_len_17to128_64b()
3603 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_64b() argument
3606 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; in XXH3_len_129to240_64b()
4377 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_internal_loop() argument
4381 size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE; in XXH3_hashLong_internal_loop()
4387 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); in XXH3_hashLong_internal_loop()
4391 f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN); in XXH3_hashLong_internal_loop()
4397 XXH_ASSERT(nbStripes <= (secretSize / XXH_SECRET_CONSUME_RATE)); in XXH3_hashLong_internal_loop()
4403 f_acc512(acc, p, secret + secretSize - XXH_STRIPE_LEN - XXH_SECRET_LASTACC_START); in XXH3_hashLong_internal_loop()
4447 const void* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_64b_internal() argument
4453 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, (const xxh_u8*)secret, secretSize, f_a… in XXH3_hashLong_64b_internal()
4459 XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); in XXH3_hashLong_64b_internal()
4568 XXH3_64bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) in XXH3_64bits_withSecret() argument
4570 return XXH3_64bits_internal(input, len, 0, secret, secretSize, XXH3_hashLong_64b_withSecret); in XXH3_64bits_withSecret()
4581 XXH3_64bits_withSecretandSeed(const void* input, size_t len, const void* secret, size_t secretSize,… in XXH3_64bits_withSecretandSeed() argument
4585 return XXH3_hashLong_64b_withSecret(input, len, seed, (const xxh_u8*)secret, secretSize); in XXH3_64bits_withSecretandSeed()
4682 const void* secret, size_t secretSize) in XXH3_reset_internal() argument
4701 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); in XXH3_reset_internal()
4702 statePtr->secretLimit = secretSize - XXH_STRIPE_LEN; in XXH3_reset_internal()
4717 XXH3_64bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) in XXH3_64bits_reset_withSecret() argument
4720 XXH3_reset_internal(statePtr, 0, secret, secretSize); in XXH3_64bits_reset_withSecret()
4722 if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; in XXH3_64bits_reset_withSecret()
4740 XXH3_64bits_reset_withSecretandSeed(XXH3_state_t* statePtr, const void* secret, size_t secretSize, … in XXH3_64bits_reset_withSecretandSeed() argument
4744 if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; in XXH3_64bits_reset_withSecretandSeed()
4745 XXH3_reset_internal(statePtr, seed64, secret, secretSize); in XXH3_64bits_reset_withSecretandSeed()
5144 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_17to128_128b() argument
5147 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; in XXH3_len_17to128_128b()
5177 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_len_129to240_128b() argument
5180 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); (void)secretSize; in XXH3_len_129to240_128b()
5226 const xxh_u8* XXH_RESTRICT secret, size_t secretSize, in XXH3_hashLong_128b_internal() argument
5232 …XXH3_hashLong_internal_loop(acc, (const xxh_u8*)input, len, secret, secretSize, f_acc512, f_scramb… in XXH3_hashLong_128b_internal()
5236 XXH_ASSERT(secretSize >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); in XXH3_hashLong_128b_internal()
5242 secret + secretSize in XXH3_hashLong_128b_internal()
5343 XXH3_128bits_withSecret(const void* input, size_t len, const void* secret, size_t secretSize) in XXH3_128bits_withSecret() argument
5346 (const xxh_u8*)secret, secretSize, in XXH3_128bits_withSecret()
5361 XXH3_128bits_withSecretandSeed(const void* input, size_t len, const void* secret, size_t secretSize… in XXH3_128bits_withSecretandSeed() argument
5365 return XXH3_hashLong_128b_withSecret(input, len, seed, secret, secretSize); in XXH3_128bits_withSecretandSeed()
5392 XXH3_128bits_reset_withSecret(XXH3_state_t* statePtr, const void* secret, size_t secretSize) in XXH3_128bits_reset_withSecret() argument
5394 return XXH3_64bits_reset_withSecret(statePtr, secret, secretSize); in XXH3_128bits_reset_withSecret()
5406 XXH3_128bits_reset_withSecretandSeed(XXH3_state_t* statePtr, const void* secret, size_t secretSize,… in XXH3_128bits_reset_withSecretandSeed() argument
5408 return XXH3_64bits_reset_withSecretandSeed(statePtr, secret, secretSize, seed); in XXH3_128bits_reset_withSecretandSeed()
5513 XXH3_generateSecret(void* secretBuffer, size_t secretSize, const void* customSeed, size_t customSee… in XXH3_generateSecret() argument
5517 XXH_ASSERT(secretSize >= XXH3_SECRET_SIZE_MIN); in XXH3_generateSecret()
5518 if (secretSize < XXH3_SECRET_SIZE_MIN) return XXH_ERROR; in XXH3_generateSecret()
5528 while (pos < secretSize) { in XXH3_generateSecret()
5529 size_t const toCopy = XXH_MIN((secretSize - pos), customSeedSize); in XXH3_generateSecret()
5534 { size_t const nbSeg16 = secretSize / 16; in XXH3_generateSecret()
5543 XXH3_combine16((char*)secretBuffer + secretSize - 16, XXH128_hashFromCanonical(&scrambler)); in XXH3_generateSecret()