- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for pHash (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/data-usage-cache.go
hash := hashPath(path) if d.Cache == nil { d.Cache = make(map[string]dataUsageEntry, 100) } d.Cache[hash.Key()] = e if parent != "" { phash := hashPath(parent) p := d.Cache[phash.Key()] p.addChild(hash) d.Cache[phash.Key()] = p } } // replaceHashed add or replaces an entry to the cache based on its hash. // If a parent is specified it will be added to that if not already there.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
seed []byte, keyLen int) []byte { labelAndSeed := make([]byte, len(label)+len(seed)) copy(labelAndSeed, label) copy(labelAndSeed[len(label):], seed) result := make([]byte, keyLen) pHash(hash, result, secret, labelAndSeed) return result } // pHash implements the P_hash function, as defined in RFC 5246, Section 5. func pHash[H hash.Hash](hash func() H, result, secret, seed []byte) { h := hmac.New(hash, secret) h.Write(seed) a := h.Sum(nil) for len(result) > 0 { h.Reset() h.Write(a) h.Write(seed) b :=...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)