Home
last modified time | relevance | path

Searched refs:ivSize (Results 1 – 22 of 22) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/
DCencSampleEncryptionInformationGroupEntry.java38 private byte ivSize; field in CencSampleEncryptionInformationGroupEntry
44 ivSize = (byte) IsoTypeReader.readUInt8(byteBuffer); in parse()
54 IsoTypeWriter.writeUInt8(byteBuffer, ivSize); in get()
69 return ivSize; in getIvSize()
72 public void setIvSize(byte ivSize) { in setIvSize() argument
73 this.ivSize = ivSize; in setIvSize()
89 ", ivSize=" + ivSize + in toString()
108 if (ivSize != that.ivSize) { in equals()
121 result = 31 * result + (int) ivSize; in hashCode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DPBESecretKeyFactory.java20 private int ivSize; field in PBESecretKeyFactory
29 int ivSize) in PBESecretKeyFactory() argument
37 this.ivSize = ivSize; in PBESecretKeyFactory()
51 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret()
56 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret()
63 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
DBCPBEKey.java20 int ivSize; field in BCPBEKey
34 int ivSize, in BCPBEKey() argument
43 this.ivSize = ivSize; in BCPBEKey()
109 return ivSize; in getIvSize()
DBaseWrapCipher.java69 private int ivSize; field in BaseWrapCipher
86 int ivSize) in BaseWrapCipher() argument
89 this.ivSize = ivSize; in BaseWrapCipher()
176 if (param instanceof KeyParameter && ivSize != 0) in engineInit()
178 iv = new byte[ivSize]; in engineInit()
DPBE.java189 int ivSize, in makePBEParameters() argument
211 if (ivSize != 0) in makePBEParameters()
213 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters()
372 int ivSize) in makePBEParameters() argument
382 if (ivSize != 0) in makePBEParameters()
384 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/
DAbstractSampleEncryptionBox.java25 int ivSize = -1; field in AbstractSampleEncryptionBox
46 ivSize = IsoTypeReader.readUInt8(content); in _parseDetails()
47 useThisIvSize = ivSize; in _parseDetails()
102 return ivSize; in getIvSize()
105 public void setIvSize(int ivSize) { in setIvSize() argument
106 this.ivSize = ivSize; in setIvSize()
148 IsoTypeWriter.writeUInt8(byteBuffer, ivSize); in getContent()
154 byte[] ivFull = new byte[ivSize]; in getContent()
155 System.arraycopy(entry.iv, 0, ivFull, ivSize - entry.iv.length, entry.iv.length); in getContent()
201 size = ivSize; in getSize()
[all …]
/external/lzma/CPP/7zip/Crypto/
D7zAes.cpp142 UInt32 ivSize = _ivSize; in WriteCoderProperties() local
149 (((ivSize == 0) ? 0 : 1) << 6)); in WriteCoderProperties()
151 if (_key.SaltSize == 0 && ivSize == 0) in WriteCoderProperties()
154 Byte ivSizeSpec = (Byte)((ivSize == 0) ? 0 : (ivSize - 1)); in WriteCoderProperties()
161 if (ivSize > 0) in WriteCoderProperties()
163 RINOK(WriteStream(outStream, _iv, ivSize)); in WriteCoderProperties()
191 UInt32 ivSize = (firstByte >> 6) & 1; in SetDecoderProperties2() local
198 ivSize += (secondByte & 0x0F); in SetDecoderProperties2()
200 if (pos + _key.SaltSize + ivSize > size) in SetDecoderProperties2()
204 for (i = 0; i < ivSize; i++) in SetDecoderProperties2()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DPKCS5S1ParametersGenerator.java90 int ivSize) in generateDerivedParameters() argument
93 ivSize = ivSize / 8; in generateDerivedParameters()
95 if ((keySize + ivSize) > digest.getDigestSize()) in generateDerivedParameters()
98 "Can't generate a derived key " + (keySize + ivSize) + " bytes long."); in generateDerivedParameters()
103 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
DOpenSSLPBEParametersGenerator.java112 int ivSize) in generateDerivedParameters() argument
115 ivSize = ivSize / 8; in generateDerivedParameters()
117 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters()
119 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
DPKCS5S2ParametersGenerator.java136 int ivSize) in generateDerivedParameters() argument
139 ivSize = ivSize / 8; in generateDerivedParameters()
141 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters()
143 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
DPKCS12ParametersGenerator.java192 int ivSize) in generateDerivedParameters() argument
195 ivSize = ivSize / 8; in generateDerivedParameters()
199 byte[] iv = generateDerivedKey(IV_MATERIAL, ivSize); in generateDerivedParameters()
201 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), iv, 0, ivSize); in generateDerivedParameters()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DDES.java299 private int ivSize; field in DES.DESPBEKeyFactory
308 int ivSize) in DESPBEKeyFactory() argument
316 this.ivSize = ivSize; in DESPBEKeyFactory()
330 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret()
335 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret()
354 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
/external/tpm2/
DObject_spt.c720 UINT16 ivSize = 0; // size of iv area, including the size field in ProduceOuterWrap() local
733 ivSize = GetIV2BSize(protector); in ProduceOuterWrap()
736 ivRNG.t.size = ivSize - sizeof(UINT16); in ProduceOuterWrap()
743 sensitiveData += ivSize; in ProduceOuterWrap()
756 ComputeOuterIntegrity(name, protector, hashAlg, seed, dataSize + ivSize, in ProduceOuterWrap()
763 return dataSize + integritySize + ivSize; in ProduceOuterWrap()
874 UINT16 ivSize; in SensitiveToPrivate() local
894 ivSize = GetIV2BSize(parentHandle); in SensitiveToPrivate()
896 sensitiveData += ivSize; in SensitiveToPrivate()
908 sensitiveData = outPrivate->t.buffer + ivSize; in SensitiveToPrivate()
[all …]
Dpart4.txt7548 617 UINT16 ivSize = 0; // size of iv area, including the size field
7564 633 ivSize = GetIV2BSize(protector);
7568 637 ivRNG.t.size = ivSize - sizeof(UINT16);
7576 645 sensitiveData += ivSize;
7592 661 ComputeOuterIntegrity(name, protector, hashAlg, seed, dataSize + ivSize,
7600 669 return dataSize + integritySize + ivSize;
7729 763 UINT16 ivSize;
7760 789 ivSize = GetIV2BSize(parentHandle);
7763 792 sensitiveData += ivSize;
7777 806 sensitiveData = outPrivate->t.buffer + ivSize;
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
DSHA1.java140 int ivSize = -1; // JDK 1,2 and earlier does not understand simplified version. in engineGenerateSecret() local
143 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java85 public abstract CipherParameters generateDerivedParameters(int keySize, int ivSize); in generateDerivedParameters() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java56 private int ivSize; field in BaseCipherSpi
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...