Lines Matching refs:SHA256_BLOCK_SIZE
223 #define SHA256_BLOCK_SIZE 64 macro
338 len >= SHA256_BLOCK_SIZE; in mbedtls_internal_sha256_process_many_a64_crypto()
339 processed += SHA256_BLOCK_SIZE, in mbedtls_internal_sha256_process_many_a64_crypto()
340 msg += SHA256_BLOCK_SIZE, in mbedtls_internal_sha256_process_many_a64_crypto()
341 len -= SHA256_BLOCK_SIZE) { in mbedtls_internal_sha256_process_many_a64_crypto()
432 const unsigned char data[SHA256_BLOCK_SIZE]) in mbedtls_internal_sha256_process_a64_crypto() argument
435 SHA256_BLOCK_SIZE) == in mbedtls_internal_sha256_process_a64_crypto()
436 SHA256_BLOCK_SIZE) ? 0 : -1; in mbedtls_internal_sha256_process_a64_crypto()
493 const unsigned char data[SHA256_BLOCK_SIZE]) in mbedtls_internal_sha256_process_c() argument
587 while (len >= SHA256_BLOCK_SIZE) { in mbedtls_internal_sha256_process_many_c()
592 data += SHA256_BLOCK_SIZE; in mbedtls_internal_sha256_process_many_c()
593 len -= SHA256_BLOCK_SIZE; in mbedtls_internal_sha256_process_many_c()
595 processed += SHA256_BLOCK_SIZE; in mbedtls_internal_sha256_process_many_c()
630 const unsigned char data[SHA256_BLOCK_SIZE]) in mbedtls_internal_sha256_process() argument
658 fill = SHA256_BLOCK_SIZE - left; in mbedtls_sha256_update()
679 while (ilen >= SHA256_BLOCK_SIZE) { in mbedtls_sha256_update()
682 if (processed < SHA256_BLOCK_SIZE) { in mbedtls_sha256_update()
720 memset(ctx->buffer + used, 0, SHA256_BLOCK_SIZE - used); in mbedtls_sha256_finish()