Lines Matching refs:inData
97 const void *inData, size_t size, uint32_t streamCTR, in encrypt()
102 data.write(inData, size); in encrypt()
146 const void *inData, size_t size, in decrypt()
152 data.write(inData, size); in decrypt()
246 void *inData = NULL; in onTransact() local
249 inData = malloc(2 * size); in onTransact()
251 if (inData == NULL) { in onTransact()
256 void *outData = (uint8_t *)inData + size; in onTransact()
258 status_t err = data.read(inData, size); in onTransact()
260 free(inData); in onTransact()
267 err = encrypt(inData, size, streamCTR, &inputCTR, outData); in onTransact()
276 free(inData); in onTransact()
277 inData = outData = NULL; in onTransact()
324 void *inData = NULL; in onTransact() local
326 inData = malloc(bufSize); in onTransact()
329 if (inData == NULL) { in onTransact()
334 void *outData = (uint8_t *)inData + size; in onTransact()
336 status_t err = data.read(inData, size); in onTransact()
340 err = decrypt(inData, size, streamCTR, inputCTR, outData); in onTransact()
349 free(inData); in onTransact()
350 inData = outData = NULL; in onTransact()