(byte[] b, int i)
| 14 | public static final int SM4_DECRYPT = 0; |
| 15 | |
| 16 | private long GET_ULONG_BE(byte[] b, int i) { |
| 17 | long n = (long) (b[i] & 0xff) << 24 | (long) ((b[i + 1] & 0xff) << 16) | (long) ((b[i + 2] & 0xff) << 8) | (long) (b[i + 3] & 0xff) & 0xffffffffL; |
| 18 | return n; |
| 19 | } |
| 20 | |
| 21 | private void PUT_ULONG_BE(long n, byte[] b, int i) { |
| 22 | b[i] = (byte) (int) (0xFF & n >> 24); |
no outgoing calls
no test coverage detected