Home
last modified time | relevance | path

Searched refs:sha_info (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Modules/
Dsha512module.c135 sha512_transform(SHAobject *sha_info) in sha512_transform() argument
140 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha512_transform()
142 longReverse(W, (int)sizeof(sha_info->data)); in sha512_transform()
149 S[i] = sha_info->digest[i]; in sha512_transform()
244 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha512_transform()
254 sha512_init(SHAobject *sha_info) in sha512_init() argument
256 sha_info->digest[0] = Py_ULL(0x6a09e667f3bcc908); in sha512_init()
257 sha_info->digest[1] = Py_ULL(0xbb67ae8584caa73b); in sha512_init()
258 sha_info->digest[2] = Py_ULL(0x3c6ef372fe94f82b); in sha512_init()
259 sha_info->digest[3] = Py_ULL(0xa54ff53a5f1d36f1); in sha512_init()
[all …]
Dsha256module.c126 sha_transform(SHAobject *sha_info) in sha_transform() argument
131 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha_transform()
133 longReverse(W, (int)sizeof(sha_info->data)); in sha_transform()
140 S[i] = sha_info->digest[i]; in sha_transform()
219 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha_transform()
229 sha_init(SHAobject *sha_info) in sha_init() argument
231 sha_info->digest[0] = 0x6A09E667L; in sha_init()
232 sha_info->digest[1] = 0xBB67AE85L; in sha_init()
233 sha_info->digest[2] = 0x3C6EF372L; in sha_init()
234 sha_info->digest[3] = 0xA54FF53AL; in sha_init()
[all …]
/external/python/cpython2/Modules/
Dsha512module.c137 sha512_transform(SHAobject *sha_info) in sha512_transform() argument
142 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha512_transform()
143 longReverse(W, (int)sizeof(sha_info->data), sha_info->Endianness); in sha512_transform()
149 S[i] = sha_info->digest[i]; in sha512_transform()
244 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha512_transform()
254 sha512_init(SHAobject *sha_info) in sha512_init() argument
256 TestEndianness(sha_info->Endianness) in sha512_init()
257 sha_info->digest[0] = Py_ULL(0x6a09e667f3bcc908); in sha512_init()
258 sha_info->digest[1] = Py_ULL(0xbb67ae8584caa73b); in sha512_init()
259 sha_info->digest[2] = Py_ULL(0x3c6ef372fe94f82b); in sha512_init()
[all …]
Dshamodule.c161 sha_transform(SHAobject *sha_info) in sha_transform() argument
166 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha_transform()
167 longReverse(W, (int)sizeof(sha_info->data), sha_info->Endianness); in sha_transform()
175 A = sha_info->digest[0]; in sha_transform()
176 B = sha_info->digest[1]; in sha_transform()
177 C = sha_info->digest[2]; in sha_transform()
178 D = sha_info->digest[3]; in sha_transform()
179 E = sha_info->digest[4]; in sha_transform()
190 sha_info->digest[0] += E; in sha_transform()
191 sha_info->digest[1] += T; in sha_transform()
[all …]
Dsha256module.c127 sha_transform(SHAobject *sha_info) in sha_transform() argument
132 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha_transform()
133 longReverse(W, (int)sizeof(sha_info->data), sha_info->Endianness); in sha_transform()
139 S[i] = sha_info->digest[i]; in sha_transform()
218 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha_transform()
228 sha_init(SHAobject *sha_info) in sha_init() argument
230 TestEndianness(sha_info->Endianness) in sha_init()
231 sha_info->digest[0] = 0x6A09E667L; in sha_init()
232 sha_info->digest[1] = 0xBB67AE85L; in sha_init()
233 sha_info->digest[2] = 0x3C6EF372L; in sha_init()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ScalarEvolution/
Dtrip-count3.ll41 define void @sha_stream_bb3_2E_i(%struct.SHA_INFO* %sha_info, i8* %data1, i32, i8** %buffer_addr.0.…
51 %1 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3
54 %3 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3, i64 0
63 call fastcc void @sha_transform(%struct.SHA_INFO* %sha_info) nounwind
/external/llvm/test/Analysis/ScalarEvolution/
Dtrip-count3.ll41 define void @sha_stream_bb3_2E_i(%struct.SHA_INFO* %sha_info, i8* %data1, i32, i8** %buffer_addr.0.…
51 %1 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3
54 %3 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3, i64 0
63 call fastcc void @sha_transform(%struct.SHA_INFO* %sha_info) nounwind
/external/swiftshader/third_party/LLVM/test/Analysis/ScalarEvolution/
Dtrip-count3.ll39 define void @sha_stream_bb3_2E_i(%struct.SHA_INFO* %sha_info, i8* %data1, i32, i8** %buffer_addr.0.…
49 %1 = getelementptr %struct.SHA_INFO* %sha_info, i64 0, i32 3
52 %3 = getelementptr %struct.SHA_INFO* %sha_info, i64 0, i32 3, i64 0
61 call fastcc void @sha_transform(%struct.SHA_INFO* %sha_info) nounwind