/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | 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++; 39 addPadding( byte[] in, int inOff) argument
|
H A D | ZeroBytePadding.java | 40 int inOff) 42 int added = (in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = (byte) 0; 47 inOff++; 38 addPadding( byte[] in, int inOff) argument
|
H A D | 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++; 48 addPadding( byte[] in, int inOff) argument
|
H A D | 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; 41 addPadding( byte[] in, int inOff) argument
|
H A D | 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; 47 addPadding( byte[] in, int inOff) argument
|
H A D | PKCS7Padding.java | 40 int inOff) 42 byte code = (byte)(in.length - inOff); 44 while (inOff < in.length) 46 in[inOff] = code; 47 inOff++; 38 addPadding( byte[] in, int inOff) argument
|
H A D | BlockCipherPadding.java | 32 * passed to it inside in. i.e. if inOff is zero, indicating the 39 public int addPadding(byte[] in, int inOff); argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/ |
H A D | Wrapper.java | 14 public byte[] wrap(byte[] in, int inOff, int inLen); argument 16 public byte[] unwrap(byte[] in, int inOff, int inLen) argument
|
H A D | 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) argument
|
H A D | 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) argument
|
H A D | 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); argument
|
H A D | 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) argument
|
H A D | 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) argument
|
H A D | 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); 81 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/util/encoders/ |
H A D | Translator.java | 14 public int encode(byte[] in, int inOff, int length, byte[] out, int outOff); argument 22 public int decode(byte[] in, int inOff, int length, byte[] out, int outOff); argument
|
H A D | HexTranslator.java | 26 int inOff, 33 out[outOff + j] = hexTable[(in[inOff] >> 4) & 0x0f]; 34 out[outOff + j + 1] = hexTable[in[inOff] & 0x0f]; 36 inOff++; 53 int inOff, 62 left = in[inOff + i * 2]; 63 right = in[inOff + i * 2 + 1]; 24 encode( byte[] in, int inOff, int length, byte[] out, int outOff) argument 51 decode( byte[] in, int inOff, int length, byte[] out, int outOff) argument
|
H A D | BufferedDecoder.java | 54 int inOff, 69 System.arraycopy(in, inOff, buf, bufOff, gapLen); 76 inOff += gapLen; 81 resultLen += translator.decode(in, inOff, chunkSize, out, outOff); 84 inOff += chunkSize; 89 System.arraycopy(in, inOff, buf, bufOff, len); 52 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
H A D | BufferedEncoder.java | 54 int inOff, 69 System.arraycopy(in, inOff, buf, bufOff, gapLen); 76 inOff += gapLen; 81 resultLen += translator.encode(in, inOff, chunkSize, out, outOff); 84 inOff += chunkSize; 89 System.arraycopy(in, inOff, buf, bufOff, len); 52 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/ |
H A D | GeneralDigest.java | 57 int inOff, 65 update(in[inOff]); 67 inOff++; 76 processWord(in, inOff); 78 inOff += xBuf.length; 88 update(in[inOff]); 90 inOff++; 130 protected abstract void processWord(byte[] in, int inOff); argument 55 update( byte[] in, int inOff, int len) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | CBCBlockCipher.java | 114 * @param inOff offset into the in array the data starts at. 124 int inOff, 129 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 147 * @param inOff offset into the in array the data starts at. 157 int inOff, 162 if ((inOff + blockSize) > in.length) 173 cbcV[i] ^= in[inOff + i]; 190 * @param inOff offset into the in array the data starts at. 200 int inOff, 122 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 155 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 198 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | CFBBlockCipher.java | 126 * @param inOff offset into the in array the data starts at. 136 int inOff, 141 return (encrypting) ? encryptBlock(in, inOff, out, outOff) : decryptBlock(in, inOff, out, outOff); 148 * @param inOff offset into the in array the data starts at. 158 int inOff, 163 if ((inOff + blockSize) > in.length) 180 out[outOff + i] = (byte)(cfbOutV[i] ^ in[inOff + i]); 196 * @param inOff offset into the in array the data starts at. 206 int inOff, 134 processBlock( byte[] in, int inOff, byte[] out, int outOff) argument 156 encryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument 204 decryptBlock( byte[] in, int inOff, byte[] out, int outOff) argument [all...] |
H A D | PaddedBlockCipher.java | 115 * @param inOff the offset at which the input data starts. 124 int inOff, 151 System.arraycopy(in, inOff, buf, bufOff, gapLen); 157 inOff += gapLen; 161 resultLen += cipher.processBlock(in, inOff, out, outOff + resultLen); 164 inOff += blockSize; 168 System.arraycopy(in, inOff, buf, bufOff, len); 122 processBytes( byte[] in, int inOff, int len, byte[] out, int outOff) argument
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/ |
H A D | NullEngine.java | 51 public int processBlock(byte[] in, int inOff, byte[] out, int outOff) argument 54 if ((inOff + BLOCK_SIZE) > in.length) 66 out[outOff + i] = in[inOff + i];
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/ |
H A D | BlockCipherMac.java | 96 int inOff, 110 System.arraycopy(in, inOff, buf, bufOff, gapLen); 116 inOff += gapLen; 120 resultLen += cipher.processBlock(in, inOff, mac, 0); 123 inOff += blockSize; 127 System.arraycopy(in, inOff, buf, bufOff, len); 94 update( byte[] in, int inOff, int len) argument
|
H A D | CBCBlockCipherMac.java | 139 int inOff, 153 System.arraycopy(in, inOff, buf, bufOff, gapLen); 159 inOff += gapLen; 163 resultLen += cipher.processBlock(in, inOff, mac, 0); 166 inOff += blockSize; 170 System.arraycopy(in, inOff, buf, bufOff, len); 137 update( byte[] in, int inOff, int len) argument
|