Home
last modified time | relevance | path

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

1234

/external/boringssl/src/crypto/sha/
Dsha512.c97 int SHA384_Init(SHA512_CTX *sha) { in SHA384_Init() argument
98 sha->h[0] = OPENSSL_U64(0xcbbb9d5dc1059ed8); in SHA384_Init()
99 sha->h[1] = OPENSSL_U64(0x629a292a367cd507); in SHA384_Init()
100 sha->h[2] = OPENSSL_U64(0x9159015a3070dd17); in SHA384_Init()
101 sha->h[3] = OPENSSL_U64(0x152fecd8f70e5939); in SHA384_Init()
102 sha->h[4] = OPENSSL_U64(0x67332667ffc00b31); in SHA384_Init()
103 sha->h[5] = OPENSSL_U64(0x8eb44a8768581511); in SHA384_Init()
104 sha->h[6] = OPENSSL_U64(0xdb0c2e0d64f98fa7); in SHA384_Init()
105 sha->h[7] = OPENSSL_U64(0x47b5481dbefa4fa4); in SHA384_Init()
107 sha->Nl = 0; in SHA384_Init()
[all …]
Dsha256.c70 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 …]
Dsha1.c70 int SHA1_Init(SHA_CTX *sha) { in SHA1_Init() argument
71 memset(sha, 0, sizeof(SHA_CTX)); in SHA1_Init()
72 sha->h0 = 0x67452301UL; in SHA1_Init()
73 sha->h1 = 0xefcdab89UL; in SHA1_Init()
74 sha->h2 = 0x98badcfeUL; in SHA1_Init()
75 sha->h3 = 0x10325476UL; in SHA1_Init()
76 sha->h4 = 0xc3d2e1f0UL; in SHA1_Init()
/external/boringssl/src/include/openssl/
Dsha.h81 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);
117 OPENSSL_EXPORT int SHA224_Init(SHA256_CTX *sha);
120 OPENSSL_EXPORT int SHA224_Update(SHA256_CTX *sha, const void *data, size_t len);
125 OPENSSL_EXPORT int SHA224_Final(uint8_t *md, SHA256_CTX *sha);
142 OPENSSL_EXPORT int SHA256_Init(SHA256_CTX *sha);
145 OPENSSL_EXPORT int SHA256_Update(SHA256_CTX *sha, const void *data, size_t len);
150 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/
DMessageDigest2Test.java95 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/
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 )
Dikev2four.out9 (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 )
Dikev2fourv4.out9 (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 )
Dikev2fourv.out9 (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/
Dfpdf_parser_encrypt.cpp221 FX_BYTE sha[128]; in Revision6_Hash() local
222 CRYPT_SHA256Start(sha); in Revision6_Hash()
223 CRYPT_SHA256Update(sha, password, size); in Revision6_Hash()
224 CRYPT_SHA256Update(sha, salt, 8); in Revision6_Hash()
226 CRYPT_SHA256Update(sha, vector, 48); in Revision6_Hash()
229 CRYPT_SHA256Finish(sha, digest); in Revision6_Hash()
303 FX_BYTE sha[128]; in AES256_CheckPassword() local
308 CRYPT_SHA256Start(sha); in AES256_CheckPassword()
309 CRYPT_SHA256Update(sha, password, size); in AES256_CheckPassword()
310 CRYPT_SHA256Update(sha, pkey + 32, 8); in AES256_CheckPassword()
[all …]
/external/boringssl/src/crypto/bn/
Drandom.c250 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/
Dget-pick-list.sh12 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/
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
/external/libvpx/libvpx/test/android/
Dget_files.py45 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/
Dsources.mk193 src/crypto/sha/sha1.c\
194 src/crypto/sha/sha256.c\
195 src/crypto/sha/sha512.c\
328 linux-aarch64/crypto/sha/sha1-armv8.S\
329 linux-aarch64/crypto/sha/sha256-armv8.S\
330 linux-aarch64/crypto/sha/sha512-armv8.S\
339 linux-arm/crypto/sha/sha1-armv4-large.S\
340 linux-arm/crypto/sha/sha256-armv4.S\
341 linux-arm/crypto/sha/sha512-armv4.S\
357 linux-x86/crypto/sha/sha1-586.S\
[all …]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DDigitalSignatureTest.java50 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/fio/crc/
Dtest.c108 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/lzma/C/
DXz.c52 case XZ_CHECK_SHA256: Sha256_Init(&p->sha); break; in XzCheck_Init()
62 case XZ_CHECK_SHA256: Sha256_Update(&p->sha, (const Byte *)data, size); break; in XzCheck_Update()
82 Sha256_Final(&p->sha, digest); in XzCheck_Final()
DXzDec.c645 Sha256_Update(&p->sha, temp, num); in XzUnpacker_Code()
680 Sha256_Init(&p->sha); in XzUnpacker_Code()
699 Sha256_Final(&p->sha, p->shaDigest); in XzUnpacker_Code()
700 Sha256_Init(&p->sha); in XzUnpacker_Code()
778 Sha256_Update(&p->sha, src, srcRem); in XzUnpacker_Code()
799 Sha256_Final(&p->sha, digest); in XzUnpacker_Code()
DXz.h82 CSha256 sha; member
218 CSha256 sha; member
/external/bison/build-aux/
Dgitlog-to-changelog163 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/
Dgitlog-to-changelog164 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/boringssl/src/crypto/obj/
Dobj_xref.txt7 shaWithRSAEncryption sha rsaEncryption
27 dsaWithSHA sha dsa
/external/icu/icu4c/source/data/translit/
DInterIndic_Latin.txt63 $sha=\uE036;
130 $anusvara} [$ya$ra$lla$la$va$ssa$sha$sa$ha] → n;
310 $sa$virama}$sha→s'';
319 $sha}$x→s\u0301;
320 $sha$virama→s\u0301;
321 $sha→s\u0301a;
/external/valgrind/
DLOCAL_PATCHES.txt3 1. commit sha

1234