Searched refs:cipherOffset (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DCipherBlockChaining.java127 * <code>cipherOffset</code>.
137 * @param cipherOffset the offset in <code>cipher</code>
140 byte[] cipher, int cipherOffset)
146 plainOffset+=blockSize, cipherOffset += blockSize) {
150 embeddedCipher.encryptBlock(k, 0, cipher, cipherOffset);
151 System.arraycopy(cipher, cipherOffset, r, 0, blockSize);
159 * <code>cipherOffset</code> and ending at
160 * <code>(cipherOffset + len - 1)</code>, is decrypted.
173 * @param cipherOffset the offset in <code>cipherOffset</cod
139 encrypt(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
182 decrypt(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DFeedbackCipher.java126 * <code>cipherOffset</code>.
135 * @param cipherOffset the offset in <code>cipher</code>
138 byte[] cipher, int cipherOffset);
152 * @param cipherOffset the offset in <code>cipher</code>
155 byte[] cipher, int cipherOffset)
157 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
162 * <p>The input <code>cipher</code>, starting at <code>cipherOffset</code>
163 * and ending at <code>(cipherOffset+cipherLen-1)</code>, is decrypted.
171 * @param cipherOffset the offset in <code>cipher</code>
176 abstract void decrypt(byte[] cipher, int cipherOffset, in argument
137 encrypt(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
154 encryptFinal(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
194 decryptFinal(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DSymmetricCipher.java77 * <code>cipherOffset</code>.
82 * @param cipherOffset the offset in <code>cipher</code>
85 byte[] cipher, int cipherOffset);
90 * <p>The input <code>cipher</code>, starting at <code>cipherOffset</code>
91 * and ending at <code>(cipherOffset+blockSize-1)</code>, is decrypted.
96 * @param cipherOffset the offset in <code>cipher</code>
100 abstract void decryptBlock(byte[] cipher, int cipherOffset, argument
84 encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) argument
H A DPCBC.java123 * <code>cipherOffset</code>.
137 * @param cipherOffset the offset in <code>cipher</code>
140 byte[] cipher, int cipherOffset)
146 plainOffset += blockSize, cipherOffset += blockSize) {
150 embeddedCipher.encryptBlock(k, 0, cipher, cipherOffset);
152 k[i] = (byte)(plain[i+plainOffset] ^ cipher[i+cipherOffset]);
161 * <code>cipherOffset</code> and ending at
162 * <code>(cipherOffset + len - 1)</code>, is decrypted.
175 * @param cipherOffset the offset in <code>cipherOffset</cod
139 encrypt(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
180 decrypt(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DCipherFeedback.java138 * <code>cipherOffset</code>.
152 * @param cipherOffset the offset in <code>cipher</code>
155 byte[] cipher, int cipherOffset)
164 plainOffset += numBytes, cipherOffset += numBytes,
168 register[i] = cipher[i+cipherOffset] =
174 register[i] = cipher[i+cipherOffset] =
179 plainOffset += numBytes, cipherOffset += numBytes,
184 register[i+len] = cipher[i+cipherOffset] =
192 register[i+len] = cipher[i+cipherOffset] =
203 * <code>cipherOffset</cod
154 encrypt(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
222 decrypt(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DCipherTextStealing.java75 * <code>cipherOffset</code>.
85 * @param cipherOffset the offset in <code>cipher</code>
88 byte[] cipher, int cipherOffset)
94 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
99 encrypt(plain, plainOffset, plainLen, cipher, cipherOffset);
101 int lastBlkIndex = cipherOffset + plainLen - blockSize;
113 cipherOffset);
115 cipherOffset += newPlainLen;
128 cipherOffset+blockSize, nLeft);
134 embeddedCipher.encryptBlock(tmp2, 0, cipher, cipherOffset);
87 encryptFinal(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
162 decryptFinal(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DOutputFeedback.java137 * <code>cipherOffset</code>.
151 * @param cipherOffset the offset in <code>cipher</code>
154 byte[] cipher, int cipherOffset)
163 plainOffset += numBytes, cipherOffset += numBytes,
167 cipher[i+cipherOffset] =
174 cipher[i+cipherOffset] =
180 plainOffset += numBytes, cipherOffset += numBytes,
184 cipher[i+cipherOffset] =
192 cipher[i+cipherOffset] =
204 * <code>cipherOffset</cod
153 encrypt(byte[] plain, int plainOffset, int plainLen, byte[] cipher, int cipherOffset) argument
223 decrypt(byte[] cipher, int cipherOffset, int cipherLen, byte[] plain, int plainOffset) argument
[all...]
H A DDESedeCrypt.java106 * <code>cipherOffset</code>.
111 * @param cipherOffset the offset in <code>cipher</code>
114 byte[] cipher, int cipherOffset)
126 cipherBlock(buf2, 0, cipher, cipherOffset);
133 * <code>cipherOffset</code> and ending at
134 * <code>(cipherOffset + blockSize - 1)</code>, is decrypted.
139 * @param cipherOffset the offset in <code>cipherOffset</code>
143 void decryptBlock(byte[] cipher, int cipherOffset, argument
148 cipherBlock(cipher, cipherOffset, buf
113 encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) argument
[all...]
H A DBlowfishCrypt.java126 * <code>cipherOffset</code>.
135 * @param cipherOffset the offset in <code>cipher</code>
138 byte[] cipher, int cipherOffset)
140 cipherBlock(plain, plainOffset, cipher, cipherOffset);
147 * <code>cipherOffset</code> and ending at
148 * <code>(cipherOffset + len - 1)</code>, is decrypted.
156 * @param cipherOffset the offset in <code>cipherOffset</code>
161 void decryptBlock(byte[] cipher, int cipherOffset, argument
164 cipherBlock(cipher, cipherOffset, plai
137 encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) argument
[all...]
H A DDESCrypt.java548 * <code>cipherOffset</code>.
557 * @param cipherOffset the offset in <code>cipher</code>
563 byte[] cipher, int cipherOffset)
565 cipherBlock(plain, plainOffset, cipher, cipherOffset);
572 * <code>cipherOffset</code> and ending at
573 * <code>(cipherOffset + len - 1)</code>, is decrypted.
581 * @param cipherOffset the offset in <code>cipherOffset</code>
589 void decryptBlock(byte[] cipher, int cipherOffset, argument
592 cipherBlock(cipher, cipherOffset, plai
562 encryptBlock(byte[] plain, int plainOffset, byte[] cipher, int cipherOffset) argument
[all...]

Completed in 39 milliseconds