|
@@ -195,7 +195,8 @@ 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, input.length - p);
|
|
|
+ System.arraycopy(input, 0, ret, 0, p);
|
|
|
}
|
|
|
return ret;
|
|
|
}
|