Text this: Optimization of reconfigurable SM2 algorithm over prime filed