HomeSort by relevance Sort by last modified time
    Searched refs:inputLen (Results 1 - 25 of 68) sorted by null

1 2 3

  /libcore/ojluni/src/main/java/javax/crypto/
NullCipherSpi.java 56 protected int engineGetOutputSize(int inputLen) {
57 return inputLen;
80 int inputLen) {
82 byte[] x = new byte[inputLen];
83 System.arraycopy(input, inputOffset, x, 0, inputLen);
88 int inputLen, byte[] output,
91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen);
92 return inputLen;
96 int inputLen)
98 return engineUpdate(input, inputOffset, inputLen);
    [all...]
ExemptionMechanismSpi.java 52 * operation, given the input length <code>inputLen</code> (in bytes).
58 * @param inputLen the input length (in bytes)
62 protected abstract int engineGetOutputSize(int inputLen);
Cipher.java     [all...]
CipherSpi.java 266 * <code>inputLen</code> (in bytes).
275 * @param inputLen the input length (in bytes)
279 protected abstract int engineGetOutputSize(int inputLen);
466 * <p>The first <code>inputLen</code> bytes in the <code>input</code>
473 * @param inputLen the input length
480 int inputLen);
487 * <p>The first <code>inputLen</code> bytes in the <code>input</code>
498 * @param inputLen the input length
509 int inputLen, byte[] output,
562 * <p>The first <code>inputLen</code> bytes in the <code>input</code
    [all...]
ExemptionMechanism.java 272 * operation, given the input length <code>inputLen</code> (in bytes).
278 * @param inputLen the input length (in bytes)
285 public final int getOutputSize(int inputLen) throws IllegalStateException {
290 if (inputLen < 0) {
294 return exmechSpi.engineGetOutputSize(inputLen);
  /external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
MyCipher.java 64 protected int engineGetOutputSize(int inputLen) {
65 return inputLen + 10;
97 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
102 protected int engineUpdate(byte[] input, int inputOffset, int inputLen,
108 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
114 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen,
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
MyCipher.java 67 protected int engineGetOutputSize(int inputLen) {
68 return inputLen + 10;
100 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
105 protected int engineUpdate(byte[] input, int inputOffset, int inputLen,
111 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
117 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen,
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java 50 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
52 return super.engineDoFinal(input, inputOffset, inputLen);
56 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
59 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset);
73 protected int engineGetOutputSize(int inputLen) {
74 return super.engineGetOutputSize(inputLen);
111 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
112 return super.engineUpdate(input, inputOffset, inputLen);
116 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
118 return super.engineUpdate(input, inputOffset, inputLen, output, outputOffset)
    [all...]
ExemptionMechanismSpiTest.java 61 protected int engineGetOutputSize(int inputLen) {
62 return super.engineGetOutputSize(inputLen);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
BaseStreamCipher.java 93 int inputLen)
95 return inputLen;
328 int inputLen)
330 byte[] out = new byte[inputLen];
332 cipher.processBytes(input, inputOffset, inputLen, out, 0);
340 int inputLen,
345 if (outputOffset + inputLen > output.length)
352 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset);
354 return inputLen;
366 int inputLen)
    [all...]
BaseWrapCipher.java 109 int inputLen)
257 int inputLen)
265 int inputLen,
276 int inputLen)
287 int inputLen,
BaseBlockCipher.java 235 int inputLen)
237 return cipher.getOutputSize(inputLen);
    [all...]
  /external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
