/prebuilts/go/linux-x86/src/hash/maphash/ |
D | maphash.go | 97 type Hash struct { struct 98 _ [0]func() // not comparable 99 seed Seed // initial seed used for this hash 100 state Seed // current hash of all flushed bytes 101 buf [bufSize]byte // unflushed byte buffer 102 n int // number of unflushed bytes 116 func (h *Hash) initSeed() { 126 func (h *Hash) WriteByte(b byte) error { 137 func (h *Hash) Write(b []byte) (int, error) { 169 func (h *Hash) WriteString(s string) (int, error) { [all …]
|
/prebuilts/clang/host/linux-x86/clang-r530567/include/llvm/ADT/ |
D | StableHashing.h | 36 inline void stable_hash_append(stable_hash &Hash, const char Value) { in stable_hash_append() 41 inline void stable_hash_append(stable_hash &Hash, stable_hash Value) { in stable_hash_append() 52 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 60 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 69 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 86 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_range() local 93 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_array() local 104 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_string() local
|
D | CachedHashString.h | 32 uint32_t Hash; variable 39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef()
|
/prebuilts/clang/host/linux-x86/clang-r522817/include/llvm/ADT/ |
D | StableHashing.h | 36 inline void stable_hash_append(stable_hash &Hash, const char Value) { in stable_hash_append() 41 inline void stable_hash_append(stable_hash &Hash, stable_hash Value) { in stable_hash_append() 52 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 60 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 69 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 86 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_range() local 93 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_array() local 104 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_string() local
|
D | CachedHashString.h | 32 uint32_t Hash; variable 39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef()
|
/prebuilts/clang/host/linux-x86/clang-r536225/include/llvm/ADT/ |
D | StableHashing.h | 36 inline void stable_hash_append(stable_hash &Hash, const char Value) { in stable_hash_append() 41 inline void stable_hash_append(stable_hash &Hash, stable_hash Value) { in stable_hash_append() 52 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 60 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 69 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 86 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_range() local 93 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_array() local 104 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_string() local
|
D | CachedHashString.h | 32 uint32_t Hash; variable 39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef()
|
/prebuilts/clang/host/linux-x86/clang-r547379/include/llvm/ADT/ |
D | StableHashing.h | 36 inline void stable_hash_append(stable_hash &Hash, const char Value) { in stable_hash_append() 41 inline void stable_hash_append(stable_hash &Hash, stable_hash Value) { in stable_hash_append() 52 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 60 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 69 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine() local 86 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_range() local 93 stable_hash Hash = hashing::detail::FNV_OFFSET_64; in stable_hash_combine_array() local
|
D | CachedHashString.h | 32 uint32_t Hash; variable 39 CachedHashStringRef(StringRef S, uint32_t Hash) in CachedHashStringRef()
|
/prebuilts/go/linux-x86/src/cmd/go/internal/cache/ |
D | hash.go | 26 type Hash struct { struct 27 h hash.Hash member 28 name string // for debugging 29 buf *bytes.Buffer // for verify 92 func (h *Hash) Write(b []byte) (int, error) { 103 func (h *Hash) Sum() [HashSize]byte {
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/sumdb/tlog/ |
D | tlog.go | 22 type Hash [HashSize]byte type 95 func NodeHash(left, right Hash) Hash { 188 func StoredHashesForRecordHash(n int64, h Hash, r HashReader) ([]Hash, error) { 290 func subTreeHash(lo, hi int64, hashes []Hash) (Hash, []Hash) { 370 func leafProof(lo, hi, n int64, hashes []Hash) (RecordProof, []Hash) { 402 func CheckRecord(p RecordProof, t int64, th Hash, n int64, h Hash) error { 419 func runRecordProof(p RecordProof, lo, hi, n int64, leafHash Hash) (Hash, error) { 513 func treeProof(lo, hi, n int64, hashes []Hash) (TreeProof, []Hash) { 548 func CheckTree(p TreeProof, t int64, th Hash, n int64, h Hash) error { 566 func runTreeProof(p TreeProof, lo, hi, n int64, old Hash) (Hash, Hash, error) {
|
/prebuilts/go/linux-x86/src/crypto/rsa/ |
D | pss.go | 31 func emsaPSSEncode(mHash []byte, emBits int, salt []byte, hash hash.Hash) ([]byte, error) { 106 func emsaPSSVerify(mHash, em []byte, emBits, sLen int, hash hash.Hash) error { 210 func signPSSWithSalt(priv *PrivateKey, hash crypto.Hash, hashed, salt []byte) ([]byte, error) { 266 Hash crypto.Hash member 292 func SignPSS(rand io.Reader, priv *PrivateKey, hash crypto.Hash, digest []byte, opts *PSSOptions) (… 344 func VerifyPSS(pub *PublicKey, hash crypto.Hash, digest []byte, sig []byte, opts *PSSOptions) error…
|
D | pkcs1v15.go | 288 func SignPKCS1v15(random io.Reader, priv *PrivateKey, hash crypto.Hash, hashed []byte) ([]byte, err… 307 func pkcs1v15ConstructEM(pub *PublicKey, hash crypto.Hash, hashed []byte) ([]byte, error) { 345 func VerifyPKCS1v15(pub *PublicKey, hash crypto.Hash, hashed []byte, sig []byte) error {
|
/prebuilts/go/linux-x86/src/crypto/internal/boring/ |
D | rsa.go | 112 padding C.int, h, mgfHash hash.Hash, label []byte, saltLen int, ch crypto.Hash, 190 padding C.int, h, mgfHash hash.Hash, label []byte, saltLen int, ch crypto.Hash, 213 func DecryptRSAOAEP(h, mgfHash hash.Hash, priv *PrivateKeyRSA, ciphertext, label []byte) ([]byte, e… 217 func EncryptRSAOAEP(h, mgfHash hash.Hash, pub *PublicKeyRSA, msg, label []byte) ([]byte, error) { 257 func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) { 290 func VerifyRSAPSS(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte, saltLen int) error { 319 func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) { 351 func VerifyRSAPKCS1v15(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte) error {
|
D | hmac.go | 21 func hashToMD(h hash.Hash) *C.GO_EVP_MD { 39 func cryptoHashToMD(ch crypto.Hash) *C.GO_EVP_MD { 63 func NewHMAC(h func() hash.Hash, key []byte) hash.Hash {
|
D | notboring.go | 49 func NewHMAC(h func() hash.Hash, key []byte) hash.Hash { panic("boringcrypto: not available") } 76 func DecryptRSAOAEP(h, mgfHash hash.Hash, priv *PrivateKeyRSA, ciphertext, label []byte) ([]byte, e… 85 func EncryptRSAOAEP(h, mgfHash hash.Hash, pub *PublicKeyRSA, msg, label []byte) ([]byte, error) { 101 func SignRSAPKCS1v15(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte) ([]byte, error) { 104 func SignRSAPSS(priv *PrivateKeyRSA, h crypto.Hash, hashed []byte, saltLen int) ([]byte, error) { 107 func VerifyRSAPKCS1v15(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte) error { 110 func VerifyRSAPSS(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte, saltLen int) error {
|
/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/ |
D | hash.go | 29 type Hash func(files []string, open func(string) (io.ReadCloser, error)) (string, error) type 70 func HashDir(dir, prefix string, hash Hash) (string, error) { 115 func HashZip(zipfile string, hash Hash) (string, error) {
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
D | auth.go | 22 func verifyHandshakeSignature(sigType uint8, pubkey crypto.PublicKey, hashFunc crypto.Hash, signed,… 81 func signedMessage(sigHash crypto.Hash, context string, transcript hash.Hash) []byte {
|
/prebuilts/rust/linux-x86/1.82.0/lib/rustlib/src/rust/library/core/src/hash/ |
D | mod.rs | 186 pub trait Hash { interface 812 impl Hash for $ty { impl 872 impl Hash for ! { implementation 882 impl Hash for () { impl 892 impl<$($name: Hash),+> Hash for ($($name,)+) where last_type!($($name,)+): ?Sized { impl 938 impl<T: Hash> Hash for [T] { impl 947 impl<T: ?Sized + Hash> Hash for &T { impl 955 impl<T: ?Sized + Hash> Hash for &mut T { impl 963 impl<T: ?Sized> Hash for *const T { impl 973 impl<T: ?Sized> Hash for *mut T { impl
|
/prebuilts/rust/linux-musl-x86/1.83.0/lib/rustlib/src/rust/library/core/src/hash/ |
D | mod.rs | 186 pub trait Hash { trait 812 impl Hash for $ty { impl 872 impl Hash for ! { implementation 882 impl Hash for () { impl 892 impl<$($name: Hash),+> Hash for ($($name,)+) where last_type!($($name,)+): ?Sized { impl 938 impl<T: Hash> Hash for [T] { impl 947 impl<T: ?Sized + Hash> Hash for &T { impl 955 impl<T: ?Sized + Hash> Hash for &mut T { impl 963 impl<T: ?Sized> Hash for *const T { impl 973 impl<T: ?Sized> Hash for *mut T { impl
|
/prebuilts/rust/linux-x86/1.83.0/lib/rustlib/src/rust/library/core/src/hash/ |
D | mod.rs | 186 pub trait Hash { trait 812 impl Hash for $ty { impl 872 impl Hash for ! { impl 882 impl Hash for () { impl 892 impl<$($name: Hash),+> Hash for ($($name,)+) where last_type!($($name,)+): ?Sized { impl 938 impl<T: Hash> Hash for [T] { impl 947 impl<T: ?Sized + Hash> Hash for &T { impl 955 impl<T: ?Sized + Hash> Hash for &mut T { impl 963 impl<T: ?Sized> Hash for *const T { impl 973 impl<T: ?Sized> Hash for *mut T { impl
|
/prebuilts/rust/linux-musl-x86/1.82.0/lib/rustlib/src/rust/library/core/src/hash/ |
D | mod.rs | 186 pub trait Hash { interface 812 impl Hash for $ty { impl 872 impl Hash for ! { impl 882 impl Hash for () { impl 892 impl<$($name: Hash),+> Hash for ($($name,)+) where last_type!($($name,)+): ?Sized { impl 938 impl<T: Hash> Hash for [T] { impl 947 impl<T: ?Sized + Hash> Hash for &T { impl 955 impl<T: ?Sized + Hash> Hash for &mut T { impl 963 impl<T: ?Sized> Hash for *const T { impl 973 impl<T: ?Sized> Hash for *mut T { impl
|
/prebuilts/go/linux-x86/src/vendor/golang.org/x/crypto/hkdf/ |
D | hkdf.go | 26 func Extract(hash func() hash.Hash, secret, salt []byte) []byte { 85 func Expand(hash func() hash.Hash, pseudorandomKey, info []byte) io.Reader { 92 func New(hash func() hash.Hash, secret, salt, info []byte) io.Reader {
|
/prebuilts/go/linux-x86/src/crypto/internal/cryptotest/ |
D | hash.go | 151 func writeToHash(t *testing.T, h hash.Hash, p []byte) { 168 func getSum(t *testing.T, h hash.Hash, buff []byte) []byte {
|
/prebuilts/go/linux-x86/src/crypto/ |
D | crypto.go | 16 type Hash uint type 145 func RegisterHash(h Hash, f func() hash.Hash) {
|