HomeSort by relevance Sort by last modified time
    Searched defs:IV (Results 1 - 25 of 27) sorted by null

1 2

  /external/dropbear/libtomcrypt/src/prngs/
fortuna.c 52 /* update the IV */
56 unsigned char *IV;
57 /* update IV */
58 IV = prng->fortuna.IV;
60 IV[x] = (IV[x] + 1) & 255;
61 if (IV[x] != 0) break;
157 zeromem(prng->fortuna.IV, 16);
250 /* encrypt the IV and store it *
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
CFBBlockCipher.java 14 private byte[] IV;
36 this.IV = new byte[cipher.getBlockSize()];
52 * Initialise the cipher and, possibly, the initialisation vector (IV).
53 * If an IV isn't passed as part of the parameter, the IV will be all zeros.
54 * An IV which is too short is handled in FIPS compliant fashion.
72 byte[] iv = ivParam.getIV();
74 if (iv.length < IV.length)
76 // prepend the supplied IV with zeros (per FIPS PUB 81
    [all...]
OFBBlockCipher.java 14 private byte[] IV;
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.
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 17 private byte[] IV;
31 this.IV = new byte[blockSize];
56 byte[] iv = ivParam.getIV();
57 System.arraycopy(iv, 0, IV, 0, IV.length);
116 System.arraycopy(IV, 0, counter, 0, counter.length);
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.
69 byte[] iv = ivParam.getIV();
71 if (iv.length != blockSize)
76 System.arraycopy(iv, 0, IV, 0, iv.length)
    [all...]
GOFBBlockCipher.java 14 private byte[] IV;
45 this.IV = new byte[cipher.getBlockSize()];
61 * Initialise the cipher and, possibly, the initialisation vector (IV).
62 * If an IV isn't passed as part of the parameter, the IV will be all zeros.
63 * An IV which is too short is handled in FIPS compliant fashion.
83 byte[] iv = ivParam.getIV();
85 if (iv.length < IV.length)
87 // prepend the supplied IV with zeros (per FIPS PUB 81
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp 144 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S);
146 dyn_cast<DeclRefExpr>(IV->getBase()->IgnoreParenCasts())) {
153 Ranges.push_back(IV->getSourceRange());
  /external/dropbear/libtomcrypt/demos/
encrypt.c 98 unsigned char tmpkey[512], key[MAXBLOCKSIZE], IV[MAXBLOCKSIZE];
167 /* Need to read in IV */
168 if (fread(IV,1,ivsize,fdin) != ivsize) {
169 printf("Error reading IV from input.\n");
173 if ((errno = ctr_start(cipher_idx,IV,key,ks,0,CTR_COUNTER_LITTLE_ENDIAN,&ctr)) != CRYPT_OK) {
178 /* IV done */
196 /* Setup yarrow for random bytes for IV */
203 /* x = rng_get_bytes(IV,ivsize,NULL);*/
204 x = yarrow_read(IV,ivsize,&prng);
206 printf("Error reading PRNG for IV required.\n")
    [all...]
  /external/llvm/lib/Analysis/
SparsePropagation.cpp 234 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this);
235 if (IV != LatticeFunc->getUntrackedVal())
236 UpdateState(PN, IV);
284 LatticeVal IV = LatticeFunc->ComputeInstructionState(I, *this);
285 if (IV != LatticeFunc->getUntrackedVal())
286 UpdateState(I, IV);
LoopInfo.cpp 179 PHINode *IV = getCanonicalInductionVariable();
180 if (IV == 0 || IV->getNumIncomingValues() != 2) return 0;
182 bool P0InLoop = contains(IV->getIncomingBlock(0));
183 Value *Inc = IV->getIncomingValue(!P0InLoop);
184 BasicBlock *BackedgeBlock = IV->getIncomingBlock(!P0InLoop);
InstructionSimplify.cpp     [all...]
  /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);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
OverscanActivity.java 42 public static class IV extends ImageView {
44 public IV(Context context) {
47 public IV(Context context, AttributeSet attrs) {
145 IV mImage;
163 mImage = (IV) findViewById(R.id.image);
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineC.cpp 483 const APSInt &IV = Res.Val.getInt();
484 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
486 assert(IV.isSigned() == OOE->getType()->isSignedIntegerOrEnumerationType());
487 SVal X = svalBuilder.makeIntVal(IV);
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_mac.h 243 ivmode, /* Which mode is the IV in? */
247 ulong64 totlen, /* 64-bit counter used for IV and AAD */
267 const unsigned char *IV, unsigned long IVlen);
282 const unsigned char *IV, unsigned long IVlen,
316 IV[MAXBLOCKSIZE];
349 IV[MAXBLOCKSIZE];
tomcrypt_prng.h 25 IV[16]; /* IV for CTR mode */
tomcrypt_cipher.h 211 /** The current IV */
212 unsigned char IV[MAXBLOCKSIZE],
229 /** The current IV */
230 unsigned char IV[MAXBLOCKSIZE];
243 /** The current IV */
244 unsigned char IV[MAXBLOCKSIZE];
278 /** The current IV */
279 unsigned char IV[16],
306 /** The current IV */
307 unsigned char IV[MAXBLOCKSIZE]
    [all...]
  /external/dropbear/libtomcrypt/testprof/
x86_prof.c     [all...]
  /external/llvm/lib/Transforms/Utils/
LoopSimplify.cpp 682 Value *IV = PN->getIncomingValue(i);
686 NewPN->addIncoming(IV, IBB);
689 UniqueValue = IV;
690 else if (UniqueValue != IV)
  /frameworks/base/drm/common/
IDrmManagerService.cpp 679 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) {
694 if (NULL != IV) {
695 data.writeInt32(IV->length);
696 data.write(IV->data, IV->length);
    [all...]
  /external/clang/lib/Sema/
SemaExprMember.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp     [all...]
SCCP.cpp 233 LatticeVal &IV = TrackedGlobals[GV];
235 IV.markConstant(GV->getInitializer());
317 void markConstant(LatticeVal &IV, Value *V, Constant *C) {
318 if (!IV.markConstant(C)) return;
320 if (IV.isOverdefined())
333 LatticeVal &IV = ValueState[V];
334 IV.markForcedConstant(C);
336 if (IV.isOverdefined())
346 void markOverdefined(LatticeVal &IV, Value *V) {
347 if (!IV.markOverdefined()) return
    [all...]
GVN.cpp 598 std::pair<DenseMap<BasicBlock*, char>::iterator, char> IV =
602 if (!IV.second) {
605 if (IV.first->second == 2)
606 IV.first->second = 3;
607 return IV.first->second != 0;
    [all...]
  /external/llvm/lib/Target/CBackend/
CBackend.cpp     [all...]

Completed in 307 milliseconds

1 2