Any such algorithm will probably be terrible like the FFT in nsqrt(log n). If it's not elementary it is probably not worth it