/bootable/recovery/tests/component/ |
applypatch_modes_test.cpp | 48 SHA1(reinterpret_cast<const uint8_t*>(data.c_str()), data.size(), digest);
|
/external/boringssl/src/fipstools/ |
test_fips.c | 160 SHA1(kPlaintext, sizeof(kPlaintext), output);
|
run_cavp.go | 221 {"SHA1LongMsg", []string{"SHA1"}, false}, 222 {"SHA1ShortMsg", []string{"SHA1"}, false}, 239 {"SHA1Monte", []string{"SHA1"}, false},
|
/external/llvm/include/llvm/DebugInfo/PDB/ |
PDBTypes.h | 109 enum class PDB_Checksum { None = 0, MD5 = 1, SHA1 = 2 };
|
/external/scapy/scapy/layers/tls/crypto/ |
pkcs1.py | 10 used by the cryptography library may not implement the md5-sha1 hash, as with 72 Legacy method for PKCS1 v1.5 encoding with MD5-SHA1 hash. 77 sha1_hash = hashes.Hash(_get_hash("sha1"), backend=default_backend()) 95 # first, we add the "md5-sha1" hash from openssl to python-cryptography 98 name = "md5-sha1" 104 "sha1" : hashes.SHA1, 109 "md5-sha1" : MD5_SHA1 159 if t != "pkcs" and h != "md5-sha1": 205 if t != "pkcs" and h != "md5-sha1" [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/ |
PDBTypes.h | 114 enum class PDB_Checksum { None = 0, MD5 = 1, SHA1 = 2, SHA256 = 3 };
|
/bootable/recovery/tests/unit/ |
commands_test.cpp | 341 const std::string input{ "compute_hash_tree 2,0,1 2,3,4 sha1 unknown-salt unknown-root-hash" }; 350 HashTreeInfo expected_info(RangeSet({ { 0, 1 } }), RangeSet({ { 3, 4 } }), "sha1", "unknown-salt", 452 SHA1(buffer.data(), buffer.size(), digest); 474 SHA1(buffer.data(), buffer.size(), digest);
|
/external/boringssl/src/crypto/digest_extra/ |
digest_test.cc | 51 static const MD sha1 = { "SHA1", &EVP_sha1, &SHA1 }; variable 56 static const MD md5_sha1 = { "MD5-SHA1", &EVP_md5_sha1, nullptr }; 96 { sha1, "abc", 1, "a9993e364706816aba3e25717850c26c9cd0d89d" }, 97 { sha1, 100 { sha1, "a", 1000000, "34aa973cd4c4daa4f61eeb2bdbad27316534016f" }, 101 { sha1, 142 // MD5-SHA1 tests.
|
/external/toybox/toys/lsb/ |
md5sum.c | 1 /* md5sum.c - Calculate RFC 1321 md5 hash and sha1 hash. 45 one hash (40 hex digits for sha1, 56 for sha224, 64 for sha256, 96 for sha384, 168 // Mix next 64 bytes of data into sha1 hash. 261 USE_SHA1SUM(HASH_INIT("sha1sum", SHA1),) 292 int i, sha1=toys.which->name[0]=='s'; local 296 /* SHA1 initialization constants (md5sum uses first 4) */ 304 transform = sha1 ? sha1_transform : md5_transform; 325 count = sha1 ? SWAP_BE64(count) : SWAP_LE64(count); 328 if (sha1)
|
/external/scapy/test/ |
ipsec.uts | 600 = IPv4 / ESP - Transport - NULL - HMAC-SHA1-96 610 auth_algo='HMAC-SHA1-96', auth_key=b'secret key') 631 = IPv4 / ESP - Transport - NULL - HMAC-SHA1-96 - altered packet 641 auth_algo='HMAC-SHA1-96', auth_key=b'secret key') 1009 = IPv4 / ESP - Tunnel - NULL - HMAC-SHA1-96 1019 auth_algo='HMAC-SHA1-96', auth_key=b'secret key', 1042 = IPv4 / ESP - Tunnel - NULL - HMAC-SHA1-96 - altered packet 1052 auth_algo='HMAC-SHA1-96', auth_key=b'secret key', [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 69 protected int pbeHash = SHA1;
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 73 protected int pbeHash = SHA1;
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
CodeView.h | 542 enum class FileChecksumKind : uint8_t { None, MD5, SHA1, SHA256 };
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/CodeView/ |
CodeView.h | 527 enum class FileChecksumKind : uint8_t { None, MD5, SHA1, SHA256 };
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
EnumTables.cpp | 122 CV_ENUM_CLASS_ENT(FileChecksumKind, SHA1),
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
PDBExtras.cpp | 143 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, SHA1, OS)
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/ |
InputFile.cpp | 109 RETURN_CASE(FileChecksumKind, SHA1, "SHA-1");
|
/external/virglrenderer/scripts/ |
release.sh | 108 SHA1: `$SHA1SUM $tarball`
|
/external/boringssl/src/crypto/cipher_extra/test/ |
make_legacy_aead_tests.go | 11 _ "crypto/sha1" 49 case "sha1": 50 return crypto.SHA1, true
|
/bootable/recovery/updater/ |
blockimg.cpp | 606 SHA1(buffer.data() + buffer_index * BLOCKSIZE, BLOCKSIZE, digest); 624 SHA1(buffer.data() + i * BLOCKSIZE, BLOCKSIZE, digest); 653 SHA1(data, blocks * BLOCKSIZE, digest); [all...] |
commands.cpp | 370 SHA1(buffer.data() + buffer_index * block_size, block_size, digest);
|
/external/llvm/lib/DebugInfo/CodeView/ |
EnumTables.cpp | 153 CV_ENUM_CLASS_ENT(FileChecksumKind, SHA1),
|
/external/llvm/lib/DebugInfo/PDB/ |
PDBExtras.cpp | 186 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_Checksum, SHA1, OS)
|
/external/nos/host/android/hals/keymaster/ |
proto_utils.cpp | 203 case Digest::SHA1: 229 *out = Digest::SHA1; [all...] |
/external/boringssl/src/ssl/test/runner/ |
prf.go | 11 "crypto/sha1" 50 hashSHA1 := sha1.New 81 hashSHA1 := sha1.New() 205 ret.client = sha1.New() 206 ret.server = sha1.New() 278 out := make([]byte, 0, md5.Size+sha1.Size) 284 // Finished message given the MD5 and SHA1 hashes of a set of handshake 286 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte { 298 sha1.Write(magic) 299 sha1.Write(masterSecret [all...] |