The multiplication is defined, in fact, as the unique product which distributes along sums, behaves nicely with scalars and takes the correct values at the basic elements.
That this _is_ actually such a multiplication is a simple result in linear algebra, similar to thaht which says that a linear map need only be given on a basis of its domain.