A generalized convolution for finite Fourier transformations