Lines Matching refs:XXH_STRIPE_LEN

3688 #define XXH_STRIPE_LEN 64  macro
3690 #define XXH_ACC_NB (XXH_STRIPE_LEN / sizeof(xxh_u64))
3693 # define STRIPE_LEN XXH_STRIPE_LEN
3754 XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); in XXH3_accumulate_512_avx512()
3800 XXH_STATIC_ASSERT(XXH_STRIPE_LEN == sizeof(__m512i)); in XXH3_scrambleAcc_avx512()
3871 for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { in XXH3_accumulate_512_avx2()
3901 for (i=0; i < XXH_STRIPE_LEN/sizeof(__m256i); i++) { in XXH3_scrambleAcc_avx2()
3977 for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { in XXH3_accumulate_512_sse2()
4007 for (i=0; i < XXH_STRIPE_LEN/sizeof(__m128i); i++) { in XXH3_scrambleAcc_sse2()
4075 for (i=0; i < XXH_STRIPE_LEN / sizeof(uint64x2_t); i++) { in XXH3_accumulate_512_neon()
4109 for (i=0; i < XXH_STRIPE_LEN/sizeof(uint64x2_t); i++) { in XXH3_scrambleAcc_neon()
4167 for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { in XXH3_accumulate_512_vsx()
4204 for (i = 0; i < XXH_STRIPE_LEN / sizeof(xxh_u64x2); i++) { in XXH3_scrambleAcc_vsx()
4397 const xxh_u8* const in = input + n*XXH_STRIPE_LEN; in XXH3_accumulate()
4412 size_t const nbStripesPerBlock = (secretSize - XXH_STRIPE_LEN) / XXH_SECRET_CONSUME_RATE; in XXH3_hashLong_internal_loop()
4413 size_t const block_len = XXH_STRIPE_LEN * nbStripesPerBlock; in XXH3_hashLong_internal_loop()
4422 f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN); in XXH3_hashLong_internal_loop()
4426 XXH_ASSERT(len > XXH_STRIPE_LEN); in XXH3_hashLong_internal_loop()
4427 { size_t const nbStripes = ((len - 1) - (block_len * nb_blocks)) / XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
4432 { const xxh_u8* const p = input + len - XXH_STRIPE_LEN; in XXH3_hashLong_internal_loop()
4434 f_acc512(acc, p, secret + secretSize - XXH_STRIPE_LEN - XXH_SECRET_LASTACC_START); in XXH3_hashLong_internal_loop()
4733 statePtr->secretLimit = secretSize - XXH_STRIPE_LEN; in XXH3_reset_internal()
4800 …XXH3_accumulate(acc, input + nbStripesToEndofBlock * XXH_STRIPE_LEN, secret, nbStripesAfterBlock, … in XXH3_consumeStripes()
4850 #define XXH3_INTERNALBUFFER_STRIPES (XXH3_INTERNALBUFFER_SIZE / XXH_STRIPE_LEN) in XXH3_update()
4851 XXH_STATIC_ASSERT(XXH3_INTERNALBUFFER_SIZE % XXH_STRIPE_LEN == 0); /* clean multiple */ in XXH3_update()
4871 if ((size_t)(bEnd - input) > state->nbStripesPerBlock * XXH_STRIPE_LEN) { in XXH3_update()
4872 size_t nbStripes = (size_t)(bEnd - 1 - input) / XXH_STRIPE_LEN; in XXH3_update()
4880 input += nbStripesToEnd * XXH_STRIPE_LEN; in XXH3_update()
4887 input += state->nbStripesPerBlock * XXH_STRIPE_LEN; in XXH3_update()
4892 input += nbStripes * XXH_STRIPE_LEN; in XXH3_update()
4896 …H_memcpy(state->buffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STRIP… in XXH3_update()
4897 XXH_ASSERT(bEnd - input <= XXH_STRIPE_LEN); in XXH3_update()
4912 …H_memcpy(state->buffer + sizeof(state->buffer) - XXH_STRIPE_LEN, input - XXH_STRIPE_LEN, XXH_STRIP… in XXH3_update()
4950 if (state->bufferedSize >= XXH_STRIPE_LEN) { in XXH3_digest_long()
4951 size_t const nbStripes = (state->bufferedSize - 1) / XXH_STRIPE_LEN; in XXH3_digest_long()
4960 state->buffer + state->bufferedSize - XXH_STRIPE_LEN, in XXH3_digest_long()
4963 xxh_u8 lastStripe[XXH_STRIPE_LEN]; in XXH3_digest_long()
4964 size_t const catchupSize = XXH_STRIPE_LEN - state->bufferedSize; in XXH3_digest_long()
4989 secret, state->secretLimit + XXH_STRIPE_LEN); in XXH3_64bits_digest()
5457 XXH_ASSERT(state->secretLimit + XXH_STRIPE_LEN >= sizeof(acc) + XXH_SECRET_MERGEACCS_START); in XXH3_128bits_digest()
5463 secret + state->secretLimit + XXH_STRIPE_LEN in XXH3_128bits_digest()
5473 secret, state->secretLimit + XXH_STRIPE_LEN); in XXH3_128bits_digest()