| 1 | package sm3scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/ |
| 2 | |
| 3 | func rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(count uint32, val uint32) uint32 { |
| 4 | return (val << count) | (val >> (32 - count)) |
| 5 | } |
| 6 | |
| 7 | // compression |
| 8 | func p0scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/p0().(X uint32) uint32 { |
| 9 | return X ^ rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(9, X) ^ rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(17, X) |
| 10 | } |
| 11 | |
| 12 | // expansion |
| 13 | func p1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/p1().(X uint32) uint32 { |
| 14 | return X ^ rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(15, X) ^ rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(23, X) |
| 15 | } |
| 16 | |
| 17 | func ff1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/ff1().(X uint32, Y uint32, Z uint32) uint32 { |
| 18 | return (X & Y) | ((X | Y) & Z) |
| 19 | } |
| 20 | |
| 21 | func gg1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/gg1().(X uint32, Y uint32, Z uint32) uint32 { |
| 22 | return (X & Y) ^ ((^X) & Z) // Can be also (Z ^ (X & (Y ^ Z))) |
| 23 | } |
| 24 | |
| 25 | func r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().( |
| 26 | A uint32, B *uint32, C uint32, D *uint32, E uint32, F *uint32, |
| 27 | G uint32, H *uint32, TJ uint32, Wi uint32, Wj uint32) { |
| 28 | |
| 29 | A12 := rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(12, A) |
| 30 | SS1 := rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(7, A12+E+TJ) |
| 31 | TT1 := (A ^ *B ^ C) + *D + (SS1 ^ A12) + Wj |
| 32 | TT2 := (E ^ *F ^ G) + *H + SS1 + Wi |
| 33 | |
| 34 | *B = rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(9, *B) |
| 35 | *D = TT1 |
| 36 | *F = rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(19, *F) |
| 37 | *H = p0scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/p0().(TT2) |
| 38 | } |
| 39 | |
| 40 | func r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().( |
| 41 | A uint32, B *uint32, C uint32, D *uint32, E uint32, F *uint32, |
| 42 | G uint32, H *uint32, TJ uint32, Wi uint32, Wj uint32) { |
| 43 | |
| 44 | A12 := rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(12, A) |
| 45 | SS1 := rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(7, A12+E+TJ) |
| 46 | TT1 := ff1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/ff1().(A, *B, C) + *D + (SS1 ^ A12) + Wj |
| 47 | TT2 := gg1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/gg1().(E, *F, G) + *H + SS1 + Wi |
| 48 | |
| 49 | *B = rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(9, *B) |
| 50 | *D = TT1 |
| 51 | *F = rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(19, *F) |
| 52 | *H = p0scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/p0().(TT2) |
| 53 | } |
| 54 | |
| 55 | func sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W0 uint32, W7 uint32, W13 uint32, W3 uint32, W10 uint32) uint32 { |
| 56 | return p1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/p1().(W0^W7^rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(15, W13)) ^ rotl32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/rotl32().(7, W3) ^ W10 |
| 57 | } |
| 58 | |
| 59 | func loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(x []byte) uint32 { |
| 60 | return uint32(x[3]) | (uint32(x[2]) << 8) | (uint32(x[1]) << 16) | (uint32(x[0]) << 24) |
| 61 | } |
| 62 | |
| 63 | func store64Bescip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/store64Be().(val []byte, x uint64) { |
| 64 | val[0] = byte(x >> 56) |
| 65 | val[1] = byte(x >> 48) |
| 66 | val[2] = byte(x >> 40) |
| 67 | val[3] = byte(x >> 32) |
| 68 | val[4] = byte(x >> 24) |
| 69 | val[5] = byte(x >> 16) |
| 70 | val[6] = byte(x >> 8) |
| 71 | val[7] = byte(x >> 0) |
| 72 | } |
| 73 | |
| 74 | func store32Bescip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/store32Be().(val []byte, x uint32) { |
| 75 | val[0] = byte(x >> 24) |
| 76 | val[1] = byte(x >> 16) |
| 77 | val[2] = byte(x >> 8) |
| 78 | val[3] = byte(x >> 0) |
| 79 | } |
| 80 | |
| 81 | func (d *digestscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#) compressscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#compress().(input []byte, blocks int) { |
| 82 | A := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[0] |
| 83 | B := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[1] |
| 84 | C := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[2] |
| 85 | D := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[3] |
| 86 | E := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[4] |
| 87 | F := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[5] |
| 88 | G := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[6] |
| 89 | H := d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[7] |
| 90 | |
| 91 | for i := 0; i < blocks; i++ { |
| 92 | next64Block := input[i*64:] |
| 93 | |
| 94 | W00 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[0:]) |
| 95 | W01 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[4:]) |
| 96 | W02 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[8:]) |
| 97 | W03 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[12:]) |
| 98 | W04 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[16:]) |
| 99 | W05 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[20:]) |
| 100 | W06 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[24:]) |
| 101 | W07 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[28:]) |
| 102 | W08 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[32:]) |
| 103 | W09 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[36:]) |
| 104 | W10 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[40:]) |
| 105 | W11 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[44:]) |
| 106 | W12 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[48:]) |
| 107 | W13 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[52:]) |
| 108 | W14 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[56:]) |
| 109 | W15 := loadBe32scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/loadBe32().(next64Block[60:]) |
| 110 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(A, &B, C, &D, E, &F, G, &H, 0x79CC4519, W00, W00^W04) |
| 111 | W00 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W00, W07, W13, W03, W10) |
| 112 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(D, &A, B, &C, H, &E, F, &G, 0xF3988A32, W01, W01^W05) |
| 113 | W01 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W01, W08, W14, W04, W11) |
| 114 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(C, &D, A, &B, G, &H, E, &F, 0xE7311465, W02, W02^W06) |
| 115 | W02 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W02, W09, W15, W05, W12) |
| 116 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(B, &C, D, &A, F, &G, H, &E, 0xCE6228CB, W03, W03^W07) |
| 117 | W03 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W03, W10, W00, W06, W13) |
| 118 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(A, &B, C, &D, E, &F, G, &H, 0x9CC45197, W04, W04^W08) |
| 119 | W04 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W04, W11, W01, W07, W14) |
| 120 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(D, &A, B, &C, H, &E, F, &G, 0x3988A32F, W05, W05^W09) |
| 121 | W05 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W05, W12, W02, W08, W15) |
| 122 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(C, &D, A, &B, G, &H, E, &F, 0x7311465E, W06, W06^W10) |
| 123 | W06 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W06, W13, W03, W09, W00) |
| 124 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(B, &C, D, &A, F, &G, H, &E, 0xE6228CBC, W07, W07^W11) |
| 125 | W07 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W07, W14, W04, W10, W01) |
| 126 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(A, &B, C, &D, E, &F, G, &H, 0xCC451979, W08, W08^W12) |
| 127 | W08 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W08, W15, W05, W11, W02) |
| 128 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(D, &A, B, &C, H, &E, F, &G, 0x988A32F3, W09, W09^W13) |
| 129 | W09 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W09, W00, W06, W12, W03) |
| 130 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(C, &D, A, &B, G, &H, E, &F, 0x311465E7, W10, W10^W14) |
| 131 | W10 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W10, W01, W07, W13, W04) |
| 132 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(B, &C, D, &A, F, &G, H, &E, 0x6228CBCE, W11, W11^W15) |
| 133 | W11 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W11, W02, W08, W14, W05) |
| 134 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(A, &B, C, &D, E, &F, G, &H, 0xC451979C, W12, W12^W00) |
| 135 | W12 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W12, W03, W09, W15, W06) |
| 136 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(D, &A, B, &C, H, &E, F, &G, 0x88A32F39, W13, W13^W01) |
| 137 | W13 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W13, W04, W10, W00, W07) |
| 138 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(C, &D, A, &B, G, &H, E, &F, 0x11465E73, W14, W14^W02) |
| 139 | W14 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W14, W05, W11, W01, W08) |
| 140 | r1scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r1().(B, &C, D, &A, F, &G, H, &E, 0x228CBCE6, W15, W15^W03) |
| 141 | W15 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W15, W06, W12, W02, W09) |
| 142 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x9D8A7A87, W00, W00^W04) |
| 143 | W00 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W00, W07, W13, W03, W10) |
| 144 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x3B14F50F, W01, W01^W05) |
| 145 | W01 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W01, W08, W14, W04, W11) |
| 146 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x7629EA1E, W02, W02^W06) |
| 147 | W02 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W02, W09, W15, W05, W12) |
| 148 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xEC53D43C, W03, W03^W07) |
| 149 | W03 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W03, W10, W00, W06, W13) |
| 150 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0xD8A7A879, W04, W04^W08) |
| 151 | W04 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W04, W11, W01, W07, W14) |
| 152 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0xB14F50F3, W05, W05^W09) |
| 153 | W05 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W05, W12, W02, W08, W15) |
| 154 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x629EA1E7, W06, W06^W10) |
| 155 | W06 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W06, W13, W03, W09, W00) |
| 156 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xC53D43CE, W07, W07^W11) |
| 157 | W07 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W07, W14, W04, W10, W01) |
| 158 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x8A7A879D, W08, W08^W12) |
| 159 | W08 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W08, W15, W05, W11, W02) |
| 160 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x14F50F3B, W09, W09^W13) |
| 161 | W09 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W09, W00, W06, W12, W03) |
| 162 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x29EA1E76, W10, W10^W14) |
| 163 | W10 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W10, W01, W07, W13, W04) |
| 164 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x53D43CEC, W11, W11^W15) |
| 165 | W11 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W11, W02, W08, W14, W05) |
| 166 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0xA7A879D8, W12, W12^W00) |
| 167 | W12 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W12, W03, W09, W15, W06) |
| 168 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x4F50F3B1, W13, W13^W01) |
| 169 | W13 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W13, W04, W10, W00, W07) |
| 170 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x9EA1E762, W14, W14^W02) |
| 171 | W14 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W14, W05, W11, W01, W08) |
| 172 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x3D43CEC5, W15, W15^W03) |
| 173 | W15 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W15, W06, W12, W02, W09) |
| 174 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x7A879D8A, W00, W00^W04) |
| 175 | W00 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W00, W07, W13, W03, W10) |
| 176 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0xF50F3B14, W01, W01^W05) |
| 177 | W01 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W01, W08, W14, W04, W11) |
| 178 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0xEA1E7629, W02, W02^W06) |
| 179 | W02 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W02, W09, W15, W05, W12) |
| 180 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xD43CEC53, W03, W03^W07) |
| 181 | W03 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W03, W10, W00, W06, W13) |
| 182 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0xA879D8A7, W04, W04^W08) |
| 183 | W04 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W04, W11, W01, W07, W14) |
| 184 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x50F3B14F, W05, W05^W09) |
| 185 | W05 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W05, W12, W02, W08, W15) |
| 186 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0xA1E7629E, W06, W06^W10) |
| 187 | W06 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W06, W13, W03, W09, W00) |
| 188 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x43CEC53D, W07, W07^W11) |
| 189 | W07 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W07, W14, W04, W10, W01) |
| 190 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x879D8A7A, W08, W08^W12) |
| 191 | W08 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W08, W15, W05, W11, W02) |
| 192 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x0F3B14F5, W09, W09^W13) |
| 193 | W09 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W09, W00, W06, W12, W03) |
| 194 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x1E7629EA, W10, W10^W14) |
| 195 | W10 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W10, W01, W07, W13, W04) |
| 196 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x3CEC53D4, W11, W11^W15) |
| 197 | W11 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W11, W02, W08, W14, W05) |
| 198 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x79D8A7A8, W12, W12^W00) |
| 199 | W12 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W12, W03, W09, W15, W06) |
| 200 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0xF3B14F50, W13, W13^W01) |
| 201 | W13 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W13, W04, W10, W00, W07) |
| 202 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0xE7629EA1, W14, W14^W02) |
| 203 | W14 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W14, W05, W11, W01, W08) |
| 204 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xCEC53D43, W15, W15^W03) |
| 205 | W15 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W15, W06, W12, W02, W09) |
| 206 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x9D8A7A87, W00, W00^W04) |
| 207 | W00 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W00, W07, W13, W03, W10) |
| 208 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x3B14F50F, W01, W01^W05) |
| 209 | W01 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W01, W08, W14, W04, W11) |
| 210 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x7629EA1E, W02, W02^W06) |
| 211 | W02 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W02, W09, W15, W05, W12) |
| 212 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xEC53D43C, W03, W03^W07) |
| 213 | W03 = sm3escip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/sm3e().(W03, W10, W00, W06, W13) |
| 214 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0xD8A7A879, W04, W04^W08) |
| 215 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0xB14F50F3, W05, W05^W09) |
| 216 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x629EA1E7, W06, W06^W10) |
| 217 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0xC53D43CE, W07, W07^W11) |
| 218 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0x8A7A879D, W08, W08^W12) |
| 219 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x14F50F3B, W09, W09^W13) |
| 220 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x29EA1E76, W10, W10^W14) |
| 221 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x53D43CEC, W11, W11^W15) |
| 222 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(A, &B, C, &D, E, &F, G, &H, 0xA7A879D8, W12, W12^W00) |
| 223 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(D, &A, B, &C, H, &E, F, &G, 0x4F50F3B1, W13, W13^W01) |
| 224 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(C, &D, A, &B, G, &H, E, &F, 0x9EA1E762, W14, W14^W02) |
| 225 | r2scip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/r2().(B, &C, D, &A, F, &G, H, &E, 0x3D43CEC5, W15, W15^W03) |
| 226 | |
| 227 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[0] ^= A |
| 228 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[1] ^= B |
| 229 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[2] ^= C |
| 230 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[3] ^= D |
| 231 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[4] ^= E |
| 232 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[5] ^= F |
| 233 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[6] ^= G |
| 234 | d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[7] ^= H |
| 235 | |
| 236 | A = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[0] |
| 237 | B = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[1] |
| 238 | C = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[2] |
| 239 | D = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[3] |
| 240 | E = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[4] |
| 241 | F = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[5] |
| 242 | G = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[6] |
| 243 | H = d.hscip-go gomod github.com/henrydcase/nobs . `github.com/henrydcase/nobs/hash/sm3`/digest#h.[7] |
| 244 | } |
| 245 | } |