Provided modular MUL and SQR