HomeSort by relevance Sort by last modified time
    Searched defs:IV (Results 1 - 25 of 31) 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/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/llvm/unittests/ExecutionEngine/MCJIT/
MCJITTestBase.h 190 Constant *IV = ConstantInt::get(Context, APInt(32, InitialValue));
195 IV,
  /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);
  /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) {
153 IV mImage;
170 mImage = (IV) findViewById(R.id.image);
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngineC.cpp 681 APSInt IV;
682 if (OOE->EvaluateAsInt(IV, getContext())) {
683 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
685 assert(IV.isSigned() == OOE->getType()->isSignedIntegerOrEnumerationType());
686 SVal X = svalBuilder.makeIntVal(IV);
    [all...]
  /external/dropbear/libtomcrypt/testprof/
x86_prof.c     [all...]
  /external/llvm/lib/Transforms/Utils/
LoopSimplify.cpp 706 Value *IV = PN->getIncomingValue(i);
710 NewPN->addIncoming(IV, IBB);
713 UniqueValue = IV;
714 else if (UniqueValue != IV)
  /frameworks/av/drm/common/
IDrmManagerService.cpp 731 const DrmBuffer* encBuffer, DrmBuffer** decBuffer, DrmBuffer* IV) {
746 if (NULL != IV) {
747 data.writeInt32(IV->length);
748 data.write(IV->data, IV->length);
    [all...]
  /external/clang/lib/AST/
DeclObjC.cpp     [all...]
  /external/clang/lib/Sema/
SemaExprMember.cpp     [all...]
  /external/llvm/lib/Transforms/Scalar/
JumpThreading.cpp     [all...]
SCCP.cpp 229 LatticeVal &IV = TrackedGlobals[GV];
231 IV.markConstant(GV->getInitializer());
306 void markConstant(LatticeVal &IV, Value *V, Constant *C) {
307 if (!IV.markConstant(C)) return;
309 if (IV.isOverdefined())
322 LatticeVal &IV = ValueState[V];
323 IV.markForcedConstant(C);
325 if (IV.isOverdefined())
335 void markOverdefined(LatticeVal &IV, Value *V) {
336 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...]

Completed in 3085 milliseconds

1 2