129 u32 x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15;
130 u32 j0, j1, j2, j3, j4, j5, j6, j7, j8, j9, j10, j11, j12, j13, j14, j15;
131 u8* ctarget =
nullptr;
156 for (i = 0; i < bytes; ++i)
178 for (i = 20; i > 0; i -= 2) {
198 x10 =
PLUS(x10, j10);
199 x11 =
PLUS(x11, j11);
200 x12 =
PLUS(x12, j12);
201 x13 =
PLUS(x13, j13);
202 x14 =
PLUS(x14, j14);
203 x15 =
PLUS(x15, j15);
247 for (i = 0; i < bytes; ++i)
279 static const uint8_t iv[8] = {0, 0, 0, 0, 0, 0, 0, 0};
286 fuzzed_data_provider,
294 uint8_t iv[8] = {0, 0, 0, 0, 0, 0, 0, 0};
300 nonce = {iv_prefix, iv};
303 ctx.
input[12] = counter;
304 ctx.
input[13] = iv_prefix;
306 ctx.
input[15] = iv >> 32;
310 std::vector<uint8_t> output(integralInRange);
312 std::vector<uint8_t> djb_output(integralInRange);
314 assert(output == djb_output);
316 uint32_t old_counter = counter;
317 counter += (integralInRange + 63) >> 6;
318 if (counter < old_counter) ++
nonce.first;
319 if (integralInRange & 63) {
326 std::vector<uint8_t> output(integralInRange);
329 std::vector<uint8_t> djb_output(integralInRange);
331 assert(output == djb_output);
333 uint32_t old_counter = counter;
334 counter += (integralInRange + 63) >> 6;
335 if (counter < old_counter) ++
nonce.first;
336 if (integralInRange & 63) {
std::vector< B > ConsumeFixedLengthByteVector(FuzzedDataProvider &fuzzed_data_provider, const size_t length) noexcept
Returns a byte vector of specified size regardless of the number of remaining bytes available from th...