MCPcopy Create free account
hub / github.com/f0ng/autoDecoder / ROTL

Method ROTL

src/com/autoDecoder/util/SM4.java:32–34  ·  view source on GitHub ↗
(long x, int n)

Source from the content-addressed store, hash-verified

30 }
31
32 private long ROTL(long x, int n) {
33 return SHL(x, n) | x >> (32 - n);
34 }
35
36 private void SWAP(long[] sk, int i) {
37 long t = sk[i];

Callers 2

sm4LtMethod · 0.95
sm4CalciRKMethod · 0.95

Calls 1

SHLMethod · 0.95

Tested by

no test coverage detected