Searched defs:plainLen (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCipherTextStealing.java78 * <code>plainLen</code> is a multiple of the embedded cipher's block size,
83 * @param plainLen the length of the input data
87 void encryptFinal(byte[] plain, int plainOffset, int plainLen, argument
91 if (plainLen < blockSize) {
93 } else if (plainLen == blockSize) {
94 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
97 int nLeft = plainLen % blockSize;
99 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
101 int lastBlkIndex = cipherOffset + plainLen - blockSize;
110 int newPlainLen = plainLen
[all...]
H A DCipherBlockChaining.java130 * <code>plainLen</code> is a multiple of the embedded cipher's block size,
135 * @param plainLen the length of the input data
139 void encrypt(byte[] plain, int plainOffset, int plainLen, argument
143 int endIndex = plainOffset + plainLen;
H A DCipherFeedback.java141 * <code>plainLen</code> is a multiple of the stream unit size
150 * @param plainLen the length of the input data
154 void encrypt(byte[] plain, int plainOffset, int plainLen, argument
159 int loopCount = plainLen / numBytes;
160 int oddBytes = plainLen % numBytes;
H A DOutputFeedback.java140 * <code>plainLen</code> is a multiple of the stream unit size
149 * @param plainLen the length of the input data
153 void encrypt(byte[] plain, int plainOffset, int plainLen, argument
158 int loopCount = plainLen / numBytes;
159 int oddBytes = plainLen % numBytes;
H A DPCBC.java126 * <code>plainLen</code> is a multiple of the embedded cipher's block size,
135 * @param plainLen the length of the input data
139 void encrypt(byte[] plain, int plainOffset, int plainLen, argument
143 int endIndex = plainOffset + plainLen;
H A DFeedbackCipher.java124 * and ending at <code>(plainOffset+plainLen-1)</code>, is encrypted.
133 * @param plainLen the length of the input data
137 abstract void encrypt(byte[] plain, int plainOffset, int plainLen, argument
150 * @param plainLen the length of the input data
154 void encryptFinal(byte[] plain, int plainOffset, int plainLen, argument
157 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);

Completed in 35 milliseconds