|
@@ -195,8 +195,7 @@ public class SM4
|
|
|
{
|
|
|
int p = input[input.length - 1];
|
|
|
ret = new byte[input.length - p];
|
|
|
- //System.arraycopy(input, 0, ret, 0, input.length - p);
|
|
|
- System.arraycopy(input, 0, ret, 0, p);
|
|
|
+ System.arraycopy(input, 0, ret, 0, input.length - p);
|
|
|
}
|
|
|
return ret;
|
|
|
}
|