Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dsha512module.c118 sha512_transform(SHAobject *sha_info) in sha512_transform() argument
123 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha512_transform()
125 longReverse(W, (int)sizeof(sha_info->data)); in sha512_transform()
132 S[i] = sha_info->digest[i]; in sha512_transform()
227 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha512_transform()
237 sha512_init(SHAobject *sha_info) in sha512_init() argument
239 sha_info->digest[0] = Py_ULL(0x6a09e667f3bcc908); in sha512_init()
240 sha_info->digest[1] = Py_ULL(0xbb67ae8584caa73b); in sha512_init()
241 sha_info->digest[2] = Py_ULL(0x3c6ef372fe94f82b); in sha512_init()
242 sha_info->digest[3] = Py_ULL(0xa54ff53a5f1d36f1); in sha512_init()
[all …]
Dsha256module.c117 sha_transform(SHAobject *sha_info) in sha_transform() argument
122 memcpy(W, sha_info->data, sizeof(sha_info->data)); in sha_transform()
124 longReverse(W, (int)sizeof(sha_info->data)); in sha_transform()
131 S[i] = sha_info->digest[i]; in sha_transform()
210 sha_info->digest[i] = sha_info->digest[i] + S[i]; in sha_transform()
220 sha_init(SHAobject *sha_info) in sha_init() argument
222 sha_info->digest[0] = 0x6A09E667L; in sha_init()
223 sha_info->digest[1] = 0xBB67AE85L; in sha_init()
224 sha_info->digest[2] = 0x3C6EF372L; in sha_init()
225 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/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-project/llvm/test/Analysis/ScalarEvolution/
Dtrip-count3.ll40 define void @sha_stream_bb3_2E_i(%struct.SHA_INFO* %sha_info, i8* %data1, i32, i8** %buffer_addr.0.…
58 %1 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3
61 %3 = getelementptr %struct.SHA_INFO, %struct.SHA_INFO* %sha_info, i64 0, i32 3, i64 0
70 call fastcc void @sha_transform(%struct.SHA_INFO* %sha_info) nounwind