You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You're free to use the quantitive SM3 code I wrote in March. SM3 doesn't seem to benefit much (at all?) from RV64 -- there's only one hash size. The breakup of the functions matches that I used for SHA2 and SHA3 in the https://github.com/mjosaarinen/lwsha_isa/ repo.
sm3_rv32_cf.c: https://github.com/mjosaarinen/lwsha_isa/blob/master/sm3_rv32_cf.c The compression function is the main optimization target. The "instructions" are emulated by functions sm3_p0() and sm3_p1 defined on the top of the file. Additionally, it uses bitmanip stuff, emulated by functions defined in bitmanip.h and bitmanip.c
The text was updated successfully, but these errors were encountered: