/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | X0017_StrongEncryptionHeader.java | 331 final int ivSize = ZipShort.getValue(data, offset); in parseFileFormat() local 332 this.ivData = new byte[ivSize]; in parseFileFormat() 333 System.arraycopy(data, offset + 4, this.ivData, 0, ivSize); in parseFileFormat() 335 this.format = ZipShort.getValue(data, offset + ivSize + 6); in parseFileFormat() 336 … this.algId = EncryptionAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + ivSize + 8)); in parseFileFormat() 337 this.bitlen = ZipShort.getValue(data, offset + ivSize + 10); in parseFileFormat() 338 this.flags = ZipShort.getValue(data, offset + ivSize + 12); in parseFileFormat() 340 final int erdSize = ZipShort.getValue(data, offset + ivSize + 14); in parseFileFormat() 342 System.arraycopy(data, offset + ivSize + 16, this.erdData, 0, erdSize); in parseFileFormat() 344 this.rcount = ZipLong.getValue(data, offset + ivSize + 16 + erdSize); in parseFileFormat() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/samplegrouping/ |
D | CencSampleEncryptionInformationGroupEntry.java | 38 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/ |
D | PBESecretKeyFactory.java | 20 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()
|
D | BCPBEKey.java | 22 int ivSize; field in BCPBEKey 36 int ivSize, in BCPBEKey() argument 45 this.ivSize = ivSize; in BCPBEKey() 118 return ivSize; in getIvSize()
|
D | PBE.java | 242 int ivSize, in makePBEParameters() argument 264 if (ivSize != 0) in makePBEParameters() 266 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters() 440 int ivSize) in makePBEParameters() argument 450 if (ivSize != 0) in makePBEParameters() 452 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters()
|
D | BaseWrapCipher.java | 77 private int ivSize; field in BaseWrapCipher 99 int ivSize) in BaseWrapCipher() argument 102 this.ivSize = ivSize; in BaseWrapCipher() 229 if (param instanceof KeyParameter && ivSize != 0) in engineInit() 233 iv = new byte[ivSize]; in engineInit()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | PBESecretKeyFactory.java | 24 private int ivSize; field in PBESecretKeyFactory 33 int ivSize) in PBESecretKeyFactory() argument 41 this.ivSize = ivSize; in PBESecretKeyFactory() 55 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 60 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 67 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
D | BCPBEKey.java | 26 int ivSize; field in BCPBEKey 40 int ivSize, in BCPBEKey() argument 49 this.ivSize = ivSize; in BCPBEKey() 122 return ivSize; in getIvSize()
|
D | PBE.java | 246 int ivSize, in makePBEParameters() argument 268 if (ivSize != 0) in makePBEParameters() 270 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters() 444 int ivSize) in makePBEParameters() argument 454 if (ivSize != 0) in makePBEParameters() 456 param = generator.generateDerivedParameters(keySize, ivSize); in makePBEParameters()
|
D | BaseWrapCipher.java | 81 private int ivSize; field in BaseWrapCipher 103 int ivSize) in BaseWrapCipher() argument 106 this.ivSize = ivSize; in BaseWrapCipher() 233 if (param instanceof KeyParameter && ivSize != 0) in engineInit() 237 iv = new byte[ivSize]; in engineInit()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/ |
D | AbstractSampleEncryptionBox.java | 25 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | PKCS5S1ParametersGenerator.java | 90 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()
|
D | OpenSSLPBEParametersGenerator.java | 112 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()
|
D | PKCS5S2ParametersGenerator.java | 136 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()
|
D | PKCS12ParametersGenerator.java | 192 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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | PKCS5S1ParametersGenerator.java | 92 int ivSize) in generateDerivedParameters() argument 95 ivSize = ivSize / 8; in generateDerivedParameters() 97 if ((keySize + ivSize) > digest.getDigestSize()) in generateDerivedParameters() 100 "Can't generate a derived key " + (keySize + ivSize) + " bytes long."); in generateDerivedParameters() 105 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
D | OpenSSLPBEParametersGenerator.java | 118 int ivSize) in generateDerivedParameters() argument 121 ivSize = ivSize / 8; in generateDerivedParameters() 123 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters() 125 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
D | PKCS5S2ParametersGenerator.java | 138 int ivSize) in generateDerivedParameters() argument 141 ivSize = ivSize / 8; in generateDerivedParameters() 143 byte[] dKey = generateDerivedKey(keySize + ivSize); in generateDerivedParameters() 145 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), dKey, keySize, ivSize); in generateDerivedParameters()
|
D | PKCS12ParametersGenerator.java | 194 int ivSize) in generateDerivedParameters() argument 197 ivSize = ivSize / 8; in generateDerivedParameters() 201 byte[] iv = generateDerivedKey(IV_MATERIAL, ivSize); in generateDerivedParameters() 203 return new ParametersWithIV(new KeyParameter(dKey, 0, keySize), iv, 0, ivSize); in generateDerivedParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 306 private int ivSize; field in DES.DESPBEKeyFactory 315 int ivSize) in DESPBEKeyFactory() argument 323 this.ivSize = ivSize; in DESPBEKeyFactory() 348 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 356 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 375 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/ |
D | DES.java | 328 private int ivSize; field in DES.DESPBEKeyFactory 337 int ivSize) in DESPBEKeyFactory() argument 345 this.ivSize = ivSize; in DESPBEKeyFactory() 370 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, null); in engineGenerateSecret() 378 param = PBE.Util.makePBEParameters(pbeSpec, scheme, digest, keySize, ivSize); in engineGenerateSecret() 397 … return new BCPBEKey(this.algName, this.algOid, scheme, digest, keySize, ivSize, pbeSpec, param); in engineGenerateSecret()
|
/external/boringssl/src/third_party/wycheproof_testvectors/ |
D | aes_gcm_test.txt | 7 [ivSize = 96] 418 [ivSize = 64] 441 [ivSize = 128] 654 [ivSize = 96] 1056 [ivSize = 128] 1260 [ivSize = 96] 1644 [ivSize = 128] 1848 [ivSize = 120] 1862 [ivSize = 160] 1876 [ivSize = 64] [all …]
|
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcphash_digest.c | 68 int ivSize = pAttr->ivSize; /* size of hash's IV */ in cpComputeDigest() local 79 CopyBlock(HASH_VALUE(pCtx), hash, ivSize); in cpComputeDigest()
|
D | pcphashmessage.c | 100 int ivSize = pAttr->ivSize; /* size of hash's IV */ variable 118 CopyBlock(iv, hash, ivSize);
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/ |
D | AES256SHA256Decoder.java | 47 final int ivSize = ((byte0 >> 6) & 1) + (byte1 & 0x0f); in decode() local 49 if (2 + saltSize + ivSize > coder.properties.length) { in decode() 55 System.arraycopy(coder.properties, 2 + saltSize, iv, 0, ivSize); in decode()
|