Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dshamodule.c282 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final() local
284 lo_bit_count = sha_info->count_lo; in sha_final()
286 count = (int) ((lo_bit_count >> 3) & 0x3f); in sha_final()
305 sha_info->data[60] = (lo_bit_count >> 24) & 0xff; in sha_final()
306 sha_info->data[61] = (lo_bit_count >> 16) & 0xff; in sha_final()
307 sha_info->data[62] = (lo_bit_count >> 8) & 0xff; in sha_final()
308 sha_info->data[63] = (lo_bit_count >> 0) & 0xff; in sha_final()
Dsha256module.c310 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final() local
312 lo_bit_count = sha_info->count_lo; in sha_final()
314 count = (int) ((lo_bit_count >> 3) & 0x3f); in sha_final()
333 sha_info->data[60] = (lo_bit_count >> 24) & 0xff; in sha_final()
334 sha_info->data[61] = (lo_bit_count >> 16) & 0xff; in sha_final()
335 sha_info->data[62] = (lo_bit_count >> 8) & 0xff; in sha_final()
336 sha_info->data[63] = (lo_bit_count >> 0) & 0xff; in sha_final()
Dsha512module.c336 SHA_INT32 lo_bit_count, hi_bit_count; in sha512_final() local
338 lo_bit_count = sha_info->count_lo; in sha512_final()
340 count = (int) ((lo_bit_count >> 3) & 0x7f); in sha512_final()
367 sha_info->data[124] = (lo_bit_count >> 24) & 0xff; in sha512_final()
368 sha_info->data[125] = (lo_bit_count >> 16) & 0xff; in sha512_final()
369 sha_info->data[126] = (lo_bit_count >> 8) & 0xff; in sha512_final()
370 sha_info->data[127] = (lo_bit_count >> 0) & 0xff; in sha512_final()
/external/python/cpython3/Modules/
Dsha256module.c300 SHA_INT32 lo_bit_count, hi_bit_count; in sha_final() local
302 lo_bit_count = sha_info->count_lo; in sha_final()
304 count = (int) ((lo_bit_count >> 3) & 0x3f); in sha_final()
323 sha_info->data[60] = (lo_bit_count >> 24) & 0xff; in sha_final()
324 sha_info->data[61] = (lo_bit_count >> 16) & 0xff; in sha_final()
325 sha_info->data[62] = (lo_bit_count >> 8) & 0xff; in sha_final()
326 sha_info->data[63] = (lo_bit_count >> 0) & 0xff; in sha_final()
Dsha512module.c317 SHA_INT32 lo_bit_count, hi_bit_count; in sha512_final() local
319 lo_bit_count = sha_info->count_lo; in sha512_final()
321 count = (int) ((lo_bit_count >> 3) & 0x7f); in sha512_final()
348 sha_info->data[124] = (lo_bit_count >> 24) & 0xff; in sha512_final()
349 sha_info->data[125] = (lo_bit_count >> 16) & 0xff; in sha512_final()
350 sha_info->data[126] = (lo_bit_count >> 8) & 0xff; in sha512_final()
351 sha_info->data[127] = (lo_bit_count >> 0) & 0xff; in sha512_final()