/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | CipherBlockChaining.java | 127 * <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 D | FeedbackCipher.java | 126 * <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 D | SymmetricCipher.java | 77 * <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 D | PCBC.java | 123 * <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 D | CipherFeedback.java | 138 * <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 D | CipherTextStealing.java | 75 * <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 D | OutputFeedback.java | 137 * <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 D | DESedeCrypt.java | 106 * <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 D | BlowfishCrypt.java | 126 * <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 D | DESCrypt.java | 548 * <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...] |