reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/fuzzer/FuzzerSHA1.cpp
  163 	sha1_addUncounted(s, 0x80);
  164 	while (s->bufferOffset != 56) sha1_addUncounted(s, 0x00);
  164 	while (s->bufferOffset != 56) sha1_addUncounted(s, 0x00);
  167 	sha1_addUncounted(s, 0); // We're only using 32 bit lengths
  168 	sha1_addUncounted(s, 0); // But SHA-1 supports 64 bit lengths
  169 	sha1_addUncounted(s, 0); // So zero pad the top bits
  170 	sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8
  170 	sha1_addUncounted(s, s->byteCount >> 29); // Shifting to multiply by 8
  171 	sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as
  171 	sha1_addUncounted(s, s->byteCount >> 21); // as SHA-1 supports bitstreams as well as
  172 	sha1_addUncounted(s, s->byteCount >> 13); // byte.
  172 	sha1_addUncounted(s, s->byteCount >> 13); // byte.
  173 	sha1_addUncounted(s, s->byteCount >> 5);
  173 	sha1_addUncounted(s, s->byteCount >> 5);
  174 	sha1_addUncounted(s, s->byteCount << 3);
  174 	sha1_addUncounted(s, s->byteCount << 3);