/libcore/benchmarks/src/benchmarks/regression/ |
CipherInputStreamBenchmark.java | 38 private static final byte[] IV = new byte[IV_SIZE]; 45 IV[i] = (byte) i; 63 spec = new IvParameterSpec(IV);
|
CipherBenchmark.java | 40 private static final byte[] IV = new byte[IV_SIZE]; 47 IV[i] = (byte) i; 124 spec = new IvParameterSpec(IV);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
OFBBlockCipher.java | 16 private byte[] IV; 39 this.IV = new byte[cipher.getBlockSize()]; 45 * Initialise the cipher and, possibly, the initialisation vector (IV). 46 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 47 * An IV which is too short is handled in FIPS compliant fashion. 63 byte[] iv = ivParam.getIV(); 65 if (iv.length < IV.length) 67 // prepend the supplied IV with zeros (per FIPS PUB 81 [all...] |
CBCBlockCipher.java | 15 private byte[] IV; 34 this.IV = new byte[blockSize]; 50 * Initialise the cipher and, possibly, the initialisation vector (IV). 51 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 71 byte[] iv = ivParam.getIV(); 73 if (iv.length != blockSize) 78 System.arraycopy(iv, 0, IV, 0, iv.length) [all...] |
CFBBlockCipher.java | 16 private byte[] IV; 42 this.IV = new byte[cipher.getBlockSize()]; 49 * Initialise the cipher and, possibly, the initialisation vector (IV). 50 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 51 * An IV which is too short is handled in FIPS compliant fashion. 69 byte[] iv = ivParam.getIV(); 71 if (iv.length < IV.length) 73 // prepend the supplied IV with zeros (per FIPS PUB 81 [all...] |
SICBlockCipher.java | 23 private byte[] IV; 39 this.IV = new byte[blockSize]; 53 this.IV = Arrays.clone(ivParam.getIV()); 55 if (blockSize < IV.length) 57 throw new IllegalArgumentException("CTR/SIC mode requires IV no greater than: " + blockSize + " bytes."); 62 if (blockSize - IV.length > maxCounterSize) 64 throw new IllegalArgumentException("CTR/SIC mode requires IV of at least: " + (blockSize - maxCounterSize) + " bytes."); 67 // if null it's an IV changed only. 125 // if the IV is the same as the blocksize we assume the user knows what they are doing 126 if (IV.length < blockSize [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
DereferenceChecker.cpp | 82 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); 84 << " ivar '" << IV->getDecl()->getName() << "')"; 85 SourceLocation L = IV->getLocation(); 157 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S); 158 os << "Access to instance variable '" << *IV->getDecl() 160 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(),
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
rijndael-api-fst.h | 44 #define MAX_IV_SIZE 16 /* # bytes needed to represent an IV */ 70 u_int8_t IV[MAX_IV_SIZE]; /* A possible Initialization Vector for ciphering */ 86 int rijndael_cipherInit(cipherInstance *cipher, u_int8_t mode, char *IV);
|
/external/llvm/lib/Analysis/ |
SparsePropagation.cpp | 235 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); 236 if (IV != LatticeFunc->getUntrackedVal()) 237 UpdateState(PN, IV); 285 LatticeVal IV = LatticeFunc->ComputeInstructionState(I, *this); 286 if (IV != LatticeFunc->getUntrackedVal()) 287 UpdateState(I, IV);
|
InstructionSimplify.cpp | [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-use-table.cc | 27 #define IV USE_IV /* BASE_VOWEL */ 83 /* 0900 */ VMAbv, VMAbv, VMAbv, VMPst, IV, IV, IV, IV, IV, IV, IV, IV, IV, IV, IV, IV [all...] |
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
MCJITTestBase.h | 140 Constant *IV = ConstantInt::get(Context, APInt(32, InitialValue)); 145 IV,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SystemUIModes.java | 54 public static class IV extends ImageView implements View.OnSystemUiVisibilityChangeListener { 57 public IV(Context context) { 60 public IV(Context context, AttributeSet attrs) { 177 IV mImage; 195 mImage = (IV) findViewById(R.id.image);
|
/device/google/contexthub/lib/include/nanohub/ |
nanohub.h | 111 uint32_t IV[AES_BLOCK_WORDS];
|
/external/llvm/lib/Transforms/Utils/ |
LoopSimplify.cpp | 405 Value *IV = PN->getIncomingValue(i); 409 NewPN->addIncoming(IV, IBB); 412 UniqueValue = IV; 413 else if (UniqueValue != IV) [all...] |
/art/test/100-reflect2/src/ |
Main.java | 197 m = Main.class.getDeclaredMethod("IV", int.class); 256 private static void IV(int i) {
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineC.cpp | 723 APSInt IV; 724 if (OOE->EvaluateAsInt(IV, getContext())) { 725 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType())); 728 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); 729 SVal X = svalBuilder.makeIntVal(IV); [all...] |
/frameworks/av/drm/common/ |
IDrmManagerService.cpp | 722 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) { 737 if (NULL != IV) { 738 data.writeInt32(IV->length); 739 data.write(IV->data, IV->length); [all...] |
/external/clang/lib/Sema/ |
SemaExprMember.cpp | [all...] |
/external/llvm/lib/CodeGen/ |
WinEHPrepare.cpp | 711 Value *IV = SuccPN->getIncomingValue(OldBlockIdx); 714 if (auto *Inst = dyn_cast<Instruction>(IV)) { 717 IV = I->second; 720 SuccPN->addIncoming(IV, NewBlock); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
JumpThreading.cpp | [all...] |
LoopRerollPass.cpp | 79 // %iv = phi [ (preheader, ...), (body, %iv.next) ] 80 // f(%iv) 81 // %iv.1 = add %iv, 1 <-- a root increment 82 // f(%iv.1) 83 // %iv.2 = add %iv, 2 <-- a root increment 84 // f(%iv.2) 85 // %iv.scale_m_1 = add %iv, scale-1 <-- a root incremen [all...] |
SCCP.cpp | 232 LatticeVal &IV = TrackedGlobals[GV]; 234 IV.markConstant(GV->getInitializer()); 309 void markConstant(LatticeVal &IV, Value *V, Constant *C) { 310 if (!IV.markConstant(C)) return; 312 if (IV.isOverdefined()) 325 LatticeVal &IV = ValueState[V]; 326 IV.markForcedConstant(C); 328 if (IV.isOverdefined()) 338 void markOverdefined(LatticeVal &IV, Value *V) { 339 if (!IV.markOverdefined()) return [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 61 private static final byte[] IV = new byte[] { 266 AlgorithmParameterSpec ap = new IvParameterSpec(IV); 271 assertTrue("IVs differ", Arrays.equals(cipherIV, IV)); 295 AlgorithmParameterSpec ap = new IvParameterSpec(IV); 300 assertTrue("IVs differ", Arrays.equals(cipherIV, IV)); 333 + ".iv"); 334 IvParameterSpec iv = new IvParameterSpec(ivMaterial); local 336 c.init(Cipher.DECRYPT_MODE, k, iv); 391 + ".iv"); 392 IvParameterSpec iv = new IvParameterSpec(ivMaterial) local [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderOperatorTests.cpp | 225 IV = VALUE_INT_VEC, [all...] |