Home
last modified time | relevance | path

Searched refs:IV (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-9-stable/sys/crypto/rijndael/
Drijndael-api-fst.c71 int rijndael_cipherInit(cipherInstance *cipher, BYTE mode, char *IV) { in rijndael_cipherInit() argument
77 if (IV != NULL) { in rijndael_cipherInit()
78 memcpy(cipher->IV, IV, RIJNDAEL_MAX_IV_SIZE); in rijndael_cipherInit()
80 memset(cipher->IV, 0, RIJNDAEL_MAX_IV_SIZE); in rijndael_cipherInit()
112 memcpy(block, cipher->IV, 16); in rijndael_blockEncrypt()
119 ((u_int32_t*)block)[0] = ((u_int32_t*)cipher->IV)[0] ^ ((u_int32_t*)input)[0]; in rijndael_blockEncrypt()
120 ((u_int32_t*)block)[1] = ((u_int32_t*)cipher->IV)[1] ^ ((u_int32_t*)input)[1]; in rijndael_blockEncrypt()
121 ((u_int32_t*)block)[2] = ((u_int32_t*)cipher->IV)[2] ^ ((u_int32_t*)input)[2]; in rijndael_blockEncrypt()
122 ((u_int32_t*)block)[3] = ((u_int32_t*)cipher->IV)[3] ^ ((u_int32_t*)input)[3]; in rijndael_blockEncrypt()
148 memcpy(iv, cipher->IV, 16); in rijndael_blockEncrypt()
[all …]
Drijndael-api-fst.h54 u_int8_t IV[RIJNDAEL_MAX_IV_SIZE]; /* A possible Initialization Vector for ciphering */ member
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DSCCP.cpp229 LatticeVal &IV = TrackedGlobals[GV]; in TrackValueOfGlobalVariable() local
231 IV.markConstant(GV->getInitializer()); in TrackValueOfGlobalVariable()
306 void markConstant(LatticeVal &IV, Value *V, Constant *C) { in markConstant() argument
307 if (!IV.markConstant(C)) return; in markConstant()
309 if (IV.isOverdefined()) in markConstant()
322 LatticeVal &IV = ValueState[V]; in markForcedConstant() local
323 IV.markForcedConstant(C); in markForcedConstant()
325 if (IV.isOverdefined()) in markForcedConstant()
335 void markOverdefined(LatticeVal &IV, Value *V) { in markOverdefined() argument
336 if (!IV.markOverdefined()) return; in markOverdefined()
[all …]
DLoopRerollPass.cpp328 Instruction *&IV,
330 bool collectAllRoots(Loop *L, uint64_t Inc, uint64_t Scale, Instruction *IV,
334 bool reroll(Instruction *IV, Loop *L, BasicBlock *Header, const SCEV *IterCount,
551 Instruction *&IV, in findScaleFromMul() argument
600 IV = User1; in findScaleFromMul()
615 Instruction *IV, in collectAllRoots() argument
619 for (Value::use_iterator UI = IV->use_begin(), in collectAllRoots()
620 UIE = IV->use_end(); UI != UIE; ++UI) { in collectAllRoots()
624 if (User->getType() != IV->getType()) in collectAllRoots()
632 SE->getSCEV(User), SE->getSCEV(IV)))) { in collectAllRoots()
[all …]
/freebsd-9-stable/crypto/openssl/doc/crypto/
DEVP_BytesToKey.pod18 EVP_BytesToKey() derives a key and IV from various parameters. B<type> is
19 the cipher to derive the key and IV for. B<md> is the message digest to use.
23 iteration count to use. The derived key and IV will be written to B<key>
35 If the total key and IV length is less than the digest length and
44 The key and IV is derived by concatenating D_1, D_2, etc until
45 enough data is available for the key and IV. D_i is defined as:
54 the IV.
DEVP_SealInit.pod22 encryption. They generate a random key and IV (if required) then
27 with cipher B<type> using a random secret key and IV. B<type> is normally
37 The B<iv> parameter is a buffer where the generated IV is written to. It must
38 contain enough room for the corresponding cipher's IV, as determined by (for
41 If the cipher does not require an IV then the B<iv> parameter is ignored
DEVP_EncryptInit.pod106 and B<iv> is the IV to use (if necessary), the actual number of bytes
107 used for the key and IV depends on the cipher. It is possible to set
190 EVP_CIPHER_iv_length() and EVP_CIPHER_CTX_iv_length() return the IV
192 It will return zero if the cipher does not use an IV. The constant
193 B<EVP_MAX_IV_LENGTH> is the maximum IV length for all ciphers.
217 IV. The cipher IV (if any) must be set when this call is made. This call
224 In the case of RC2, for example, it will set the IV and effective key length.
226 the key is set. For example EVP_CipherInit() will be called with the IV and
263 EVP_CIPHER_iv_length() and EVP_CIPHER_CTX_iv_length() return the IV
264 length or zero if the cipher does not use an IV.
[all …]
/freebsd-9-stable/contrib/file/magic/Magdir/
Ddatabase248 # dBASE IV no memo file
249 >>0 ubyte 0x04 dBase IV
261 # dBASE IV SQL, no memo;dbv memo var size (Flagship)
262 >>0 ubyte 0x43 dBase IV, with SQL table
265 #>>0 ubyte 0x62 dBase IV, with SQL table
267 # dBASE IV, with memo!!
268 >>0 ubyte 0x7b dBase IV, with memo
271 #>>0 ubyte 0x82 dBase IV, with SQL system
282 # dBASE IV with memo!
283 >>0 ubyte 0x8B dBase IV, with memo .DBT
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DDereferenceChecker.cpp80 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(Ex); in AddDerefSource() local
82 << " ivar '" << IV->getDecl()->getName() << "')"; in AddDerefSource()
83 SourceLocation L = IV->getLocation(); in AddDerefSource()
151 const ObjCIvarRefExpr *IV = cast<ObjCIvarRefExpr>(S); in reportBug() local
152 os << "Access to instance variable '" << *IV->getDecl() in reportBug()
154 AddDerefSource(os, Ranges, IV->getBase()->IgnoreParenCasts(), in reportBug()
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DSparsePropagation.cpp234 LatticeVal IV = LatticeFunc->ComputeInstructionState(PN, *this); in visitPHINode() local
235 if (IV != LatticeFunc->getUntrackedVal()) in visitPHINode()
236 UpdateState(PN, IV); in visitPHINode()
284 LatticeVal IV = LatticeFunc->ComputeInstructionState(I, *this); in visitInst() local
285 if (IV != LatticeFunc->getUntrackedVal()) in visitInst()
286 UpdateState(I, IV); in visitInst()
/freebsd-9-stable/contrib/nvi/perl_api/
Dtypemap18 IV tmp = SvIV((SV*)SvRV($arg));
27 IV tmp = SvIV((SV*)SvRV($arg));
29 IV tmp2 = SvIV((SV*)SvRV((SV *)tmp));
/freebsd-9-stable/crypto/openssl/doc/apps/
Denc.pod20 [B<-iv IV>]
98 of hex digits. If only the key is specified, the IV must additionally specified
100 key given with the B<-K> option will be used and the IV generated from the
104 =item B<-iv IV>
106 the actual IV to use: this must be represented as a string comprised only
108 IV must explicitly be defined. When a password is being specified using
109 one of the other options, the IV is generated from this password.
113 print out the key and IV used.
117 print out the key and IV used then immediately exit: don't do any encryption
139 A password will be prompted for to derive the key and IV if necessary.
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DSemaExprMember.cpp1273 ObjCIvarDecl *IV = IDecl->lookupInstanceVariable(Member, ClassDeclared); in LookupMemberExpr() local
1275 if (!IV) { in LookupMemberExpr()
1282 IV = Corrected.getCorrectionDeclAs<ObjCIvarDecl>(); in LookupMemberExpr()
1289 Decl *D = cast<Decl>(IV->getDeclContext()); in LookupMemberExpr()
1314 if (IV->isInvalidDecl()) in LookupMemberExpr()
1318 if (DiagnoseUseOfDecl(IV, MemberLoc)) in LookupMemberExpr()
1320 if (IV->getAccessControl() != ObjCIvarDecl::Public && in LookupMemberExpr()
1321 IV->getAccessControl() != ObjCIvarDecl::Package) { in LookupMemberExpr()
1340 if (IV->getAccessControl() == ObjCIvarDecl::Private) { in LookupMemberExpr()
1344 << IV->getDeclName(); in LookupMemberExpr()
[all …]
/freebsd-9-stable/usr.bin/calendar/calendars/
Dcalendar.judaic38 2010/Apr/2* Pesach IV (CH''M)
74 2010/Sep/26* Sukkot IV (CH''M)
117 2011/4/22* Pesach IV (CH''M)
153 2011/10/16* Sukkot IV (CH''M)
192 2012/4/10* Pesach IV (CH''M)
228 2012/10/4* Sukkot IV (CH''M)
266 2013/3/29* Pesach IV (CH''M)
302 2013/9/22* Sukkot IV (CH''M)
345 2014/4/18* Pesach IV (CH''M)
381 2014/10/12* Sukkot IV (CH''M)
[all …]
/freebsd-9-stable/contrib/llvm/include/llvm/ADT/
DPointerIntPair.h170 uintptr_t IV = reinterpret_cast<uintptr_t>(V.getOpaqueValue());
171 return unsigned(IV) ^ unsigned(IV >> 9);
/freebsd-9-stable/tools/tools/net80211/wesside/
DREADME15 * Generates traffic on the network for weak IV attack:
21 [dics] and a packet with a known IV traverses the network.
/freebsd-9-stable/crypto/openssl/crypto/evp/
Devptests.txt79 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
97 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
129 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
217 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
238 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
276 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
/freebsd-9-stable/crypto/openssl/test/
Devptests.txt79 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
97 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
129 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
217 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
238 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
276 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
/freebsd-9-stable/contrib/wpa/wpa_supplicant/doc/docbook/
Dwpa_background.sgml35 40-bit keys, 24-bit initialization vector (IV), and CRC32 to
39 stream should be skipped), IV space is too small and IV reuse
/freebsd-9-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp172 if (ObjCIvarRefExpr *IV = dyn_cast<ObjCIvarRefExpr>(LHS)) { in isZeroingPropIvar() local
173 ObjCIvarDecl *IVDecl = IV->getDecl(); in isZeroingPropIvar()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp707 Value *IV = PN->getIncomingValue(i); in InsertUniqueBackedgeBlock() local
711 NewPN->addIncoming(IV, IBB); in InsertUniqueBackedgeBlock()
714 UniqueValue = IV; in InsertUniqueBackedgeBlock()
715 else if (UniqueValue != IV) in InsertUniqueBackedgeBlock()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp381 unsigned ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV);
383 void ObjCIvarBitfieldGroupDecl(ObjCIvarDecl *IV, std::string &Result);
385 void ObjCIvarBitfieldGroupType(ObjCIvarDecl *IV, std::string &Result);
387 void ObjCIvarBitfieldGroupOffset(ObjCIvarDecl *IV, std::string &Result);
389 QualType GetGroupRecordTypeForObjCIvarBitfield(ObjCIvarDecl *IV);
391 ObjCIvarDecl *IV,
475 Stmt *RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV);
3938 unsigned RewriteModernObjC::ObjCIvarBitfieldGroupNo(ObjCIvarDecl *IV) { in ObjCIvarBitfieldGroupNo() argument
3939 const ObjCInterfaceDecl *CDecl = IV->getContainingInterface(); in ObjCIvarBitfieldGroupNo()
3941 return IvarGroupNumber[IV]; in ObjCIvarBitfieldGroupNo()
[all …]
DRewriteObjC.cpp350 virtual Stmt *RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV) = 0;
542 virtual Stmt *RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV);
5432 IV = IDecl->ivar_begin(), IVEnd = IDecl->ivar_end(); in RewriteObjCClassMetaData() local
5433 IV != IVEnd; ++IV) in RewriteObjCClassMetaData()
5434 IVars.push_back(*IV); in RewriteObjCClassMetaData()
5921 Stmt *RewriteObjCFragileABI::RewriteObjCIvarRefExpr(ObjCIvarRefExpr *IV) { in RewriteObjCIvarRefExpr() argument
5922 SourceRange OldRange = IV->getSourceRange(); in RewriteObjCIvarRefExpr()
5923 Expr *BaseExpr = IV->getBase(); in RewriteObjCIvarRefExpr()
5929 IV->setBase(BaseExpr); in RewriteObjCIvarRefExpr()
5932 ObjCIvarDecl *D = IV->getDecl(); in RewriteObjCIvarRefExpr()
[all …]
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DExprEngineC.cpp691 APSInt IV; in VisitOffsetOfExpr() local
692 if (OOE->EvaluateAsInt(IV, getContext())) { in VisitOffsetOfExpr()
693 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType())); in VisitOffsetOfExpr()
696 assert(IV.isSigned() == OOE->getType()->isSignedIntegerType()); in VisitOffsetOfExpr()
697 SVal X = svalBuilder.makeIntVal(IV); in VisitOffsetOfExpr()
/freebsd-9-stable/crypto/openssh/
DPROTOCOL.key58 The KDF is used to derive a key, IV (and other values required by

1234