MCPcopy Create free account
hub / github.com/apache/impala / Verify

Method Verify

be/src/util/openssl-util.cc:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241bool IntegrityHash::Verify(const uint8_t* data, int64_t len) const {
242 IntegrityHash test_hash;
243 test_hash.Compute(data, len);
244 return memcmp(hash_, test_hash.hash_, sizeof(hash_)) == 0;
245}
246
247AuthenticationHash::AuthenticationHash() {
248 uint64_t next_key_num = keys_generated.Add(1);

Callers

nothing calls this directly

Calls 2

ComputeMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected