Progress on non-EC multiply encrypt function