Home
last modified time | relevance | path

Searched refs:sha (Results 1 – 25 of 524) sorted by relevance

12345678910>>...21

/external/toolchain-utils/llvm_tools/
Dgit_llvm_rev_test.py26 sha = git_llvm_rev.translate_rev_to_sha(config, rev)
27 roundtrip_rev = git_llvm_rev.translate_sha_to_rev(config, sha)
29 return sha
32 sha = self.rev_to_sha_with_round_trip(
35 self.assertEqual(sha, git_llvm_rev.base_llvm_sha)
38 sha = self.rev_to_sha_with_round_trip(
40 self.assertEqual(sha, '2f6da767f13b8fd81f840c211d405fea32ac9db7')
43 sha = self.rev_to_sha_with_round_trip(
45 self.assertEqual(sha, '3bf7fddeb05655d9baed4cc69e13535c677ed1dd')
52 sha = self.rev_to_sha_with_round_trip(
[all …]
Dnightly_revert_checker_test.py26 def prettify_sha(sha: str) -> tiny_render.Piece:
27 return 'pretty_' + sha
29 def get_sha_description(sha: str) -> tiny_render.Piece:
30 return 'subject_' + sha
35 sha='${sha}',
40 sha='${revert_sha}', reverted_sha='${reverted_sha}')
67 def prettify_sha(sha: str) -> tiny_render.Piece:
68 return 'pretty_' + sha
70 def get_sha_description(sha: str) -> tiny_render.Piece:
71 return 'subject_' + sha
[all …]
Dgit_llvm_rev.py97 sha: str) -> int:
103 ['git', 'log', '-n1', '--format=%B', sha],
120 sha = sha_or_ref
122 sha = check_output(
126 sha = sha.strip()
129 ['git', 'merge-base', base_llvm_sha, sha],
154 if merge_base == sha:
170 ['git', 'branch', '-r', '--contains', sha],
216 sha = next(lines, None)
217 if sha is None:
[all …]
Dcherrypick_cl.py30 llvm_dir: str, rev: git_llvm_rev.Rev, sha: str,
35 file_name = sha + '.patch'
42 if sha in rel_path:
47 cmd = ['git', 'show', sha]
57 ['git', 'log', '-n1', '--format=%s', sha], cwd=llvm_dir, encoding='utf-8')
104 def resolve_llvm_ref(llvm_dir: str, sha: str) -> str:
106 ['git', 'rev-parse', sha],
127 def get_package_names(sha: str, llvm_dir: str) -> list:
129 ['git', 'show', '--name-only', '--format=', sha],
206 for sha in args.sha:
[all …]
Dnightly_revert_checker.py111 repository_name: str, friendly_name: str, sha: str,
120 prettify_sha(sha),
128 for revert in sorted(new_reverts, key=lambda r: r.sha):
130 prettify_sha(revert.sha),
134 get_sha_description(revert.sha),
250 def prettify_sha(sha: str) -> tiny_render.Piece:
251 rev = get_llvm_hash.GetVersionFrom(llvm_dir, sha)
254 short_sha = sha[:12]
258 href='https://reviews.llvm.org/rG' + sha, inner='r' + str(rev)),
261 def get_sha_description(sha: str) -> tiny_render.Piece:
[all …]
Drevert_checker.py65 def _resolve_sha(git_dir: str, sha: str) -> str:
66 if len(sha) == 40:
67 return sha
70 ['git', '-C', git_dir, 'rev-parse', sha],
108 sha = next(stdout_stream, None)
109 assert sha is not None, 'git died?'
110 sha = sha.rstrip()
122 yield _LogEntry(sha, '\n'.join(commit_message).rstrip())
176 for sha, commit_message in _log_stream(git_dir, root_sha, across_sha):
184 logging.debug('Commit %s reverts %s, which happened after %s', sha,
[all …]
/external/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c73 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init() argument
74 sha->h[0] = UINT64_C(0xcbbb9d5dc1059ed8); in SHA384_Init()
75 sha->h[1] = UINT64_C(0x629a292a367cd507); in SHA384_Init()
76 sha->h[2] = UINT64_C(0x9159015a3070dd17); in SHA384_Init()
77 sha->h[3] = UINT64_C(0x152fecd8f70e5939); in SHA384_Init()
78 sha->h[4] = UINT64_C(0x67332667ffc00b31); in SHA384_Init()
79 sha->h[5] = UINT64_C(0x8eb44a8768581511); in SHA384_Init()
80 sha->h[6] = UINT64_C(0xdb0c2e0d64f98fa7); in SHA384_Init()
81 sha->h[7] = UINT64_C(0x47b5481dbefa4fa4); in SHA384_Init()
83 sha->Nl = 0; in SHA384_Init()
[all …]
Dsha256.c67 int SHA224_Init(SHA256_CTX *sha) { in SHA224_Init() argument
68 OPENSSL_memset(sha, 0, sizeof(SHA256_CTX)); in SHA224_Init()
69 sha->h[0] = 0xc1059ed8UL; in SHA224_Init()
70 sha->h[1] = 0x367cd507UL; in SHA224_Init()
71 sha->h[2] = 0x3070dd17UL; in SHA224_Init()
72 sha->h[3] = 0xf70e5939UL; in SHA224_Init()
73 sha->h[4] = 0xffc00b31UL; in SHA224_Init()
74 sha->h[5] = 0x68581511UL; in SHA224_Init()
75 sha->h[6] = 0x64f98fa7UL; in SHA224_Init()
76 sha->h[7] = 0xbefa4fa4UL; in SHA224_Init()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/sha/
Dsha512.c73 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init() argument
74 sha->h[0] = UINT64_C(0xcbbb9d5dc1059ed8); in SHA384_Init()
75 sha->h[1] = UINT64_C(0x629a292a367cd507); in SHA384_Init()
76 sha->h[2] = UINT64_C(0x9159015a3070dd17); in SHA384_Init()
77 sha->h[3] = UINT64_C(0x152fecd8f70e5939); in SHA384_Init()
78 sha->h[4] = UINT64_C(0x67332667ffc00b31); in SHA384_Init()
79 sha->h[5] = UINT64_C(0x8eb44a8768581511); in SHA384_Init()
80 sha->h[6] = UINT64_C(0xdb0c2e0d64f98fa7); in SHA384_Init()
81 sha->h[7] = UINT64_C(0x47b5481dbefa4fa4); in SHA384_Init()
83 sha->Nl = 0; in SHA384_Init()
[all …]
Dsha256.c67 int SHA224_Init(SHA256_CTX *sha) { in SHA224_Init() argument
68 OPENSSL_memset(sha, 0, sizeof(SHA256_CTX)); in SHA224_Init()
69 sha->h[0] = 0xc1059ed8UL; in SHA224_Init()
70 sha->h[1] = 0x367cd507UL; in SHA224_Init()
71 sha->h[2] = 0x3070dd17UL; in SHA224_Init()
72 sha->h[3] = 0xf70e5939UL; in SHA224_Init()
73 sha->h[4] = 0xffc00b31UL; in SHA224_Init()
74 sha->h[5] = 0x68581511UL; in SHA224_Init()
75 sha->h[6] = 0x64f98fa7UL; in SHA224_Init()
76 sha->h[7] = 0xbefa4fa4UL; in SHA224_Init()
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Drsa_pss_misc_test.txt15 [sha = SHA-1]
31 [sha = SHA-1]
47 [sha = SHA-1]
63 [sha = SHA-1]
79 [sha = SHA-1]
95 [sha = SHA-1]
111 [sha = SHA-1]
127 [sha = SHA-1]
143 [sha = SHA-1]
159 [sha = SHA-1]
[all …]
Drsa_sig_gen_misc_test.txt14 [sha = SHA-1]
71 [sha = SHA-224]
128 [sha = SHA-256]
185 [sha = SHA-384]
242 [sha = SHA-224]
299 [sha = SHA-256]
356 [sha = SHA-384]
413 [sha = SHA-512]
470 [sha = SHA-1]
527 [sha = SHA-224]
[all …]
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dsha.h77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha);
80 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len);
85 OPENSSL_EXPORT int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *sha);
96 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha,
131 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
134 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
140 SHA256_CTX *sha);
158 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha);
161 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len);
167 SHA256_CTX *sha);
[all …]
/external/boringssl/src/include/openssl/
Dsha.h77 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha);
80 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len);
85 OPENSSL_EXPORT int SHA1_Final(uint8_t out[SHA_DIGEST_LENGTH], SHA_CTX *sha);
96 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha,
131 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
134 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
140 SHA256_CTX *sha);
158 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha);
161 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len);
167 SHA256_CTX *sha);
[all …]
/external/wpa_supplicant_8/src/crypto/
Dfips_prf_wolfssl.c19 wc_Sha sha; in sha1_transform() local
21 os_memset(&sha, 0, sizeof(sha)); in sha1_transform()
22 sha.digest[0] = state[0]; in sha1_transform()
23 sha.digest[1] = state[1]; in sha1_transform()
24 sha.digest[2] = state[2]; in sha1_transform()
25 sha.digest[3] = state[3]; in sha1_transform()
26 sha.digest[4] = state[4]; in sha1_transform()
27 wc_ShaUpdate(&sha, data, 64); in sha1_transform()
28 state[0] = sha.digest[0]; in sha1_transform()
29 state[1] = sha.digest[1]; in sha1_transform()
[all …]
/external/mesa3d/bin/
Dget-pick-list.sh48 echo WARNING: Commit $1 lists invalid sha $id
107 while read sha
111 if grep -q ^$sha bin/.cherry-ignore ; then
117 if grep -q ^$sha already_picked ; then
121 if is_fixes_nomination "$sha"; then
123 elif is_brokenby_nomination "$sha"; then
125 elif is_revert_nomination "$sha"; then
127 elif is_stable_nomination "$sha"; then
129 elif is_typod_nomination "$sha"; then
146 git --no-pager show --no-patch --pretty=oneline $sha
/external/rust/crates/quiche/deps/boringssl/src/crypto/curve25519/
Dspake25519.c460 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() argument
471 SHA512_Update(sha, len_le, sizeof(len_le)); in update_with_length_prefix()
472 SHA512_Update(sha, data, len); in update_with_length_prefix()
510 SHA512_CTX sha; in SPAKE2_process_msg() local
511 SHA512_Init(&sha); in SPAKE2_process_msg()
513 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg()
514 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg()
515 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg()
516 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg()
518 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg()
[all …]
/external/boringssl/src/crypto/curve25519/
Dspake25519.c460 static void update_with_length_prefix(SHA512_CTX *sha, const uint8_t *data, in update_with_length_prefix() argument
471 SHA512_Update(sha, len_le, sizeof(len_le)); in update_with_length_prefix()
472 SHA512_Update(sha, data, len); in update_with_length_prefix()
510 SHA512_CTX sha; in SPAKE2_process_msg() local
511 SHA512_Init(&sha); in SPAKE2_process_msg()
513 update_with_length_prefix(&sha, ctx->my_name, ctx->my_name_len); in SPAKE2_process_msg()
514 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg()
515 update_with_length_prefix(&sha, ctx->my_msg, sizeof(ctx->my_msg)); in SPAKE2_process_msg()
516 update_with_length_prefix(&sha, their_msg, 32); in SPAKE2_process_msg()
518 update_with_length_prefix(&sha, ctx->their_name, ctx->their_name_len); in SPAKE2_process_msg()
[all …]
/external/tcpdump/tests/
Dikev2pI2.out6 (t: #2 type=integ id=hmac-sha )
7 (t: #3 type=prf id=hmac-sha )
11 (t: #2 type=integ id=hmac-sha )
16 (t: #2 type=integ id=hmac-sha )
17 (t: #3 type=prf id=hmac-sha )
21 (t: #2 type=integ id=hmac-sha )
26 (t: #2 type=integ id=hmac-sha )
27 (t: #3 type=prf id=hmac-sha )
31 (t: #2 type=integ id=hmac-sha )
/external/python/cpython2/Doc/library/
Dsha.rst2 :mod:`sha` --- SHA-1 message digest algorithm
5 .. module:: sha
21 used in the same way as the :mod:`md5` module: use :func:`new` to create an sha
30 Return a new sha object. If *string* is present, the method call
34 of the sha objects returned by :func:`new`:
47 An sha object has the same methods as md5 objects:
50 .. method:: sha.update(arg)
52 Update the sha object with the string *arg*. Repeated calls are equivalent to a
57 .. method:: sha.digest()
64 .. method:: sha.hexdigest()
[all …]
/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp111 CRYPT_sha2_context sha; in Revision6_Hash() local
112 CRYPT_SHA256Start(&sha); in Revision6_Hash()
113 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in Revision6_Hash()
114 CRYPT_SHA256Update(&sha, salt, 8); in Revision6_Hash()
116 CRYPT_SHA256Update(&sha, vector, 48); in Revision6_Hash()
119 CRYPT_SHA256Finish(&sha, digest); in Revision6_Hash()
333 CRYPT_sha2_context sha; in AES256_CheckPassword() local
339 CRYPT_SHA256Start(&sha); in AES256_CheckPassword()
340 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in AES256_CheckPassword()
341 CRYPT_SHA256Update(&sha, pkey + 32, 8); in AES256_CheckPassword()
[all …]
/external/iperf3/
Dmake_release35 FreeBSD) sha=sha256 ;;
36 Linux) sha=sha256sum ;;
37 Darwin) sha="shasum -a 256" ;;
38 *) sha=echo ;;
40 ${sha} ${tarball} | tee ${tarball}.sha256
/external/mesa3d/bin/pick/
Dcore.py40 sha: str
116 sha: str = attr.ib() variable in Commit
146 'git', 'cherry-pick', '-x', self.sha,
198 async def get_new_commits(sha: str) -> typing.List[typing.Tuple[str, str]]:
225 async def is_commit_in_branch(sha: str) -> bool:
228 'git', 'merge-base', '--is-ancestor', sha, 'HEAD',
236 async def full_sha(sha: str) -> str:
239 'git', 'rev-parse', sha,
252 'git', 'log', '--format=%B', '-1', commit.sha,
308 shas: typing.Set[str] = set(c.sha for c in previous if c.nominated)
[all …]
/external/curl/docs/
DCIPHERS.md297 `null-sha`
299 `rc4-sha`
302 `exp-des-cbc-sha`
303 `des-cbc3-sha`
308 `null-sha`
310 `rc4-sha`
313 `exp-des-cbc-sha`
314 `des-cbc3-sha`
315 `aes128-sha`
316 `aes256-sha`
[all …]
/external/vboot_reference/tests/futility/
Dtest_sign_firmware.sh96 | sed -e 's/.*: \+//' > ${TMP}.${base}.sha.new
97 cmp ${SCRIPTDIR}/data_${base}_expect.txt ${TMP}.${base}.sha.new
109 | sed -e 's/.*: \+//' > ${loemdir}/loem.sha.new
113 | sed -e 's/.*: \+//' >> ${loemdir}/loem.sha.new
116 tail -4 ${SCRIPTDIR}/data_${base}_expect.txt > ${loemdir}/sha.expect
117 cmp ${loemdir}/sha.expect ${loemdir}/loem.sha.new

12345678910>>...21