Home
last modified time | relevance | path

Searched refs:IV (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java180 byte[] IV = mkC.getIV(); in emitAesBackupHeader()
181 headerbuf.append(PasswordUtils.byteArrayToHex(IV)); in emitAesBackupHeader()
194 IV = c.getIV(); in emitAesBackupHeader()
201 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length in emitAesBackupHeader()
204 mkOut.writeByte(IV.length); in emitAesBackupHeader()
205 mkOut.write(IV); in emitAesBackupHeader()
/frameworks/compile/libbcc/lib/
DRSKernelExpand.cpp432 llvm::Value *Cond, *IVNext, *IV, *IVVar; in createLoop() local
464 IV = Builder.CreateLoad(IVVar, "X"); in createLoop()
465 IVNext = Builder.CreateNUWAdd(IV, Builder.getInt32(1)); in createLoop()
473 *LoopIV = IV; in createLoop()
859 llvm::Value *IV; in ExpandOldStyleForEach() local
860 createLoop(Builder, Arg_x1, Arg_x2, &IV); in ExpandOldStyleForEach()
863 … const int CalleeArgsContextIdx = ExpandSpecialArguments(Signature, IV, Arg_p, Builder, CalleeArgs, in ExpandOldStyleForEach()
884 llvm::Value *OutOffset = Builder.CreateSub(IV, Arg_x1); in ExpandOldStyleForEach()
891 llvm::Value *InOffset = Builder.CreateSub(IV, Arg_x1); in ExpandOldStyleForEach()
1029 llvm::Value *IV; in ExpandForEach() local
[all …]
/frameworks/av/drm/common/
DDrmEngineBase.cpp158 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
159 return onDecrypt(uniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
DIDrmManagerService.cpp722 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
737 if (NULL != IV) { in decrypt()
738 data.writeInt32(IV->length); in decrypt()
739 data.write(IV->data, IV->length); in decrypt()
1464 DrmBuffer* IV = NULL; in onTransact() local
1468 IV = new DrmBuffer((char *)data.readInplace(ivBufferlength), ivBufferlength); in onTransact()
1473 = decrypt(uniqueId, &handle, decryptUnitId, encBuffer, &decBuffer, IV); in onTransact()
1487 delete IV; IV = NULL; in onTransact()
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp150 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
152 mUniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
DDrmManagerClientImpl.cpp306 DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
312 encBuffer, decBuffer, IV); in decrypt()
/frameworks/av/drm/common/include/
DDrmEngineBase.h99 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
497 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
DIDrmManagerService.h157 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
244 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DIDrmEngine.h402 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) = 0;
/frameworks/av/drm/libdrmframework/plugins/passthru/include/
DDrmPassthruPlugIn.h88 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp314 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
319 return mDrmManager->decrypt(uniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
DDrmManagerService.h133 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManager.h126 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManager.cpp512 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { in decrypt() argument
519 uniqueId, decryptHandle, decryptUnitId, encBuffer, decBuffer, IV); in decrypt()
/frameworks/av/drm/libdrmframework/include/
DNoOpDrmManagerClientImpl.h65 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
DDrmManagerClientImpl.h376 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/av/include/drm/
DDrmManagerClient.h161 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV = NULL);
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformAdbRestoreTask.java324 byte[] IV = PasswordUtils.hexToByteArray(userIvHex); in attemptMasterKeyDecryption()
325 IvParameterSpec ivSpec = new IvParameterSpec(IV); in attemptMasterKeyDecryption()
335 IV = Arrays.copyOfRange(mkBlob, offset, offset + len); in attemptMasterKeyDecryption()
351 ivSpec = new IvParameterSpec(IV); in attemptMasterKeyDecryption()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/
DFwdLockEngine.h421 DrmBuffer** decBuffer, DrmBuffer* IV);
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp850 } else if (const ConstantInt *IV = dyn_cast<ConstantInt>(C)) { in WriteConstants() local
851 if (IV->getBitWidth() <= 64) { in WriteConstants()
852 uint64_t V = IV->getSExtValue(); in WriteConstants()
864 unsigned NWords = IV->getValue().getActiveWords(); in WriteConstants()
865 const uint64_t *RawWords = IV->getValue().getRawData(); in WriteConstants()
/frameworks/compile/slang/BitWriter_3_2/
DBitcodeWriter.cpp886 } else if (const ConstantInt *IV = dyn_cast<ConstantInt>(C)) { in WriteConstants() local
887 if (IV->getBitWidth() <= 64) { in WriteConstants()
888 uint64_t V = IV->getSExtValue(); in WriteConstants()
897 unsigned NWords = IV->getValue().getActiveWords(); in WriteConstants()
898 const uint64_t *RawWords = IV->getValue().getRawData(); in WriteConstants()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp848 } else if (const ConstantInt *IV = dyn_cast<ConstantInt>(C)) { in WriteConstants() local
849 if (IV->getBitWidth() <= 64) { in WriteConstants()
850 uint64_t V = IV->getSExtValue(); in WriteConstants()
862 unsigned NWords = IV->getValue().getActiveWords(); in WriteConstants()
863 const uint64_t *RawWords = IV->getValue().getRawData(); in WriteConstants()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java4270 byte[] IV = mkC.getIV(); in emitAesBackupHeader()
4271 headerbuf.append(byteArrayToHex(IV)); in emitAesBackupHeader()
4284 IV = c.getIV(); in emitAesBackupHeader()
4289 ByteArrayOutputStream blob = new ByteArrayOutputStream(IV.length + mk.length in emitAesBackupHeader()
4292 mkOut.writeByte(IV.length); in emitAesBackupHeader()
4293 mkOut.write(IV); in emitAesBackupHeader()
7294 byte[] IV = hexToByteArray(userIvHex); in attemptMasterKeyDecryption()
7295 IvParameterSpec ivSpec = new IvParameterSpec(IV); in attemptMasterKeyDecryption()
7305 IV = Arrays.copyOfRange(mkBlob, offset, offset + len); in attemptMasterKeyDecryption()
7320 ivSpec = new IvParameterSpec(IV); in attemptMasterKeyDecryption()