Home
last modified time | relevance | path

Searched refs:outputOffset (Results 1 – 25 of 46) sorted by relevance

12

/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipher.java117 int outputOffset, int maximumLen) throws ShortBufferException { in updateInternal() argument
118 final int intialOutputOffset = outputOffset; in updateInternal()
120 final int bytesLeft = output.length - outputOffset; in updateInternal()
126 outputOffset += NativeCrypto.EVP_CipherUpdate(cipherCtx, output, outputOffset, input, in updateInternal()
131 return outputOffset - intialOutputOffset; in updateInternal()
135 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
138 final int initialOutputOffset = outputOffset; in doFinalInternal()
149 final int bytesLeft = output.length - outputOffset; in doFinalInternal()
152 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, output, outputOffset); in doFinalInternal()
160 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal()
[all …]
DOpenSSLCipherChaCha20.java73 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument
75 if (inputLen > output.length - outputOffset) { in updateInternal()
88 System.arraycopy(singleBlockOut, currentBlockConsumedBytes, output, outputOffset, len); in updateInternal()
97 outputOffset += len; in updateInternal()
102 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal()
109 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
DOpenSSLCipher.java154 byte[] output, int outputOffset, int maximumLen) throws ShortBufferException; in updateInternal() argument
163 abstract int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
349 int outputOffset) throws ShortBufferException { in engineUpdate() argument
351 return updateInternal(input, inputOffset, inputLen, output, outputOffset, maximumLen); in engineUpdate()
391 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
401 bytesWritten = updateInternal(input, inputOffset, inputLen, output, outputOffset, in engineDoFinal()
403 outputOffset += bytesWritten; in engineDoFinal()
409 return bytesWritten + doFinalInternal(output, outputOffset, maximumLen); in engineDoFinal()
DOpenSSLAeadCipher.java276 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
283 if (getOutputSizeForFinal(inputLen) > output.length - outputOffset) { in engineDoFinal()
287 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
292 int outputOffset, int maximumLen) throws ShortBufferException { in updateInternal() argument
358 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
365 tagLengthInBytes, output, outputOffset, iv, buf, 0, bufCount, aad); in doFinalInternal()
368 tagLengthInBytes, output, outputOffset, iv, buf, 0, bufCount, aad); in doFinalInternal()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipher.java113 int outputOffset, int maximumLen) throws ShortBufferException { in updateInternal() argument
114 final int intialOutputOffset = outputOffset; in updateInternal()
116 final int bytesLeft = output.length - outputOffset; in updateInternal()
122 outputOffset += NativeCrypto.EVP_CipherUpdate(cipherCtx, output, outputOffset, input, in updateInternal()
127 return outputOffset - intialOutputOffset; in updateInternal()
131 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
134 final int initialOutputOffset = outputOffset; in doFinalInternal()
145 final int bytesLeft = output.length - outputOffset; in doFinalInternal()
148 writtenBytes = NativeCrypto.EVP_CipherFinal_ex(cipherCtx, output, outputOffset); in doFinalInternal()
156 System.arraycopy(lastBlock, 0, output, outputOffset, writtenBytes); in doFinalInternal()
[all …]
DOpenSSLCipherChaCha20.java71 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument
73 if (inputLen > output.length - outputOffset) { in updateInternal()
86 System.arraycopy(singleBlockOut, currentBlockConsumedBytes, output, outputOffset, len); in updateInternal()
95 outputOffset += len; in updateInternal()
100 outputOffset, inputLenRemaining, encodedKey, iv, blockCounter); in updateInternal()
107 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
DOpenSSLCipher.java152 byte[] output, int outputOffset, int maximumLen) throws ShortBufferException; in updateInternal() argument
161 abstract int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
347 int outputOffset) throws ShortBufferException { in engineUpdate() argument
349 return updateInternal(input, inputOffset, inputLen, output, outputOffset, maximumLen); in engineUpdate()
389 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
399 bytesWritten = updateInternal(input, inputOffset, inputLen, output, outputOffset, in engineDoFinal()
401 outputOffset += bytesWritten; in engineDoFinal()
407 return bytesWritten + doFinalInternal(output, outputOffset, maximumLen); in engineDoFinal()
DOpenSSLAeadCipher.java273 int outputOffset) throws ShortBufferException, IllegalBlockSizeException, in engineDoFinal() argument
280 if (getOutputSizeForFinal(inputLen) > output.length - outputOffset) { in engineDoFinal()
284 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
289 int outputOffset, int maximumLen) throws ShortBufferException { in updateInternal() argument
355 int doFinalInternal(byte[] output, int outputOffset, int maximumLen) in doFinalInternal() argument
362 tagLengthInBytes, output, outputOffset, iv, buf, 0, bufCount, aad); in doFinalInternal()
365 tagLengthInBytes, output, outputOffset, iv, buf, 0, bufCount, aad); in doFinalInternal()
/external/skqp/src/pdf/
DSkPDFConvertType1FontStream.cpp184 size_t outputOffset = 0; in SkPDFConvertType1FontStream() local
198 resultData[outputOffset++] = dataByte; in SkPDFConvertType1FontStream()
202 resultData[outputOffset++] = dataByte; in SkPDFConvertType1FontStream()
204 SkASSERT(outputOffset == *dataLen); in SkPDFConvertType1FontStream()
206 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]); in SkPDFConvertType1FontStream()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DPlanarYUVLuminanceSource.java97 int outputOffset = y * width; in getMatrix() local
98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width); in getMatrix()
117 int outputOffset = y * width; in renderCroppedGreyscaleBitmap() local
120 pixels[outputOffset + x] = 0xFF000000 | (grey * 0x00010101); in renderCroppedGreyscaleBitmap()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java372 int outputOffset) in engineUpdate() argument
375 if (outputOffset + inputLen > output.length) in engineUpdate()
382 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
417 int outputOffset) in engineDoFinal() argument
420 if (outputOffset + inputLen > output.length) in engineDoFinal()
427 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DBaseWrapCipher.java337 int outputOffset) in engineUpdate() argument
402 int outputOffset) in engineDoFinal() argument
439 if (outputOffset + enc.length > output.length) in engineDoFinal()
444 System.arraycopy(enc, 0, output, outputOffset, enc.length); in engineDoFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java376 int outputOffset) in engineUpdate() argument
379 if (outputOffset + inputLen > output.length) in engineUpdate()
386 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
421 int outputOffset) in engineDoFinal() argument
424 if (outputOffset + inputLen > output.length) in engineDoFinal()
431 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DBaseWrapCipher.java341 int outputOffset) in engineUpdate() argument
406 int outputOffset) in engineDoFinal() argument
443 if (outputOffset + enc.length > output.length) in engineDoFinal()
448 System.arraycopy(enc, 0, output, outputOffset, enc.length); in engineDoFinal()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java376 int outputOffset) in engineUpdate() argument
379 if (outputOffset + inputLen > output.length) in engineUpdate()
386 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
421 int outputOffset) in engineDoFinal() argument
424 if (outputOffset + inputLen > output.length) in engineDoFinal()
431 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
DBaseWrapCipher.java341 int outputOffset) in engineUpdate() argument
406 int outputOffset) in engineDoFinal() argument
443 if (outputOffset + enc.length > output.length) in engineDoFinal()
448 System.arraycopy(enc, 0, output, outputOffset, enc.length); in engineDoFinal()
/external/llvm-project/lld/wasm/
DInputChunks.cpp124 memcpy(buf + outputOffset, data().data(), data().size()); in writeTo()
136 int32_t off = outputOffset - getInputSectionOffset(); in writeTo()
197 int32_t off = outputOffset - getInputSectionOffset(); in writeRelocations()
322 buf += outputOffset; in writeTo()
372 uint64_t outputOffset = segmentVA + offset; in generateRelocationCode() local
376 << " output offset=" << outputOffset << "\n"); in generateRelocationCode()
384 writeSleb128(os, outputOffset, "offset"); in generateRelocationCode()
DMapFile.cpp80 uint64_t fileOffset = chunk.outputSec->getOffset() + chunk.outputOffset; in getSymbolStrings()
126 writeHeader(os, -1, chunk->outputSec->getOffset() + chunk->outputOffset, in writeMapFile()
139 chunk->outputSec->getOffset() + chunk->outputOffset, in writeMapFile()
DOutputSections.cpp91 func->outputOffset = bodySize; in finalizeContents()
181 inputSeg->outputOffset = segment->sectionOffset + segment->header.size() + in finalizeContents()
243 section->outputOffset = payloadSize; in finalizeContents()
/external/skia/src/pdf/
DSkPDFType1Font.cpp192 size_t outputOffset = 0; in convert_type1_font_stream() local
206 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
210 resultData[outputOffset++] = dataByte; in convert_type1_font_stream()
212 SkASSERT(outputOffset == *dataLen); in convert_type1_font_stream()
214 uint8_t* const resultTrailer = &(buffer[SkToInt(*headerLen + outputOffset)]); in convert_type1_font_stream()
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/
DOpaqueProvider.java230 int outputOffset) throws ShortBufferException { in engineUpdate() argument
231 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
242 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
244 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/
DOpaqueProvider.java241 int outputOffset) throws ShortBufferException { in engineUpdate() argument
242 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
253 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
255 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java446 int outputOffset) in engineUpdate() argument
502 int outputOffset) in engineDoFinal() argument
505 if (outputOffset + engineGetOutputSize(inputLen) > output.length) in engineDoFinal()
534 output[outputOffset + i] = out[i]; in engineDoFinal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java450 int outputOffset) in engineUpdate() argument
506 int outputOffset) in engineDoFinal() argument
509 if (outputOffset + engineGetOutputSize(inputLen) > output.length) in engineDoFinal()
538 output[outputOffset + i] = out[i]; in engineDoFinal()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java450 int outputOffset) in engineUpdate() argument
506 int outputOffset) in engineDoFinal() argument
509 if (outputOffset + engineGetOutputSize(inputLen) > output.length) in engineDoFinal()
538 output[outputOffset + i] = out[i]; in engineDoFinal()

12