/external/boringssl/src/crypto/sha/ |
D | sha512.c | 87 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init() argument 88 sha->h[0] = UINT64_C(0xcbbb9d5dc1059ed8); in SHA384_Init() 89 sha->h[1] = UINT64_C(0x629a292a367cd507); in SHA384_Init() 90 sha->h[2] = UINT64_C(0x9159015a3070dd17); in SHA384_Init() 91 sha->h[3] = UINT64_C(0x152fecd8f70e5939); in SHA384_Init() 92 sha->h[4] = UINT64_C(0x67332667ffc00b31); in SHA384_Init() 93 sha->h[5] = UINT64_C(0x8eb44a8768581511); in SHA384_Init() 94 sha->h[6] = UINT64_C(0xdb0c2e0d64f98fa7); in SHA384_Init() 95 sha->h[7] = UINT64_C(0x47b5481dbefa4fa4); in SHA384_Init() 97 sha->Nl = 0; in SHA384_Init() [all …]
|
D | sha256.c | 70 int SHA224_Init(SHA256_CTX *sha) { in SHA224_Init() argument 71 memset(sha, 0, sizeof(SHA256_CTX)); in SHA224_Init() 72 sha->h[0] = 0xc1059ed8UL; in SHA224_Init() 73 sha->h[1] = 0x367cd507UL; in SHA224_Init() 74 sha->h[2] = 0x3070dd17UL; in SHA224_Init() 75 sha->h[3] = 0xf70e5939UL; in SHA224_Init() 76 sha->h[4] = 0xffc00b31UL; in SHA224_Init() 77 sha->h[5] = 0x68581511UL; in SHA224_Init() 78 sha->h[6] = 0x64f98fa7UL; in SHA224_Init() 79 sha->h[7] = 0xbefa4fa4UL; in SHA224_Init() [all …]
|
/external/boringssl/src/include/openssl/ |
D | sha.h | 81 OPENSSL_EXPORT int SHA1_Init(SHA_CTX *sha); 84 OPENSSL_EXPORT int SHA1_Update(SHA_CTX *sha, const void *data, size_t len); 89 OPENSSL_EXPORT int SHA1_Final(uint8_t *md, SHA_CTX *sha); 98 OPENSSL_EXPORT void SHA1_Transform(SHA_CTX *sha, const uint8_t *block); 132 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha); 135 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len); 140 OPENSSL_EXPORT int SHA224_Final(uint8_t *md, SHA256_CTX *sha); 157 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha); 160 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len); 165 OPENSSL_EXPORT int SHA256_Final(uint8_t *md, SHA256_CTX *sha); [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | MessageDigest2Test.java | 95 private void testSerializationSHA_DATA_2(MessageDigest sha) { in testSerializationSHA_DATA_2() argument 97 sha.reset(); in testSerializationSHA_DATA_2() 153 byte[] hash = sha.digest(data); in testSerializationSHA_DATA_2() 163 private void testSerializationSHA_DATA_1(MessageDigest sha) { in testSerializationSHA_DATA_1() argument 165 sha.reset(); in testSerializationSHA_DATA_1() 203 byte[] hash = sha.digest(data); in testSerializationSHA_DATA_1() 215 MessageDigest sha = null; in test_digest() local 217 sha = MessageDigest.getInstance("SHA"); in test_digest() 218 assertNotNull(sha); in test_digest() 222 sha.update(MESSAGE.getBytes("UTF-8")); in test_digest() [all …]
|
/external/tcpdump/tests/ |
D | ikev2pI2.out | 6 (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 )
|
D | ikev2four.out | 9 (t: #5 type=prf id=hmac-sha ) 12 (t: #8 type=integ id=hmac-sha ) 33 (t: #5 type=prf id=hmac-sha ) 36 (t: #8 type=integ id=hmac-sha ) 50 (t: #2 type=prf id=hmac-sha ) 51 (t: #3 type=integ id=hmac-sha )
|
D | ikev2fourv.out | 9 (t: #5 type=prf id=hmac-sha ) 12 (t: #8 type=integ id=hmac-sha ) 33 (t: #5 type=prf id=hmac-sha ) 36 (t: #8 type=integ id=hmac-sha ) 50 (t: #2 type=prf id=hmac-sha ) 51 (t: #3 type=integ id=hmac-sha )
|
D | ikev2fourv4.out | 9 (t: #5 type=prf id=hmac-sha ) 12 (t: #8 type=integ id=hmac-sha ) 33 (t: #5 type=prf id=hmac-sha ) 36 (t: #8 type=integ id=hmac-sha ) 50 (t: #2 type=prf id=hmac-sha ) 51 (t: #3 type=integ id=hmac-sha )
|
/external/pdfium/core/src/fpdfapi/fpdf_parser/ |
D | fpdf_parser_encrypt.cpp | 229 uint8_t sha[128]; in Revision6_Hash() local 230 CRYPT_SHA256Start(sha); in Revision6_Hash() 231 CRYPT_SHA256Update(sha, password, size); in Revision6_Hash() 232 CRYPT_SHA256Update(sha, salt, 8); in Revision6_Hash() 234 CRYPT_SHA256Update(sha, vector, 48); in Revision6_Hash() 237 CRYPT_SHA256Finish(sha, digest); in Revision6_Hash() 315 uint8_t sha[128]; in AES256_CheckPassword() local 321 CRYPT_SHA256Start(sha); in AES256_CheckPassword() 322 CRYPT_SHA256Update(sha, password, size); in AES256_CheckPassword() 323 CRYPT_SHA256Update(sha, pkey + 32, 8); in AES256_CheckPassword() [all …]
|
/external/boringssl/src/crypto/bn/ |
D | random.c | 250 SHA512_CTX sha; in BN_generate_dsa_nonce() local 295 SHA512_Init(&sha); in BN_generate_dsa_nonce() 296 SHA512_Update(&sha, &attempt, sizeof(attempt)); in BN_generate_dsa_nonce() 297 SHA512_Update(&sha, &done, sizeof(done)); in BN_generate_dsa_nonce() 298 SHA512_Update(&sha, private_bytes, sizeof(private_bytes)); in BN_generate_dsa_nonce() 299 SHA512_Update(&sha, message, message_len); in BN_generate_dsa_nonce() 300 SHA512_Update(&sha, random_bytes, sizeof(random_bytes)); in BN_generate_dsa_nonce() 301 SHA512_Final(digest, &sha); in BN_generate_dsa_nonce()
|
/external/mesa3d/bin/ |
D | get-pick-list.sh | 12 while read sha 16 if grep -q ^$sha bin/.cherry-ignore ; then 22 if grep -q ^$sha already_picked ; then 26 git log -n1 --pretty=oneline $sha | cat
|
/external/vboot_reference/tests/futility/ |
D | test_sign_firmware.sh | 96 | 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
|
/external/libvpx/libvpx/test/android/ |
D | get_files.py | 45 def download_and_check_sha(url, filename, sha): argument 54 return get_file_sha(path) == sha 107 for filename, sha in itertools.izip(file_names, file_shas): 110 and get_file_sha(path) == sha: 115 if not download_and_check_sha(url, filename, sha):
|
/external/boringssl/ |
D | sources.mk | 193 src/crypto/sha/sha1.c\ 194 src/crypto/sha/sha256.c\ 195 src/crypto/sha/sha512.c\ 336 linux-aarch64/crypto/sha/sha1-armv8.S\ 337 linux-aarch64/crypto/sha/sha256-armv8.S\ 338 linux-aarch64/crypto/sha/sha512-armv8.S\ 347 linux-arm/crypto/sha/sha1-armv4-large.S\ 348 linux-arm/crypto/sha/sha256-armv4.S\ 349 linux-arm/crypto/sha/sha512-armv4.S\ 365 linux-x86/crypto/sha/sha1-586.S\ [all …]
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | DigitalSignatureTest.java | 50 MessageDigest sha = null; in testDigitalSignature_1() local 53 sha = MessageDigest.getInstance("SHA-1"); in testDigitalSignature_1() 68 sha.update(pivateKeyEncoding); in testDigitalSignature_1() 71 sha.digest(sha_hash, 0, sha_hash.length); in testDigitalSignature_1()
|
/external/skia/experimental/mojo/ |
D | generate.py | 29 sha = f.read(40) 30 if sha1hash(filename) == sha: 32 url = 'https://storage.googleapis.com/%s/%s' % (bucket_directory, sha) 37 assert sha1hash(filename) == sha
|
/external/lzma/CPP/7zip/Crypto/ |
D | 7zAes.cpp | 48 CSha256 sha; in CalculateDigest() local 49 Sha256_Init(&sha); in CalculateDigest() 54 Sha256_Update(&sha, Salt, (size_t)SaltSize); in CalculateDigest() 55 Sha256_Update(&sha, Password, Password.Size()); in CalculateDigest() 56 Sha256_Update(&sha, temp, 8); in CalculateDigest() 61 Sha256_Final(&sha, Key); in CalculateDigest()
|
/external/fio/crc/ |
D | test.c | 108 uint32_t sha[5]; in t_sha1() local 109 struct fio_sha1_ctx ctx = { .H = sha }; in t_sha1() 122 uint8_t sha[64]; in t_sha256() local 123 struct fio_sha256_ctx ctx = { .buf = sha }; in t_sha256() 136 uint8_t sha[128]; in t_sha512() local 137 struct fio_sha512_ctx ctx = { .buf = sha }; in t_sha512()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mturk/ |
D | notification.py | 29 from hashlib import sha1 as sha unknown 31 import sha 86 h = hmac.new(key=secret_key, digestmod=sha)
|
/external/lzma/C/ |
D | Xz.c | 54 case XZ_CHECK_SHA256: Sha256_Init(&p->sha); break; in XzCheck_Init() 64 case XZ_CHECK_SHA256: Sha256_Update(&p->sha, (const Byte *)data, size); break; in XzCheck_Update() 84 Sha256_Final(&p->sha, digest); in XzCheck_Final()
|
/external/libchrome/base/ |
D | sha1_portable.cc | 210 SecureHashAlgorithm sha; in SHA1HashBytes() local 211 sha.Update(data, len); in SHA1HashBytes() 212 sha.Final(); in SHA1HashBytes() 214 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes); in SHA1HashBytes()
|
/external/bison/build-aux/ |
D | gitlog-to-changelog | 163 my $sha; 177 $sha = lc $1; 179 exists $h->{$sha} 185 $h->{$sha} ||= ''; 186 $h->{$sha} .= "$line\n"; 276 my ($sha, $rest) = split ':', $log, 2; 277 defined $sha 279 $sha =~ /^[0-9a-fA-F]{40}$/ 280 or die "$ME:$.: invalid SHA1: $sha\n"; 283 my $code = $amend_code->{$sha}; [all …]
|
/external/strace/ |
D | gitlog-to-changelog | 164 my $sha; 178 $sha = lc $1; 180 exists $h->{$sha} 186 $h->{$sha} ||= ''; 187 $h->{$sha} .= "$line\n"; 281 my ($sha, $rest) = split ':', $log, 2; 282 defined $sha 284 $sha =~ /^[0-9a-fA-F]{40}$/ 285 or die "$ME:$.: invalid SHA1: $sha\n"; 288 my $code = $amend_code->{$sha}; [all …]
|
/external/autotest/client/deps/lansim/src/py/ |
D | host.py | 78 self.add_arp(hw_addr=pkt.arp.sha, ip_addr=pkt.arp.spa) 84 tha = pkt.arp.sha, # Target Hardware Address. 86 sha = self._bin_hw_addr) # Source Hardware Address. 88 dst = pkt.arp.sha,
|
/external/boringssl/src/crypto/obj/ |
D | obj_xref.txt | 7 shaWithRSAEncryption sha rsaEncryption 27 dsaWithSHA sha dsa
|