|
|
|
@ -1190,7 +1190,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
|
|
|
|
|
int[] outbuf = new int[process_blockLeng/4]; |
|
|
|
|
|
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; ) |
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(pbData, j, newpbszPlainText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszPlainText, process_blockLeng); |
|
|
|
@ -1275,7 +1275,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
byte []pbszPlainText = new byte[nCipherTextLen]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; ) |
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(message, j, newpbszCipherText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszCipherText, process_blockLeng); |
|
|
|
@ -1377,7 +1377,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
outbuf = new int[process_blockLeng/4]; |
|
|
|
|
pbszPlainText = new byte[process_blockLeng]; |
|
|
|
|
|
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; ) |
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(pbData1, j, newpbszPlainText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszPlainText, process_blockLeng); |
|
|
|
@ -1466,7 +1466,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
pbszPlainText = new byte[nCipherTextLen]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; ) |
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(message, j, newpbszCipherText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszCipherText, process_blockLeng); |
|
|
|
@ -1553,7 +1553,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
outbuf = new int[process_blockLeng/4]; |
|
|
|
|
pbszPlainText = new byte[process_blockLeng]; |
|
|
|
|
|
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; ) |
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(pbData2, j, newpbszPlainText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszPlainText, process_blockLeng); |
|
|
|
@ -1641,7 +1641,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
pbszPlainText = new byte[nCipherTextLen]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; ) |
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(message, j, newpbszCipherText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszCipherText, process_blockLeng); |
|
|
|
@ -1730,7 +1730,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
outbuf = new int[process_blockLeng/4]; |
|
|
|
|
pbszPlainText = new byte[process_blockLeng]; |
|
|
|
|
|
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; ) |
|
|
|
|
for(j=0; j<PLAINTEXT_LENGTH-process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(pbData3, j, newpbszPlainText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszPlainText, process_blockLeng); |
|
|
|
@ -1819,7 +1819,7 @@ public class KISA_SEED_CBC {
|
|
|
|
|
pbszPlainText = new byte[nCipherTextLen]; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; ) |
|
|
|
|
for(j=0; j<nCipherTextLen - process_blockLeng; j+= process_blockLeng) |
|
|
|
|
{ |
|
|
|
|
System.arraycopy(message, j, newpbszCipherText, 0, process_blockLeng); |
|
|
|
|
data = chartoint32_for_SEED_CBC(newpbszCipherText, process_blockLeng); |
|
|
|
|