Home
last modified time | relevance | path

Searched full:sha1 (Results 1 – 25 of 943) sorted by relevance

12345678910>>...38

/external/boringssl/src/crypto/evp/
Devp_tests.txt157 Digest = SHA1
162 Digest = SHA1
167 Digest = SHA1
173 Digest = SHA1
178 Digest = SHA1
185 Digest = SHA1
190 Digest = SHA1
203 Digest = SHA1
210 Digest = SHA1
217 Digest = SHA1
[all …]
/external/python/cpython3/Modules/
Dsha1module.c1 /* SHA1 module */
3 /* This module provides an interface to the SHA1 algorithm */
17 /* SHA1 objects */
38 /* The SHA1 block size and message digest sizes, in bytes */
43 /* The structure for storing SHA1 info */
61 * This code for the SHA1 algorithm was noted as public domain. The
103 /* SHA1 macros */
110 static void sha1_compress(struct sha1_state *sha1, unsigned char *buf) in sha1_compress() argument
120 a = sha1->state[0]; in sha1_compress()
121 b = sha1->state[1]; in sha1_compress()
[all …]
/external/u-boot/doc/
DREADME.sha11 SHA1 usage:
4 In the U-Boot Image for the pcs440ep board is a SHA1 checksum integrated.
5 This SHA1 sum is used, to check, if the U-Boot Image in Flash is not
10 => help sha1
11 sha1 address len [addr] calculate the SHA1 sum [save at addr]
12 -p calculate the SHA1 sum from the U-Boot image in flash and print
15 "sha1 -p"
16 calculates and prints the SHA1 sum, from the Image stored in Flash
18 "sha1 -c"
19 check, if the SHA1 sum from the Image stored in Flash is correct
[all …]
/external/webrtc/webrtc/base/
Dsha1digest_unittest.cc17 std::string Sha1(const std::string& input) { in Sha1() function
18 Sha1Digest sha1; in Sha1() local
19 return ComputeDigest(&sha1, input); in Sha1()
23 Sha1Digest sha1; in TEST() local
25 EXPECT_EQ(20U, sha1.Size()); in TEST()
29 // Test vectors from sha1.c. in TEST()
30 EXPECT_EQ("da39a3ee5e6b4b0d3255bfef95601890afd80709", Sha1("")); in TEST()
31 EXPECT_EQ("a9993e364706816aba3e25717850c26c9cd0d89d", Sha1("abc")); in TEST()
33 Sha1("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq")); in TEST()
35 EXPECT_EQ("34aa973cd4c4daa4f61eeb2bdbad27316534016f", Sha1(a_million_as)); in TEST()
[all …]
/external/grpc-grpc-java/
Drepositories.bzl115 sha1 = "86f070507e28b930e50d218ee5b6788ef0dd05e6",
122 sha1 = "8e2b181feff6005c9cbc6f5c1c1e2d3ec9138d46",
129 sha1 = "04e6152c3aead24148627e84f5651e79698c00d9",
136 sha1 = "5871fb60dc68d67da54a663c3fd636a10a532948",
143 sha1 = "751f548c85fa49f330cecbb1875893f971b33c4e",
150 sha1 = "88e3c593e9b3586e1c6177f89267da6fc6986f0c",
157 sha1 = "89507701249388e1ed5ddcf8c41f4ce1be7831ef",
184 sha1 = "357e60f95cebb87c72151e49ba1f570d899734f8",
191 sha1 = "499d5e041f962fefd0f245a9325e8125608ebb54",
198 sha1 = "b5768f644b114e6cf5c3962c2ebcb072f788dcbb",
[all …]
/external/perfetto/infra/perfetto-site.appspot.com/
Dpackage-lock.json10 "integrity": "sha1-06ioOzGapneTZisT52HHkRQiMG4="
15 "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
20 "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
25 "integrity": "sha1-g2TKYt+Or7gwSZ9pkXdGbDsDSZ0=",
35 "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
51 "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
63 "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I="
68 "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
76 "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk="
126 "integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
[all …]
/external/perfetto/ui/
Dpackage-lock.json38 "integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78="
53 "integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A="
58 "integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
67 "integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E="
72 "integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik="
77 "integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0="
82 "integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q="
87 "integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA="
161 "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=",
201 "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=",
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DMessageDigestHashFunctionTest.java40 // - For example, the "SHA-1" algorithm might be referred to as "SHA1".
45 .put("SHA", Hashing.sha1()) // Not the official name, but still works
46 .put("SHA1", Hashing.sha1()) // Not the official name, but still works
47 .put("sHa-1", Hashing.sha1()) // Not the official name, but still works
48 .put("SHA-1", Hashing.sha1())
62 Hasher sha1 = Hashing.sha1().newHasher(); in testPutAfterHash() local
65 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testPutAfterHash()
69 sha1.putInt(42); in testPutAfterHash()
76 Hasher sha1 = Hashing.sha1().newHasher(); in testHashTwice() local
79 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testHashTwice()
[all …]
/external/vboot_reference/firmware/lib/
Dmocked_tpm_bootmode.c14 /* SHA1("\x00\x00\x00") */
18 /* SHA1("\x00\x00\x01") */
22 /* SHA1("\x00\x00\x02") */
26 /* SHA1("\x00\x01\x00") */
30 /* SHA1("\x00\x01\x01") */
34 /* SHA1("\x00\x01\x02") */
38 /* SHA1("\x01\x00\x00") */
42 /* SHA1("\x01\x00\x01") */
46 /* SHA1("\x01\x00\x02") */
50 /* SHA1("\x01\x01\x00") */
[all …]
Dtpm_bootmode.c22 * SHA1("|Developer_Mode||Recovery_Mode||Keyblock_Mode|").
37 /* SHA1("\x00\x00\x00") */
41 /* SHA1("\x00\x00\x01") */
45 /* SHA1("\x00\x00\x02") */
49 /* SHA1("\x00\x01\x00") */
53 /* SHA1("\x00\x01\x01") */
57 /* SHA1("\x00\x01\x02") */
61 /* SHA1("\x01\x00\x00") */
65 /* SHA1("\x01\x00\x01") */
69 /* SHA1("\x01\x00\x02") */
[all …]
/external/opencensus-java/examples/
Dopencensus_workspace.bzl16 sha1 = "516c03b21d50a644d538de0f0369c620989cd8f0",
25 sha1 = "9dc9c6531ae0b304581adff0e9b7cff21a4073ac",
33 sha1 = "c1e9fc26da3060dde5a5948fd065c1b28cd10f39",
43 sha1 = "c079a62086121973a23d90f54e2b8c13050fa39d",
54 sha1 = "9585776b0a8153182412b5d5366061ff486914c1",
63 sha1 = "9330ee60c4e48ca60aac89b7bc5ec2567e84f28e",
72 sha1 = "561b03d3fd5178117a51f9f7ef9d9e5442ed2348",
81 sha1 = "ea715c51340a32106ffdf32375a5dad9dbdf160e",
90 sha1 = "9ce04e34240f674bc72680f8b843b1457383161a",
99 sha1 = "a87fc041f66b8c923e2a1de6b7c1582b7990fde8",
[all …]
/external/deqp/framework/delibs/decpp/
DdeSha1.cpp21 * \brief SHA1 hash functions
29 Sha1 Sha1::parse (const std::string& str) in parse()
33 DE_CHECK_RUNTIME_ERR_MSG(str.size() >= 40, "Failed to parse SHA1. String is too short."); in parse()
34 …DE_CHECK_RUNTIME_ERR_MSG(deSha1_parse(&hash, str.c_str()), "Failed to parse SHA1. Invalid characte… in parse()
36 return Sha1(hash); in parse()
39 Sha1 Sha1::compute (size_t size, const void* data) in compute()
44 return Sha1(hash); in compute()
57 Sha1 Sha1Stream::finalize (void) in finalize()
62 return Sha1(hash); in finalize()
/external/mesa3d/src/mesa/main/
Dprogram_binary.c45 * defined has one uint32_t value of 0, followed by 20 bytes specifying a sha1
50 /* If internal_format is 0, it must be followed by the 20 byte sha1 that
52 * something besides a sha1, then a new internal_format value can be added.
55 uint8_t sha1[20]; member
56 /* Fields following sha1 can be changed since the sha1 will guarantee that
74 const void *sha1, void *binary, unsigned binary_size, in write_program_binary() argument
89 memcpy(hdr->sha1, sha1, sizeof(hdr->sha1)); in write_program_binary()
129 is_program_binary_valid(GLenum binary_format, const void *sha1, in is_program_binary_valid() argument
139 if (memcmp(hdr->sha1, sha1, sizeof(hdr->sha1)) != 0) in is_program_binary_valid()
159 get_program_binary_payload(GLenum binary_format, const void *sha1, in get_program_binary_payload() argument
[all …]
/external/v8/tools/turbolizer/
Dpackage-lock.json120 "integrity": "sha1-k6MBhovp4VBh89RDQ7GrP4rLbwk="
174 "integrity": "sha1-HOHmWerkUw3wyxJ/KX8XQaNnqC4="
268 "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
281 "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM="
286 "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
355 "integrity": "sha1-MacFoLU15ldZ3hQXOjGTMTfxjvo="
360 "integrity": "sha1-AMLyOAGfJPbAoZSibUGhUw/+e8Q=",
372 "integrity": "sha1-fexPC6iG9xP+ERxF92NBT290yiw=",
381 "integrity": "sha1-NC39EoN8kJdPM/HMCnha6lcNzcI="
399 "integrity": "sha1-RuFJHqqbWMNY/OW+TovtYm54cfg="
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DSHA1.java14 public class SHA1 class
16 private SHA1() in SHA1() method in SHA1
41 * SHA1 HMac
62 * SHA1 HMac
81 super("PBEwithHmacSHA", null, false, PKCS12, SHA1, 160, 0); in PBEWithMacKeyFactory()
88 private static final String PREFIX = SHA1.class.getName();
97 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); in configure()
101 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator"); in configure()
102 addHMACAlias(provider, "SHA1", PKCSObjectIdentifiers.id_hmacWithSHA1); in configure()
103 addHMACAlias(provider, "SHA1", IANAObjectIdentifiers.hmacSHA1); in configure()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCertificatePinner.java57 * .add(hostname, "sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=")
72 * sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=: CN=publicobject.com, OU=PositiveSSL
73 * sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=: CN=COMODO RSA Domain Validation Secure Server CA
74 * sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=: CN=COMODO RSA Certification Authority
75 * sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=: CN=AddTrust External CA Root
77 * sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=
88 * .add("publicobject.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
89 * .add("publicobject.com", "sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=")
90 * .add("publicobject.com", "sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=")
91 * .add("publicobject.com", "sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=")
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCertificatePinner.java58 * .add(hostname, "sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=")
73 * sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=: CN=publicobject.com, OU=PositiveSSL
74 * sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=: CN=COMODO RSA Domain Validation Secure Server CA
75 * sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=: CN=COMODO RSA Certification Authority
76 * sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=: CN=AddTrust External CA Root
78 * sha1/AAAAAAAAAAAAAAAAAAAAAAAAAAA=
89 * .add("publicobject.com", "sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=")
90 * .add("publicobject.com", "sha1/SXxoaOSEzPC6BgGmxAt/EAcsajw=")
91 * .add("publicobject.com", "sha1/blhOM3W9V/bVQhsWAcLYwPU6n24=")
92 * .add("publicobject.com", "sha1/T5x9IXmcrQ7YuQxXnxoCmeeQ84c=")
[all …]
/external/tcpdump/tests/
Dbfd-raw-auth-sha1-v.out9 Authentication: Meticulous Keyed SHA1 (5), length: 28
20 Authentication: Meticulous Keyed SHA1 (5), length: 28
31 Authentication: Meticulous Keyed SHA1 (5), length: 28
42 Authentication: Meticulous Keyed SHA1 (5), length: 28
53 Authentication: Meticulous Keyed SHA1 (5), length: 28
64 Authentication: Meticulous Keyed SHA1 (5), length: 28
75 Authentication: Meticulous Keyed SHA1 (5), length: 28
86 Authentication: Meticulous Keyed SHA1 (5), length: 28
97 Authentication: Meticulous Keyed SHA1 (5), length: 28
108 Authentication: Meticulous Keyed SHA1 (5), length: 28
[all …]
/external/mesa3d/src/compiler/glsl/
Dshader_cache.cpp61 #include "util/mesa-sha1.h"
98 static const char zero[sizeof(prog->data->sha1)] = {0}; in shader_cache_write_program_metadata()
99 if (memcmp(prog->data->sha1, zero, sizeof(prog->data->sha1)) == 0) in shader_cache_write_program_metadata()
118 disk_cache_put_key(cache, prog->Shaders[i]->sha1); in shader_cache_write_program_metadata()
119 memcpy(cache_item_metadata.keys[i], prog->Shaders[i]->sha1, in shader_cache_write_program_metadata()
122 _mesa_sha1_format(sha1_buf, prog->Shaders[i]->sha1); in shader_cache_write_program_metadata()
127 disk_cache_put(cache, prog->data->sha1, metadata.data, metadata.size, in shader_cache_write_program_metadata()
131 _mesa_sha1_format(sha1_buf, prog->data->sha1); in shader_cache_write_program_metadata()
154 /* Include bindings when creating sha1. These bindings change the resulting in shader_cache_read_program_metadata()
189 * include them as an input to sha1 creation. in shader_cache_read_program_metadata()
[all …]
/external/vulkan-validation-layers/scripts/
Dexternal_revision_generator.py82 # otherwise, SHA1 the entire (unstripped) file contents
83 sha1 = hashlib.sha1();
84 sha1.update(rev_contents.encode('utf-8'))
85 return sha1.hexdigest()
89 sha1 = hashlib.sha1();
90 sha1.update(unique_uuid.encode())
91 return sha1.hexdigest()
99 …("--rev_file", metavar="REVISION_FILE", help="source revision file path (must contain a SHA1 hash")
100 …rev_method_group.add_argument("--from_uuid", action='store_true', help="base SHA1 on a dynamically…
104 …# or computing the SHA1 hash of the contents of a file passed on the command line and (where neces…
[all …]
/external/mesa3d/src/util/sha1/
DREADME1 This local copy of a SHA1 implementation based on the sources below.
12 - Avoid conflicts when using software which ships with it's own SHA1 library.
18 The SHA1 implementation is copied verbatim from the following links.
21 http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/lib/libc/hash/sha1.c?rev=HEAD
22 http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/include/sha1.h?rev=HEAD
38 - Pick the sha1.h header from the current folder, by using "" over <> in the
47 - Revert sha1.c rev 1.26 change (introduce DEF_WEAK).
50 - Add stdint.h include in sha1.h for uint*_t types. Upstream status: TBD
52 - Add stddef.h include in sha1.h for size_t type. Upstream status: TBD
/external/conscrypt/common/src/main/java/org/conscrypt/
DEvpMdRef.java41 } else if (SHA1.JCA_NAME.equals(algorithmUpper) in getJcaDigestAlgorithmStandardName()
42 || SHA1.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
43 return SHA1.JCA_NAME; in getJcaDigestAlgorithmStandardName()
62 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
63 return EvpMdRef.SHA1.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName()
80 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) { in getDigestSizeBytesByJcaDigestAlgorithmStandardName()
81 return EvpMdRef.SHA1.SIZE_BYTES; in getDigestSizeBytesByJcaDigestAlgorithmStandardName()
94 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
95 return SHA1.JCA_NAME; in getJcaDigestAlgorithmStandardNameFromEVP_MD()
118 static final class SHA1 { class in EvpMdRef
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DEvpMdRef.java40 } else if (SHA1.JCA_NAME.equals(algorithmUpper) || SHA1.OID.equals(algorithmUpper)) { in getJcaDigestAlgorithmStandardName()
41 return SHA1.JCA_NAME; in getJcaDigestAlgorithmStandardName()
58 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) { in getEVP_MDByJcaDigestAlgorithmStandardName()
59 return EvpMdRef.SHA1.EVP_MD; in getEVP_MDByJcaDigestAlgorithmStandardName()
76 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) { in getDigestSizeBytesByJcaDigestAlgorithmStandardName()
77 return EvpMdRef.SHA1.SIZE_BYTES; in getDigestSizeBytesByJcaDigestAlgorithmStandardName()
90 } else if (evpMdRef == SHA1.EVP_MD) { in getJcaDigestAlgorithmStandardNameFromEVP_MD()
91 return SHA1.JCA_NAME; in getJcaDigestAlgorithmStandardNameFromEVP_MD()
114 static final class SHA1 { class in EvpMdRef
117 static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1");
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/digest/
DSHA1.java18 public class SHA1 class
20 private SHA1() in SHA1() method in SHA1
48 * SHA1 HMac
73 * SHA1 HMac
94 super("PBEwithHmacSHA", null, false, PKCS12, SHA1, 160, 0); in PBEWithMacKeyFactory()
104 private static final String PREFIX = SHA1.class.getName();
113 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); in configure()
117 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator"); in configure()
118 addHMACAlias(provider, "SHA1", PKCSObjectIdentifiers.id_hmacWithSHA1); in configure()
119 addHMACAlias(provider, "SHA1", IANAObjectIdentifiers.hmacSHA1); in configure()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DSHA1.h1 //==- SHA1.h - SHA1 implementation for LLVM --*- C++ -*-==//
10 // (http://oauth.googlecode.com/svn/code/c/liboauth/src/sha1.c)
28 /// A class that wrap the SHA1 algorithm.
29 class SHA1 {
31 SHA1() { init(); } in SHA1() function
45 /// Return a reference to the current raw 160-bits SHA1 for the digested data
51 /// Return a reference to the current raw 160-bits SHA1 for the digested data
52 /// since the last call to init(). This is suitable for getting the SHA1 at
57 /// Returns a raw 160-bit SHA1 hash for the given data.

12345678910>>...38