Lines Matching refs:plain
71 * <p>The input plain text <code>plain</code>, starting at
81 * @param plain the buffer with the input data to be encrypted
82 * @param plainOffset the offset in <code>plain</code>
87 void encryptFinal(byte[] plain, int plainOffset, int plainLen,
94 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
99 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
112 encrypt(plain, plainOffset, newPlainLen, cipher,
123 tmp[i] = (byte) (plain[plainOffset+i] ^ r[i]);
132 (plain[plainOffset+blockSize+i] ^ tmp2[i]);
145 * The result is stored in <code>plain</code>, starting at
159 * @param plain the buffer for the result
160 * @param plainOffset the offset in <code>plain</code>
163 byte[] plain, int plainOffset)
168 decrypt(cipher, cipherOffset, cipherLen, plain, plainOffset);
182 decrypt(cipher, cipherOffset, cipherLen2, plain, plainOffset);
183 decrypt(tmp, 0, 2*blockSize, plain, plainOffset+cipherLen2);
187 decrypt(cipher, cipherOffset, newCipherLen, plain,
199 plain[plainOffset+blockSize+i] =
206 embeddedCipher.decryptBlock(tmp, 0, plain, plainOffset);
209 plain[plainOffset+i] = (byte)
210 (plain[plainOffset+i]^r[i]);