MCPcopy Create free account
hub / github.com/chen3feng/toft / Update

Method Update

crypto/hash/sha1.cpp:176–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void SHA1::Update(StringPiece sp) {
177 const uint8_t* buff = reinterpret_cast<const uint8_t*>(sp.data());
178 Update(buff, sp.size());
179}
180
181// Run your data through this.
182void SHA1::Update(const uint8_t* data, size_t input_len) {

Callers 1

HexDigestMethod · 0.45

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected