HomeSort by relevance Sort by last modified time
    Searched defs:IV (Results 1 - 25 of 34) 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/bcprov/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 18 private byte[] IV;
32 this.IV = new byte[blockSize];
57 byte[] iv = ivParam.getIV();
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);
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...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DereferenceChecker.cpp 80 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex);
82 << " ivar '" << IV->getDecl()->getName() << "')";
83 SourceLocation L = IV->getLocation();
151 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S);
152 os << "Access to instance variable '" << *IV->getDecl()
154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(),
  /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/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 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);
InstructionSimplify.cpp     [all...]
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTestBase.h 132 Constant *IV = ConstantInt::get(Context, APInt(32, InitialValue));
137 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...]
  /libcore/benchmarks/src/benchmarks/regression/
CipherBenchmark.java 44 private static final byte[] IV = new byte[IV_SIZE];
51 IV[i] = (byte) i;
127 spec = new IvParameterSpec(IV);
  /art/test/100-reflect2/src/
Main.java 178 m = Main.class.getDeclaredMethod("IV", int.class);
237 private static void IV(int i) {
  /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);
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineC.cpp 689 APSInt IV;
690 if (OOE->EvaluateAsInt(IV, getContext())) {
691 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
694 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType());
695 SVal X = svalBuilder.makeIntVal(IV);
    [all...]
  /external/dropbear/libtomcrypt/testprof/
x86_prof.c     [all...]
  /external/llvm/lib/Transforms/Utils/
LoopSimplify.cpp 707 Value *IV = PN->getIncomingValue(i);
711 NewPN->addIncoming(IV, IBB);
714 UniqueValue = IV;
715 else if (UniqueValue != IV)
  /frameworks/av/drm/common/
IDrmManagerService.cpp 719 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) {
734 if (NULL != IV) {
735 data.writeInt32(IV->length);
736 data.write(IV->data, IV->length);
    [all...]
  /frameworks/compile/libbcc/lib/Renderscript/
RSForEachExpand.cpp 247 llvm::PHINode *IV;
262 // iv = PHI [CondBB -> LowerBound], [LoopHeader -> NextIV ]
263 // iv.next = iv + 1
264 // if (iv.next < Upperbound)
269 IV = Builder.CreatePHI(LowerBound->getType(), 2, "X");
270 IV->addIncoming(LowerBound, CondBB);
271 IVNext = Builder.CreateNUWAdd(IV, Builder.getInt32(1));
272 IV->addIncoming(IVNext, HeaderBB);
277 *LoopIV = IV;
    [all...]
  /external/clang/lib/AST/
DeclObjC.cpp     [all...]
  /external/clang/lib/Sema/
SemaExprMember.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp     [all...]

Completed in 625 milliseconds

1 2