forked from I2P_Developers/i2p.i2p
more notes on testing
This commit is contained in:
@@ -72,7 +72,9 @@ public final class ChaCha20 {
|
|||||||
byte[] plaintext, int plaintextOffset,
|
byte[] plaintext, int plaintextOffset,
|
||||||
byte[] ciphertext, int ciphertextOffset, int length) {
|
byte[] ciphertext, int ciphertextOffset, int length) {
|
||||||
/*
|
/*
|
||||||
if (USE_SYSTEM_CHACHA && !_systemFailed && length >= MIN_LEN_FOR_SYSTEM) {
|
//if (USE_SYSTEM_CHACHA && !_systemFailed && length >= MIN_LEN_FOR_SYSTEM) {
|
||||||
|
// testing
|
||||||
|
if (USE_SYSTEM_CHACHA && !_systemFailed) {
|
||||||
try {
|
try {
|
||||||
if (ivOffset != 0 || iv.length != 12) {
|
if (ivOffset != 0 || iv.length != 12) {
|
||||||
byte[] niv = new byte[12];
|
byte[] niv = new byte[12];
|
||||||
|
Reference in New Issue
Block a user