/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
ISO7816d4Padding.java | 41 int inOff) 43 int added = (in.length - inOff); 45 in [inOff]= (byte) 0x80; 46 inOff ++; 48 while (inOff < in.length) 50 in[inOff] = (byte) 0; 51 inOff++;
|
ZeroBytePadding.java | 40 int inOff) 42 int added = (in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = (byte) 0; 47 inOff++;
|
TBCPadding.java | 43 * passed to it inside in. i.e. if inOff is zero, indicating the 50 int inOff) 52 int count = in.length - inOff; 55 if (inOff > 0) 57 code = (byte)((in[inOff - 1] & 0x01) == 0 ? 0xff : 0x00); 64 while (inOff < in.length) 66 in[inOff] = code; 67 inOff++;
|
X923Padding.java | 43 int inOff) 45 byte code = (byte)(in.length - inOff); 47 while (inOff < in.length - 1) 51 in[inOff] = 0; 55 in[inOff] = (byte)random.nextInt(); 57 inOff++; 60 in[inOff] = code;
|
ISO10126d2Padding.java | 49 int inOff) 51 byte code = (byte)(in.length - inOff); 53 while (inOff < (in.length - 1)) 55 in[inOff] = (byte)random.nextInt(); 56 inOff++; 59 in[inOff] = code;
|
PKCS7Padding.java | 40 int inOff) 42 byte code = (byte)(in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = code; 47 inOff++;
|
BlockCipherPadding.java | 32 * passed to it inside in. i.e. if inOff is zero, indicating the 39 public int addPadding(byte[] in, int inOff);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Wrapper.java | 14 public byte[] wrap(byte[] in, int inOff, int inLen); 16 public byte[] unwrap(byte[] in, int inOff, int inLen)
|
AsymmetricBlockCipher.java | 34 * process the block of len bytes stored in in from offset inOff. 37 * @param inOff offset into the in array where the data starts 43 public byte[] processBlock(byte[] in, int inOff, int len)
|
BlockCipher.java | 40 * @param inOff offset into the in array the data starts at. 48 public int processBlock(byte[] in, int inOff, byte[] out, int outOff)
|
Digest.java | 33 * @param inOff the offset into the byte array where the data starts. 36 public void update(byte[] in, int inOff, int len);
|
Mac.java | 44 * @param inOff the index in the array the data begins at. 45 * @param len the length of the input starting at inOff. 49 public void update(byte[] in, int inOff, int len)
|
StreamCipher.java | 39 * @param inOff the offset into the in array where the data to be processed starts. 45 public void processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
|
StreamBlockCipher.java | 75 * @param inOff the offset into the in array where the data to be processed starts. 83 int inOff, 96 cipher.processBlock(in, inOff + i, out, outOff + i);
|
BufferedBlockCipher.java | 176 * @param inOff the offset at which the input data starts. 186 int inOff, 213 System.arraycopy(in, inOff, buf, bufOff, gapLen); 219 inOff += gapLen; 223 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); 226 inOff += blockSize; 230 System.arraycopy(in, inOff, buf, bufOff, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
GeneralDigest.java | 64 int inOff, 72 update(in[inOff]); 74 inOff++; 83 processWord(in, inOff); 85 inOff += xBuf.length; 95 update(in[inOff]); 97 inOff++; 137 protected abstract void processWord(byte[] in, int inOff);
|
NullDigest.java | 28 public void update(byte[] in, int inOff, int len) 30 bOut.write(in, inOff, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
CBCBlockCipher.java | 133 * @param inOff offset into the in array the data starts at. 143 int inOff, 148 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 167 * @param inOff offset into the in array the data starts at. 177 int inOff, 182 if ((inOff + blockSize) > in.length) 193 cbcV[i] ^= in[inOff + i]; 210 * @param inOff offset into the in array the data starts at. 220 int inOff, [all...] |
CFBBlockCipher.java | 134 * @param inOff offset into the in array the data starts at. 144 int inOff, 149 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 156 * @param inOff offset into the in array the data starts at. 166 int inOff, 171 if ((inOff + blockSize) > in.length) 188 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]); 204 * @param inOff offset into the in array the data starts at. 214 int inOff, [all...] |
AEADBlockCipher.java | 51 * @param inOff the offset into the in array where the data to be processed starts. 54 public void processAADBytes(byte[] in, int inOff, int len); 72 * @param inOff the offset into the in array where the data to be processed starts. 79 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/ |
CBCBlockCipherMac.java | 137 int inOff, 150 System.arraycopy(in, inOff, buf, bufOff, gapLen); 156 inOff += gapLen; 160 cipher.processBlock(in, inOff, mac, 0); 163 inOff += blockSize; 167 System.arraycopy(in, inOff, buf, bufOff, len);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RC2Engine.java | 162 int inOff, 171 if ((inOff + BLOCK_SIZE) > in.length) 183 encryptBlock(in, inOff, out, outOff); 187 decryptBlock(in, inOff, out, outOff); 206 int inOff, 212 x76 = ((in[inOff + 7] & 0xff) << 8) + (in[inOff + 6] & 0xff); 213 x54 = ((in[inOff + 5] & 0xff) << 8) + (in[inOff + 4] & 0xff); 214 x32 = ((in[inOff + 3] & 0xff) << 8) + (in[inOff + 2] & 0xff) [all...] |
DESedeEngine.java | 87 int inOff, 96 if ((inOff + BLOCK_SIZE) > in.length) 110 desFunc(workingKey1, in, inOff, temp, 0); 116 desFunc(workingKey3, in, inOff, temp, 0);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/cipher/ |
DESede.java | 84 public void transformBlock(byte[] in, int inOff, byte[] out, int outOff) 93 desFunc(key1, in, inOff, out, outOff); 99 desFunc(key3, in, inOff, out, outOff);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
PKCS1Encoding.java | 126 int inOff, 132 return encodeBlock(in, inOff, inLen); 136 return decodeBlock(in, inOff, inLen); 142 int inOff, 182 System.arraycopy(in, inOff, block, block.length - inLen, inLen); 192 int inOff, 196 byte[] block = engine.processBlock(in, inOff, inLen);
|