/external/chromium_org/third_party/tlslite/tlslite/utils/ |
H A D | pycrypto_aes.py | 12 def new(key, mode, IV): 13 return PyCrypto_AES(key, mode, IV) 17 def __init__(self, key, mode, IV): 18 AES.__init__(self, key, mode, IV, "pycrypto") 20 IV = bytes(IV) 21 self.context = Crypto.Cipher.AES.new(key, mode, IV)
|
H A D | pycrypto_tripledes.py | 12 def new(key, mode, IV): 13 return PyCrypto_TripleDES(key, mode, IV) 17 def __init__(self, key, mode, IV): 18 TripleDES.__init__(self, key, mode, IV, "pycrypto") 20 IV = bytes(IV) 21 self.context = Crypto.Cipher.DES3.new(key, mode, IV)
|
H A D | python_aes.py | 11 def new(key, mode, IV): 12 return Python_AES(key, mode, IV) 15 def __init__(self, key, mode, IV): 16 AES.__init__(self, key, mode, IV, "python") 18 self.IV = IV 24 chainBytes = self.IV[:] 44 self.IV = chainBytes[:] 51 chainBytes = self.IV[:] 68 self.IV [all...] |
H A D | cipherfactory.py | 31 def createAES(key, IV, implList=None): 37 @type IV: str 38 @param IV: A 16 byte string 48 return openssl_aes.new(key, 2, IV) 50 return pycrypto_aes.new(key, 2, IV) 52 return python_aes.new(key, 2, IV) 55 def createRC4(key, IV, implList=None): 61 @type IV: object 62 @param IV: Ignored, whatever it is. 70 if len(IV) ! [all...] |
H A D | openssl_aes.py | 11 def new(key, mode, IV): 12 return OpenSSL_AES(key, mode, IV) 16 def __init__(self, key, mode, IV): 17 AES.__init__(self, key, mode, IV, "openssl") 19 self.IV = IV 29 m2.cipher_init(context, cipherType, self.key, self.IV, encrypt) 37 self.IV = ciphertext[-self.block_size:] 51 self.IV = ciphertext[-self.block_size:]
|
H A D | openssl_tripledes.py | 11 def new(key, mode, IV): 12 return OpenSSL_TripleDES(key, mode, IV) 16 def __init__(self, key, mode, IV): 17 TripleDES.__init__(self, key, mode, IV, "openssl") 19 self.IV = IV 24 m2.cipher_init(context, cipherType, self.key, self.IV, encrypt) 32 self.IV = ciphertext[-self.block_size:] 46 self.IV = ciphertext[-self.block_size:]
|
H A D | tripledes.py | 7 def __init__(self, key, mode, IV, implementation): 12 if len(IV) != 8:
|
H A D | aes.py | 7 def __init__(self, key, mode, IV, implementation): 12 if len(IV) != 16:
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
H A D | OFBBlockCipher.java | 14 private byte[] IV; field in class:OFBBlockCipher 35 this.IV = new byte[cipher.getBlockSize()]; 51 * Initialise the cipher and, possibly, the initialisation vector (IV). 52 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 53 * An IV which is too short is handled in FIPS compliant fashion. 71 if (iv.length < IV.length) 73 // prepend the supplied IV with zeros (per FIPS PUB 81) 74 System.arraycopy(iv, 0, IV, IV [all...] |
H A D | SICBlockCipher.java | 18 private byte[] IV; field in class:SICBlockCipher 32 this.IV = new byte[blockSize]; 58 System.arraycopy(iv, 0, IV, 0, IV.length); 62 // if null it's an IV changed only. 110 System.arraycopy(IV, 0, counter, 0, counter.length);
|
H A D | CFBBlockCipher.java | 15 private byte[] IV; field in class:CFBBlockCipher 37 this.IV = new byte[cipher.getBlockSize()]; 53 * Initialise the cipher and, possibly, the initialisation vector (IV). 54 * If an IV isn't passed as part of the parameter, the IV will be all zeros. 55 * An IV which is too short is handled in FIPS compliant fashion. 75 if (iv.length < IV.length) 77 // prepend the supplied IV with zeros (per FIPS PUB 81) 78 System.arraycopy(iv, 0, IV, IV [all...] |
H A D | CBCBlockCipher.java | 15 private byte[] IV; field in class:CBCBlockCipher 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. 78 System.arraycopy(iv, 0, IV, 0, iv.length); 82 // if null it's an IV changed only. 152 * reset the chaining vector back to the IV and reset the underlying 157 System.arraycopy(IV, 0, cbcV, 0, IV [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/perl/Perf-Trace-Util/ |
H A D | Context.c | 60 XSprePUSH; PUSHi((IV)RETVAL); 83 XSprePUSH; PUSHi((IV)RETVAL); 106 XSprePUSH; PUSHi((IV)RETVAL);
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
H A D | rijndael-api-fst.c | 79 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { argument 85 if (IV != NULL) { 86 bcopy(IV, cipher->IV, MAX_IV_SIZE); 88 bzero(cipher->IV, MAX_IV_SIZE); 120 bcopy(cipher->IV, block, 16); 127 ((word32*)block)[0] = ((word32*)cipher->IV)[0] ^ ((word32*)input)[0]; 128 ((word32*)block)[1] = ((word32*)cipher->IV)[1] ^ ((word32*)input)[1]; 129 ((word32*)block)[2] = ((word32*)cipher->IV)[2] ^ ((word32*)input)[2]; 130 ((word32*)block)[3] = ((word32*)cipher->IV)[ [all...] |
H A D | 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 */ member in struct:__anon22453 86 int rijndael_cipherInit(cipherInstance *cipher, u_int8_t mode, char *IV);
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SCCP.cpp | 230 LatticeVal &IV = TrackedGlobals[GV]; local 232 IV.markConstant(GV->getInitializer()); 307 void markConstant(LatticeVal &IV, Value *V, Constant *C) { argument 308 if (!IV.markConstant(C)) return; 310 if (IV.isOverdefined()) 323 LatticeVal &IV = ValueState[V]; local 324 IV.markForcedConstant(C); 326 if (IV.isOverdefined()) 336 void markOverdefined(LatticeVal &IV, Value *V) { argument 337 if (!IV 348 mergeInValue(LatticeVal &IV, Value *V, LatticeVal MergeWithV) argument 675 LatticeVal IV = getValueState(PN.getIncomingValue(i)); local 850 LatticeVal &IV = ValueState[&I]; local 908 LatticeVal &IV = ValueState[&I]; local 1605 LatticeVal IV = Solver.getLatticeValueFor(Inst); local 1769 LatticeVal IV = Solver.getLatticeValueFor(AI); local 1813 LatticeVal IV = Solver.getLatticeValueFor(Inst); local [all...] |
H A D | LoopRerollPass.cpp | 330 Instruction *&IV, 332 bool collectAllRoots(Loop *L, uint64_t Inc, uint64_t Scale, Instruction *IV, 336 bool reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount, 390 DEBUG(dbgs() << "LRR: Possible IV: " << *I << " = " << 466 // including root increments in the use set of the primary IV. 545 // and, if found, set IV = %scaled.iv, and add %iv.next to LoopIncs. 547 Instruction *&IV, 596 IV = User1; 611 Instruction *IV, 615 for (User *U : IV 546 findScaleFromMul(Instruction *RealIV, uint64_t &Scale, Instruction *&IV, SmallInstructionVector &LoopIncs) argument 610 collectAllRoots(Loop *L, uint64_t Inc, uint64_t Scale, Instruction *IV, SmallVector<SmallInstructionVector, 32> &Roots, SmallInstructionSet &AllRoots, SmallInstructionVector &LoopIncs) argument 770 reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount, ReductionTracker &Reductions) argument [all...] |
/external/harfbuzz_ng/src/ |
H A D | hb-ot-shape-complex-sea-machine.rl | 44 IV = 2; # Independent Vowel 56 consonant_syllable = (C|IV|GB) syllable_tail;
|
H A D | hb-ot-shape-complex-myanmar-machine.rl | 49 IV = 2; 79 consonant_syllable = k? (c|IV|D|GB).VS? (H (c|IV).VS?)* syllable_tail;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DereferenceChecker.cpp | 80 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); local 82 << " ivar '" << IV->getDecl()->getName() << "')"; 83 SourceLocation L = IV->getLocation(); 151 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S); local 152 os << "Access to instance variable '" << *IV->getDecl() 154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(),
|
/external/llvm/lib/Analysis/ |
H A D | SparsePropagation.cpp | 235 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); local 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);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 289 IV = VALUE_INT_VEC, enumerator in enum:deqp::gles3::Functional::ValueType 1473 << operInfoFunc(addName, addOp, IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_VEC_FUNCS(addVecScalar)) 1474 << operInfoFunc(addName, addOp, IV, Value(IV, -2e9f, 2e9f), Value(I, -2e9f, 2e9f), notUsed, 4e-10f, 0.5f, PRECMASK_HIGHP, INT_VEC_FUNCS(addVecScalar)) 1481 << operInfoFunc(addName, addOp, IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_VEC_FUNCS(addScalarVec)) 1482 << operInfoFunc(addName, addOp, IV, Value(I, -2e9f, 2e9f), Value(IV, -2e9f, 2e9f), notUsed, 4e-10f, 0.5f, PRECMASK_HIGHP, INT_VEC_FUNCS(addScalarVec)) 1495 << operInfoFunc(subName, subOp, IV, Valu [all...] |
/external/llvm/include/llvm/ADT/ |
H A D | PointerIntPair.h | 174 uintptr_t IV = reinterpret_cast<uintptr_t>(V.getOpaqueValue()); 175 return unsigned(IV) ^ unsigned(IV >> 9);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderOperatorTests.cpp | 225 IV = VALUE_INT_VEC, enumerator in enum:deqp::gles2::Functional::ValueType 995 << BuiltinOperInfo("add", "+", IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(addVecScalar)) 997 << BuiltinOperInfo("add", "+", IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(addScalarVec)) 1001 << BuiltinOperInfo("sub", "-", IV, Value(IV, -4.0f, 6.0f), Value(I, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(subVecScalar)) 1003 << BuiltinOperInfo("sub", "-", IV, Value(I, -4.0f, 6.0f), Value(IV, -6.0f, 5.0f), notUsed, 0.1f, 0.5f, PRECMASK_ALL, INT_VEC_FUNCS(subScalarVec)) 1007 << BuiltinOperInfo("mul", "*", IV, Valu [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/tasks/support/ |
H A D | gl-matrix.rb | 1 Copyright (c) 2013 Brandon Jones, Colin MacKenzie IV
|