Algorithm 1 SM3 round function algorithm |
Input A, B, C, D, E, F, G, H register initial value Output A, B, C, D, E, F, G, H register update value 1: function ROUNDFUCTION () 2: 3: while do 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: end while 18: return 19: end function |