Home
last modified time | relevance | path

Searched refs:mIv (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStore3DESCipherSpi.java53 private byte[] mIv; field in AndroidKeyStore3DESCipherSpi
150 return ArrayUtils.cloneIfNotEmpty(mIv); in engineGetIV()
158 if ((mIv != null) && (mIv.length > 0)) { in engineGetParameters()
161 params.init(new IvParameterSpec(mIv)); in engineGetParameters()
210 mIv = ((IvParameterSpec) params).getIV(); in initAlgorithmSpecificParameters()
211 if (mIv == null) { in initAlgorithmSpecificParameters()
251 mIv = null; in initAlgorithmSpecificParameters()
254 mIv = ivSpec.getIV(); in initAlgorithmSpecificParameters()
255 if (mIv == null) { in initAlgorithmSpecificParameters()
262 if ((mIvRequired) && (mIv == null) && (isEncrypting())) { in getAdditionalEntropyAmountForBegin()
[all …]
DAndroidKeyStoreUnauthenticatedAESCipherSpi.java127 private byte[] mIv; field in AndroidKeyStoreUnauthenticatedAESCipherSpi
143 mIv = null; in resetAll()
202 mIv = ((IvParameterSpec) params).getIV(); in initAlgorithmSpecificParameters()
203 if (mIv == null) { in initAlgorithmSpecificParameters()
243 mIv = null; in initAlgorithmSpecificParameters()
246 mIv = ivSpec.getIV(); in initAlgorithmSpecificParameters()
247 if (mIv == null) { in initAlgorithmSpecificParameters()
254 if ((mIvRequired) && (mIv == null) && (isEncrypting())) { in getAdditionalEntropyAmountForBegin()
286 if ((mIvRequired) && (mIv != null)) { in addAlgorithmSpecificParametersToBegin()
288 KeymasterDefs.KM_TAG_NONCE, mIv in addAlgorithmSpecificParametersToBegin()
[all …]
DAndroidKeyStoreAuthenticatedAESCipherSpi.java263 private byte[] mIv; field in AndroidKeyStoreAuthenticatedAESCipherSpi
277 mIv = null; in resetAll()
318 if (mIv != null) { in addAlgorithmSpecificParametersToBegin()
319 parameters.add(KeyStore2ParameterUtils.makeBytes(KeymasterDefs.KM_TAG_NONCE, mIv)); in addAlgorithmSpecificParametersToBegin()
339 if (mIv == null) { in loadAlgorithmSpecificParametersFromBeginResult()
340 mIv = returnedIv; in loadAlgorithmSpecificParametersFromBeginResult()
341 } else if ((returnedIv != null) && (!Arrays.equals(returnedIv, mIv))) { in loadAlgorithmSpecificParametersFromBeginResult()
353 return ArrayUtils.cloneIfNotEmpty(mIv); in engineGetIV()
357 mIv = iv; in setIv()
361 return mIv; in getIv()
/frameworks/av/media/libstagefright/
DCryptoAsync.cpp38 size_t iv_len = (info->mIv != nullptr)? 16 : 0; in CryptoAsyncInfo()
47 mIvBuffer = ABuffer::CreateAsCopy((void*)info->mIv, iv_len); in CryptoAsyncInfo()
48 mIv = (uint8_t*)(mIvBuffer.get() != nullptr ? mIvBuffer.get()->data() : nullptr); in CryptoAsyncInfo()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h77 uint8_t *mIv{nullptr};
87 mIv(nullptr), in CodecCryptoInfo()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2259 mIv = env->GetByteArrayElements(mIvObj.get(), nullptr);
2277 if (mIv != nullptr) { in ~NativeCryptoInfo()
2278 mEnv->ReleaseByteArrayElements(mIvObj.get(), mIv, 0); in ~NativeCryptoInfo()
2297 jbyte *mIv{nullptr}; member
2315 if (cryptoInfo.mIv != nullptr) { in MediaCodecCryptoInfo()
2316 mIvBuffer = ABuffer::CreateAsCopy(cryptoInfo.mIv, 16); in MediaCodecCryptoInfo()
2317 mIv = (uint8_t*)(mIvBuffer.get() != nullptr ? mIvBuffer.get()->data() : nullptr); in MediaCodecCryptoInfo()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp538 info->mIv, in attachEncryptedBuffers()
583 (uint8_t*)info->mIv, in attachEncryptedBuffers()
950 info->mIv, in queueSecureInputBuffers()
1024 (uint8_t*)info->mIv, in queueSecureInputBuffers()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47198 Landroid/security/keystore/AndroidKeyStore3DESCipherSpi;->mIv:[B