Home
last modified time | relevance | path

Searched refs:SHA_INT32 (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Modules/
Dshamodule.c34 typedef unsigned int SHA_INT32; /* 32-bit integer */ typedef
48 SHA_INT32 digest[5]; /* Message digest */
49 SHA_INT32 count_lo, count_hi; /* 64-bit bit count */
58 static void longReverse(SHA_INT32 *buffer, int byteCount, int Endianness) in longReverse()
60 SHA_INT32 value; in longReverse()
164 SHA_INT32 T, A, B, C, D, E, W[80], *WP; in sha_transform()
242 SHA_INT32 clo; in sha_update()
244 clo = sha_info->count_lo + ((SHA_INT32) count << 3); in sha_update()
249 sha_info->count_hi += (SHA_INT32) count >> 29; in sha_update()
282 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final()
Dsha256module.c35 typedef unsigned int SHA_INT32; /* 32-bit integer */ typedef
49 SHA_INT32 digest[8]; /* Message digest */
50 SHA_INT32 count_lo, count_hi; /* 64-bit bit count */
60 static void longReverse(SHA_INT32 *buffer, int byteCount, int Endianness) in longReverse()
62 SHA_INT32 value; in longReverse()
130 SHA_INT32 S[8], W[64], t0, t1; in sha_transform()
270 SHA_INT32 clo; in sha_update()
272 clo = sha_info->count_lo + ((SHA_INT32) count << 3); in sha_update()
277 sha_info->count_hi += (SHA_INT32) count >> 29; in sha_update()
310 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final()
Dsha512module.c36 typedef unsigned int SHA_INT32; /* 32-bit integer */ typedef
52 SHA_INT32 count_lo, count_hi; /* 64-bit bit count */
296 SHA_INT32 clo; in sha512_update()
298 clo = sha_info->count_lo + ((SHA_INT32) count << 3); in sha512_update()
303 sha_info->count_hi += (SHA_INT32) count >> 29; in sha512_update()
336 SHA_INT32 lo_bit_count, hi_bit_count; in sha512_final()
/external/python/cpython3/Modules/
Dsha256module.c34 typedef uint32_t SHA_INT32; /* 32-bit integer */ typedef
45 SHA_INT32 digest[8]; /* Message digest */
46 SHA_INT32 count_lo, count_hi; /* 64-bit bit count */
58 static void longReverse(SHA_INT32 *buffer, int byteCount) in longReverse()
120 SHA_INT32 S[8], W[64], t0, t1; in sha_transform()
260 SHA_INT32 clo; in sha_update()
262 clo = sha_info->count_lo + ((SHA_INT32) count << 3); in sha_update()
267 sha_info->count_hi += (SHA_INT32) count >> 29; in sha_update()
300 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final()
Dsha512module.c34 typedef uint32_t SHA_INT32; /* 32-bit integer */ typedef
47 SHA_INT32 count_lo, count_hi; /* 64-bit bit count */
277 SHA_INT32 clo; in sha512_update()
279 clo = sha_info->count_lo + ((SHA_INT32) count << 3); in sha512_update()
284 sha_info->count_hi += (SHA_INT32) count >> 29; in sha512_update()
317 SHA_INT32 lo_bit_count, hi_bit_count; in sha512_final()