CipherSpiTest.java 241 protected int engineGetOutputSize(int inputLen) {
267 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
268 if (initV.length < inputLen) {
269 initV = new byte[inputLen];
271 for (int i = 0; i < inputLen; i++) {
277 protected int engineUpdate(byte[] input, int inputOffset, int inputLen,
279 byte[] res = engineUpdate(input, inputOffset, inputLen);
290 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
292 if (resV.length > inputLen) {
293 byte[] bb = new byte[inputLen];
    [all...]
  /external/ipsec-tools/src/racoon/missing/crypto/rijndael/
rijndael-api-fst.h 89 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
95 u_int8_t *input, int inputLen, u_int8_t *outBuffer);
102 u_int8_t *input, int inputLen, u_int8_t *outBuffer, int Rounds);
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLCipher.java 130 protected abstract int updateInternal(byte[] input, int inputOffset, int inputLen,
220 * {@code inputLen}. If padding is enabled and the size of the input puts it
223 protected abstract int getOutputSizeForFinal(int inputLen);
227 * {@code inputLen}. If padding is enabled and the size of the input puts it
230 protected abstract int getOutputSizeForUpdate(int inputLen);
233 protected int engineGetOutputSize(int inputLen) {
234 return getOutputSizeForFinal(inputLen);
295 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
296 final int maximumLen = getOutputSizeForUpdate(inputLen);
308 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen)
    [all...]
OpenSSLCipherRSA.java 121 protected int engineGetOutputSize(int inputLen) {
220 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
221 if (bufferOffset + inputLen > buffer.length) {
226 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen);
227 bufferOffset += inputLen;
232 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
234 engineUpdate(input, inputOffset, inputLen);
239 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
242 engineUpdate(input, inputOffset, inputLen);
295 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output
    [all...]
  /external/curl/src/
tool_metalink.c 131 unsigned int inputLen)
133 md5_update(ctx, inputLen, input);
149 unsigned int inputLen)
151 sha1_update(ctx, inputLen, input);
167 unsigned int inputLen)
169 sha256_update(ctx, inputLen, input);
187 unsigned int inputLen)
189 gcry_md_write(*ctx, input, inputLen);
206 unsigned int inputLen)
208 gcry_md_write(*ctx, input, inputLen);
    [all...]
  /external/libchrome/crypto/third_party/nss/
chromium-blapi.h 53 unsigned int inputLen);
71 unsigned int inputLen);
89 unsigned int inputLen);
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreCipherSpiBase.java 320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
331 if (inputLen == 0) {
338 output = mMainDataStreamer.update(input, inputOffset, inputLen);
372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen);
425 protected final void engineUpdateAAD(byte[] input, int inputOffset, int inputLen) {
448 output = mAdditionalAuthenticationDataStreamer.update(input, inputOffset, inputLen);
471 int inputLen;
475 inputLen = src.remaining();
480 inputLen = input.length
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
CipherSpi.java 131 int inputLen)
394 int inputLen)
396 bOut.write(input, inputOffset, inputLen);
419 int inputLen,
423 bOut.write(input, inputOffset, inputLen);
446 int inputLen)
451 bOut.write(input, inputOffset, inputLen);
486 int inputLen,
493 bOut.write(input, inputOffset, inputLen);
  /frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/
UT_reduce.java 154 final int inputLen = 100000;
155 int[] input = createInputArrayInt(inputLen, 5);
157 input[(new Random(6)).nextInt(inputLen)] = 0;
172 final int inputLen = dimX * dimY;
174 int[] inputArray = createInputArrayInt(inputLen, 7);
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0;
197 final int inputLen = dimX * dimY * dimZ;
199 int[] inputArray = createInputArrayInt(inputLen, 9);
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0;
UT_reduce_backward.java 154 final int inputLen = 100000;
155 int[] input = createInputArrayInt(inputLen, 5);
157 input[(new Random(6)).nextInt(inputLen)] = 0;
172 final int inputLen = dimX * dimY;
174 int[] inputArray = createInputArrayInt(inputLen, 7);
176 inputArray[(new Random(8)).nextInt(inputLen)] = 0;
197 final int inputLen = dimX * dimY * dimZ;
199 int[] inputArray = createInputArrayInt(inputLen, 9);
201 inputArray[(new Random(10)).nextInt(inputLen)] = 0;
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_reduce_backward.java 170 final int inputLen = 100000;
171 int[] input = createInputArrayInt(inputLen, 5);
173 input[(new Random(6)).nextInt(inputLen)] = 0;
188 final int inputLen = dimX * dimY;
190 int[] inputArray = createInputArrayInt(inputLen, 7);
192 inputArray[(new Random(8)).nextInt(inputLen)] = 0;
213 final int inputLen = dimX * dimY * dimZ;
215 int[] inputArray = createInputArrayInt(inputLen, 9);
217 inputArray[(new Random(10)).nextInt(inputLen)] = 0;
  /libcore/luni/src/test/java/libcore/javax/crypto/
MockCipherSpi.java 220 protected int engineGetOutputSize(int inputLen) {
254 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) {
259 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
265 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen)
271 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output,
  /external/libjpeg-turbo/md5/
md5.c 144 MD5Update (context, in, inputLen)
147 unsigned int inputLen;
156 if ((context->count[0] += ((unsigned int)inputLen << 3))
157 < ((unsigned int)inputLen << 3))
159 context->count[1] += ((unsigned int)inputLen >> 29);
164 if (inputLen >= partLen) {
169 for (i = partLen; i + 63 < inputLen; i += 64)
179 inputLen-i);

Completed in 1297 milliseconds

1 2 3