Searched refs:BLOCK_LENGTH (Results 1 - 5 of 5) sorted by relevance

/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DSHA1.h57 enum { BLOCK_LENGTH = 64 }; enumerator in enum:llvm::SHA1::__anon1591
63 uint8_t C[BLOCK_LENGTH];
64 uint32_t L[BLOCK_LENGTH / 4];
H A DSHA256.h64 enum { BLOCK_LENGTH = 64 }; enumerator in enum:llvm::SHA256::__anon1595
70 uint8_t C[BLOCK_LENGTH];
71 uint32_t L[BLOCK_LENGTH / 4];
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerSHA1.cpp53 #define BLOCK_LENGTH 64 macro
56 uint32_t buffer[BLOCK_LENGTH/4];
60 uint8_t keyBuffer[BLOCK_LENGTH];
146 if (s->bufferOffset == BLOCK_LENGTH) {
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DSHA1.cpp197 if (InternalState.BufferOffset == BLOCK_LENGTH) {
214 Data.size(), BLOCK_LENGTH - InternalState.BufferOffset);
221 while (Data.size() >= BLOCK_LENGTH) {
223 static_assert(BLOCK_LENGTH % 4 == 0);
224 constexpr size_t BLOCK_LENGTH_32 = BLOCK_LENGTH / 4;
228 Data = Data.drop_front(BLOCK_LENGTH);
H A DSHA256.cpp176 if (InternalState.BufferOffset == BLOCK_LENGTH) {
193 Data.size(), BLOCK_LENGTH - InternalState.BufferOffset);
200 while (Data.size() >= BLOCK_LENGTH) {
202 static_assert(BLOCK_LENGTH % 4 == 0);
203 constexpr size_t BLOCK_LENGTH_32 = BLOCK_LENGTH / 4;
207 Data = Data.drop_front(BLOCK_LENGTH);

Completed in 171 milliseconds