Searched refs:bytes_to_copy (Results 1 – 2 of 2) sorted by relevance
263 size_t bytes_to_copy; in mbedtls_mpi_core_write_le() local266 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_le()268 bytes_to_copy = output_length; in mbedtls_mpi_core_write_le()272 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_le()279 for (size_t i = 0; i < bytes_to_copy; i++) { in mbedtls_mpi_core_write_le()297 size_t bytes_to_copy; in mbedtls_mpi_core_write_be() local308 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_be()314 bytes_to_copy = output_length; in mbedtls_mpi_core_write_be()316 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_be()323 for (size_t i = 0; i < bytes_to_copy; i++) { in mbedtls_mpi_core_write_be()[all …]
438 size_t bytes_to_copy = block_size - ctx->unprocessed_len; in psa_cipher_update_ecb() local440 if (input_length < bytes_to_copy) { in psa_cipher_update_ecb()441 bytes_to_copy = input_length; in psa_cipher_update_ecb()445 input, bytes_to_copy); in psa_cipher_update_ecb()446 input_length -= bytes_to_copy; in psa_cipher_update_ecb()447 input += bytes_to_copy; in psa_cipher_update_ecb()448 ctx->unprocessed_len += bytes_to_copy; in psa_cipher_update_ecb()