Removal of Encryption method synchronizations.

This commit is contained in:
MobiusDevelopment
2022-12-02 06:10:14 +00:00
parent 4ab90ca2df
commit 2980742da0
31 changed files with 992 additions and 1178 deletions

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[2] = (byte) ((old >> 16) & 0xff); _outKey[2] = (byte) ((old >> 16) & 0xff);
_outKey[3] = (byte) ((old >> 24) & 0xff); _outKey[3] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[3] = (byte) ((old >> 24) & 0xff); _inKey[3] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}

View File

@@ -42,8 +42,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_outKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -63,7 +61,6 @@ public class Encryption implements EncryptionInterface
_outKey[10] = (byte) ((old >> 16) & 0xff); _outKey[10] = (byte) ((old >> 16) & 0xff);
_outKey[11] = (byte) ((old >> 24) & 0xff); _outKey[11] = (byte) ((old >> 24) & 0xff);
} }
}
@Override @Override
public void decrypt(byte[] data, int offset, int size) public void decrypt(byte[] data, int offset, int size)
@@ -73,8 +70,6 @@ public class Encryption implements EncryptionInterface
return; return;
} }
synchronized (_inKey)
{
int a = 0; int a = 0;
for (int i = 0; i < size; i++) for (int i = 0; i < size; i++)
{ {
@@ -95,4 +90,3 @@ public class Encryption implements EncryptionInterface
_inKey[11] = (byte) ((old >> 24) & 0xff); _inKey[11] = (byte) ((old >> 24) & 0xff);
} }
} }
}