/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
H A D | DerivationFunction.java | 10 public int generateBytes(byte[] out, int outOff, int len) argument
|
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 | 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 | 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 | 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 | 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/digests/ |
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 | 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 | 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); 61 Pack.longToBigEndian(H7, out, outOff + 48); 62 Pack.longToBigEndian(H8, out, outOff + 56); 49 doFinal( byte[] out, int outOff) argument
|
H A D | OpenSSLDigest.java | 66 public int doFinal(byte[] out, int outOff) { argument 68 return delegate.digest(out, outOff, out.length - outOff);
|
H A D | SHA1Digest.java | 95 int outOff) 99 Pack.intToBigEndian(H1, out, outOff); 100 Pack.intToBigEndian(H2, out, outOff + 4); 101 Pack.intToBigEndian(H3, out, outOff + 8); 102 Pack.intToBigEndian(H4, out, outOff + 12); 103 Pack.intToBigEndian(H5, out, outOff + 16); 93 doFinal( byte[] out, int outOff) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
H A D | PKCS5S2ParametersGenerator.java | 49 int outOff) 64 System.arraycopy(state, 0, out, outOff, state.length); 73 out[outOff + j] ^= state[j]; 44 F( byte[] S, int c, byte[] iBuf, byte[] out, int outOff) argument
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | CTSBlockCipher.java | 80 * @param outOff the offset from which the output will be copied. 88 int outOff) 95 resultLen = cipher.processBlock(buf, 0, out, outOff); 113 * @param outOff the offset from which the output will be copied. 123 int outOff) 136 if ((outOff + length) > out.length) 149 resultLen += cipher.processBlock(buf, 0, out, outOff); 160 resultLen += cipher.processBlock(buf, 0, out, outOff + resultLen); 179 * @param outOff the offset at which the copying starts. 190 int outOff) 85 processByte( byte in, byte[] out, int outOff) argument 118 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument 188 doFinal( 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 | 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 | CFBBlockCipher.java | 137 * @param outOff the offset into the out array the output will start at. 147 int outOff) 150 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 159 * @param outOff the offset into the out array the output will start at. 169 int outOff) 177 if ((outOff + blockSize) > out.length) 189 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]); 196 System.arraycopy(out, outOff, cfbV, cfbV.length - blockSize, blockSize); 207 * @param outOff th 143 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 165 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 213 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
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 | 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]);
|
/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 | DESedeEngine.java | 89 int outOff) 101 if ((outOff + BLOCK_SIZE) > out.length) 112 desFunc(workingKey3, temp, 0, out, outOff); 118 desFunc(workingKey1, temp, 0, out, outOff); 85 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument
|
H A D | RC2Engine.java | 164 int outOff) 176 if ((outOff + BLOCK_SIZE) > out.length) 183 encryptBlock(in, inOff, out, outOff); 187 decryptBlock(in, inOff, out, outOff); 208 int outOff) 251 out[outOff + 0] = (byte)x10; 252 out[outOff + 1] = (byte)(x10 >> 8); 253 out[outOff + 2] = (byte)x32; 254 out[outOff + 3] = (byte)(x32 >> 8); 255 out[outOff 160 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 204 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 261 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | RC4Engine.java | 76 int outOff) 83 if ((outOff + len) > out.length) 99 out[i+outOff] = (byte)(in[i + inOff] 71 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
H A D | DESEngine.java | 68 int outOff) 80 if ((outOff + BLOCK_SIZE) > out.length) 85 desFunc(workingKey, in, inOff, out, outOff); 406 int outOff) 486 out[outOff + 0] = (byte)((right >>> 24) & 0xff); 487 out[outOff + 1] = (byte)((right >>> 16) & 0xff); 488 out[outOff + 2] = (byte)((right >>> 8) & 0xff); 489 out[outOff + 3] = (byte)(right & 0xff); 490 out[outOff + 4] = (byte)((left >>> 24) & 0xff); 491 out[outOff 64 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 401 desFunc( int[] wKey, byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
H A D | CBCBlockCipherMac.java | 174 int outOff) 202 System.arraycopy(mac, 0, out, outOff, macSize); 172 doFinal( byte[] out, int outOff) argument
|