Lines Matching refs:stored_bytes
248 size_t stored_bytes = A_limbs * ciL; in mbedtls_mpi_core_write_le() local
251 if (stored_bytes < output_length) { in mbedtls_mpi_core_write_le()
252 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_le()
258 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_le()
269 if (stored_bytes < output_length) { in mbedtls_mpi_core_write_le()
271 memset(output + stored_bytes, 0, output_length - stored_bytes); in mbedtls_mpi_core_write_le()
282 size_t stored_bytes; in mbedtls_mpi_core_write_be() local
286 stored_bytes = X_limbs * ciL; in mbedtls_mpi_core_write_be()
288 if (stored_bytes < output_length) { in mbedtls_mpi_core_write_be()
294 bytes_to_copy = stored_bytes; in mbedtls_mpi_core_write_be()
295 p = output + output_length - stored_bytes; in mbedtls_mpi_core_write_be()
296 memset(output, 0, output_length - stored_bytes); in mbedtls_mpi_core_write_be()
302 for (size_t i = bytes_to_copy; i < stored_bytes; i++) { in mbedtls_mpi_core_write_be()