Lines Matching refs:SHA512_BLOCK_SIZE
210 #define SHA512_BLOCK_SIZE 128 macro
392 len >= SHA512_BLOCK_SIZE; in mbedtls_internal_sha512_process_many_a64_crypto()
393 processed += SHA512_BLOCK_SIZE, in mbedtls_internal_sha512_process_many_a64_crypto()
394 msg += SHA512_BLOCK_SIZE, in mbedtls_internal_sha512_process_many_a64_crypto()
395 len -= SHA512_BLOCK_SIZE) { in mbedtls_internal_sha512_process_many_a64_crypto()
567 const unsigned char data[SHA512_BLOCK_SIZE]) in mbedtls_internal_sha512_process_a64_crypto() argument
570 SHA512_BLOCK_SIZE) == in mbedtls_internal_sha512_process_a64_crypto()
571 SHA512_BLOCK_SIZE) ? 0 : -1; in mbedtls_internal_sha512_process_a64_crypto()
602 const unsigned char data[SHA512_BLOCK_SIZE]) in mbedtls_internal_sha512_process_c() argument
703 while (len >= SHA512_BLOCK_SIZE) { in mbedtls_internal_sha512_process_many_c()
708 data += SHA512_BLOCK_SIZE; in mbedtls_internal_sha512_process_many_c()
709 len -= SHA512_BLOCK_SIZE; in mbedtls_internal_sha512_process_many_c()
711 processed += SHA512_BLOCK_SIZE; in mbedtls_internal_sha512_process_many_c()
746 const unsigned char data[SHA512_BLOCK_SIZE]) in mbedtls_internal_sha512_process() argument
773 fill = SHA512_BLOCK_SIZE - left; in mbedtls_sha512_update()
793 while (ilen >= SHA512_BLOCK_SIZE) { in mbedtls_sha512_update()
796 if (processed < SHA512_BLOCK_SIZE) { in mbedtls_sha512_update()
834 memset(ctx->buffer + used, 0, SHA512_BLOCK_SIZE - used); in mbedtls_sha512_finish()