/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
H A D | DESede.java | 84 public void transformBlock(byte[] in, int inOff, byte[] out, int outOff) argument 93 desFunc(key1, in, inOff, out, outOff); 94 desFunc(key2, out, outOff, out, outOff); 95 desFunc(key3, out, outOff, out, outOff); 99 desFunc(key3, in, inOff, out, outOff); 100 desFunc(key2, out, outOff, out, outOff); 101 desFunc(key1, out, outOff, ou [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
H A D | SHA384Digest.java | 51 int outOff) 55 Pack.longToBigEndian(H1, out, outOff); 56 Pack.longToBigEndian(H2, out, outOff + 8); 57 Pack.longToBigEndian(H3, out, outOff + 16); 58 Pack.longToBigEndian(H4, out, outOff + 24); 59 Pack.longToBigEndian(H5, out, outOff + 32); 60 Pack.longToBigEndian(H6, out, outOff + 40); 49 doFinal( byte[] out, int outOff) argument
|
H A D | SHA512Digest.java | 50 int outOff) 54 Pack.longToBigEndian(H1, out, outOff); 55 Pack.longToBigEndian(H2, out, outOff + 8); 56 Pack.longToBigEndian(H3, out, outOff + 16); 57 Pack.longToBigEndian(H4, out, outOff + 24); 58 Pack.longToBigEndian(H5, out, outOff + 32); 59 Pack.longToBigEndian(H6, out, outOff + 40); 60 Pack.longToBigEndian(H7, out, outOff + 48); 61 Pack.longToBigEndian(H8, out, outOff + 56); 48 doFinal( byte[] out, int outOff) argument
|
H A D | NullDigest.java | 33 public int doFinal(byte[] out, int outOff) argument 37 System.arraycopy(res, 0, out, outOff, res.length);
|
H A D | SHA256Digest.java | 100 int outOff) 104 Pack.intToBigEndian(H1, out, outOff); 105 Pack.intToBigEndian(H2, out, outOff + 4); 106 Pack.intToBigEndian(H3, out, outOff + 8); 107 Pack.intToBigEndian(H4, out, outOff + 12); 108 Pack.intToBigEndian(H5, out, outOff + 16); 109 Pack.intToBigEndian(H6, out, outOff + 20); 110 Pack.intToBigEndian(H7, out, outOff + 24); 111 Pack.intToBigEndian(H8, out, outOff + 28); 98 doFinal( byte[] out, int outOff) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
H A D | BlockCipher.java | 42 * @param outOff the offset into the out array the output will start at. 48 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument
|
H A D | DerivationFunction.java | 15 public int generateBytes(byte[] out, int outOff, int len) argument
|
H A D | Digest.java | 43 * @param outOff the offset into the out array the digest is to start at. 45 public int doFinal(byte[] out, int outOff); argument
|
H A D | StreamBlockCipher.java | 78 * @param outOff the offset into the output byte array the processed data stars at. 86 int outOff) 89 if (outOff + len > out.length) 96 cipher.processBlock(in, inOff + i, out, outOff + i); 81 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
H A D | Mac.java | 59 * @param outOff the offset into the out buffer the output is to start at. 63 public int doFinal(byte[] out, int outOff) argument
|
H A D | StreamCipher.java | 42 * @param outOff the offset into the output byte array the processed data starts at. 45 public void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
H A D | BufferedBlockCipher.java | 148 * @param outOff the offset from which the output will be copied. 156 int outOff) 165 resultLen = cipher.processBlock(buf, 0, out, outOff); 179 * @param outOff the offset from which the output will be copied. 189 int outOff) 202 if ((outOff + length) > out.length) 215 resultLen += cipher.processBlock(buf, 0, out, outOff); 223 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); 236 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); 247 * @param outOff th 153 processByte( byte in, byte[] out, int outOff) argument 184 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument 257 doFinal( byte[] out, int outOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | CTSBlockCipher.java | 79 * @param outOff the offset from which the output will be copied. 87 int outOff) 94 resultLen = cipher.processBlock(buf, 0, out, outOff); 112 * @param outOff the offset from which the output will be copied. 122 int outOff) 135 if ((outOff + length) > out.length) 148 resultLen += cipher.processBlock(buf, 0, out, outOff); 159 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); 178 * @param outOff the offset at which the copying starts. 189 int outOff) 84 processByte( byte in, byte[] out, int outOff) argument 117 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument 187 doFinal( byte[] out, int outOff) argument [all...] |
H A D | CBCBlockCipher.java | 135 * @param outOff the offset into the out array the output will start at. 145 int outOff) 148 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 169 * @param outOff the offset into the out array the output will start at. 179 int outOff) 196 int length = cipher.processBlock(cbcV, 0, out, outOff); 201 System.arraycopy(out, outOff, cbcV, 0, cbcV.length); 212 * @param outOff the offset into the out array the output will start at. 222 int outOff) 141 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 175 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 218 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | AEADBlockCipher.java | 61 * @param outOff the offset into the output byte array the processed data starts at. 65 public int processByte(byte in, byte[] out, int outOff) argument 75 * @param outOff the offset into the output byte array the processed data starts at. 79 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument 86 * @param outOff offset into out to start copying the data at. 91 public int doFinal(byte[] out, int outOff) argument
|
H A D | CCMBlockCipher.java | 108 public int processByte(byte in, byte[] out, int outOff) argument 116 public int processBytes(byte[] in, int inOff, int inLen, byte[] out, int outOff) argument 124 public int doFinal(byte[] out, int outOff) argument 130 System.arraycopy(enc, 0, out, outOff, enc.length); 199 int outOff = 0; 209 ctrCipher.processBlock(in, index, out, outOff); 210 outOff += blockSize; 220 System.arraycopy(block, 0, out, outOff, inLen - index); 222 outOff += inLen - index; 224 System.arraycopy(macBlock, 0, out, outOff, ou [all...] |
H A D | CFBBlockCipher.java | 136 * @param outOff the offset into the out array the output will start at. 146 int outOff) 149 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 158 * @param outOff the offset into the out array the output will start at. 168 int outOff) 176 if ((outOff + blockSize) > out.length) 188 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]); 195 System.arraycopy(out, outOff, cfbV, cfbV.length - blockSize, blockSize); 206 * @param outOff th 142 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 164 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 212 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | SICBlockCipher.java | 85 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument 95 out[outOff + i] = (byte)(counterOut[i] ^ in[inOff + i]);
|
H A D | OFBBlockCipher.java | 134 * @param outOff the offset into the out array the output will start at. 144 int outOff) 152 if ((outOff + blockSize) > out.length) 165 out[outOff + i] = (byte)(ofbOutV[i] ^ in[inOff + i]); 140 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
|
H A D | GCMBlockCipher.java | 259 public int processByte(byte in, byte[] out, int outOff) argument 265 outputBlock(out, outOff); 271 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) argument 281 outputBlock(out, outOff + resultLen); 307 public int doFinal(byte[] out, int outOff) argument 327 gCTRPartial(bufBlock, 0, extra, out, outOff); 394 System.arraycopy(macBlock, 0, out, outOff + bufOff, macSize); 450 private void gCTRBlock(byte[] block, byte[] out, int outOff) argument 455 System.arraycopy(tmp, 0, out, outOff, BLOCK_SIZE); 462 private void gCTRPartial(byte[] buf, int off, int len, byte[] out, int outOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | PaddedBufferedBlockCipher.java | 139 * @param outOff the offset from which the output will be copied. 147 int outOff) 154 resultLen = cipher.processBlock(buf, 0, out, outOff); 170 * @param outOff the offset from which the output will be copied. 180 int outOff) 193 if ((outOff + length) > out.length) 206 resultLen += cipher.processBlock(buf, 0, out, outOff); 214 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); 234 * @param outOff the offset at which the copying starts. 244 int outOff) 144 processByte( byte in, byte[] out, int outOff) argument 175 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument 242 doFinal( byte[] out, int outOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | RC2Engine.java | 163 int outOff) 175 if ((outOff + BLOCK_SIZE) > out.length) 182 encryptBlock(in, inOff, out, outOff); 186 decryptBlock(in, inOff, out, outOff); 207 int outOff) 250 out[outOff + 0] = (byte)x10; 251 out[outOff + 1] = (byte)(x10 >> 8); 252 out[outOff + 2] = (byte)x32; 253 out[outOff + 3] = (byte)(x32 >> 8); 254 out[outOff 159 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 203 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 260 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | DESedeEngine.java | 91 int outOff) 103 if ((outOff + BLOCK_SIZE) > out.length) 116 desFunc(workingKey3, temp, 0, out, outOff); 122 desFunc(workingKey1, temp, 0, out, outOff); 87 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
|
H A D | RC4Engine.java | 75 int outOff) 82 if ((outOff + len) > out.length) 98 out[i+outOff] = (byte)(in[i + inOff] 70 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
H A D | PKCS5S2ParametersGenerator.java | 48 int outOff) 64 System.arraycopy(state, 0, out, outOff, state.length); 79 out[outOff + j] ^= state[j]; 42 F( byte[] P, byte[] S, int c, byte[] iBuf, byte[] out, int outOff) argument
|