MCPcopy Create free account
hub / github.com/F-Stack/f-stack / xorStringObjectDigest

Function xorStringObjectDigest

app/redis-6.2.6/src/debug.c:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void xorStringObjectDigest(unsigned char *digest, robj *o) {
93 o = getDecodedObject(o);
94 xorDigest(digest,o->ptr,sdslen(o->ptr));
95 decrRefCount(o);
96}
97
98/* This function instead of just computing the SHA1 and xoring it
99 * against digest, also perform the digest of "digest" itself and

Callers

nothing calls this directly

Calls 4

getDecodedObjectFunction · 0.85
xorDigestFunction · 0.85
sdslenFunction · 0.85
decrRefCountFunction · 0.85

Tested by

no test coverage detected