Exploit databaseDownload repository ZIP
GH-12737d57f49df9711fa1c097c9e9ec1d
nanopathi/framework_base_aosp10_r33_cve-2021-0472
Sources for CVE-2021-0472
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files53
nanopathi/framework_base_aosp10_r33_cve-2021-0472Revision 14f1ba804544
- ↑..Parent directory
- AndroidKeyStore3DESCipherSpi.java
- AndroidKeyStoreAuthenticatedAESCipherSpi.java
- AndroidKeyStoreBCWorkaroundProvider.java
- AndroidKeyStoreCipherSpiBase.java
- AndroidKeyStoreECDSASignatureSpi.java
- AndroidKeyStoreECPrivateKey.java
- AndroidKeyStoreECPublicKey.java
- AndroidKeyStoreHmacSpi.java
- AndroidKeyStoreKey.java
- AndroidKeyStoreKeyFactorySpi.java
- AndroidKeyStoreKeyGeneratorSpi.java
- AndroidKeyStoreKeyPairGeneratorSpi.java
- AndroidKeyStoreLoadStoreParameter.java
- AndroidKeyStorePrivateKey.java
- AndroidKeyStoreProvider.java
- AndroidKeyStorePublicKey.java
- AndroidKeyStoreRSACipherSpi.java
- AndroidKeyStoreRSAPrivateKey.java
- AndroidKeyStoreRSAPublicKey.java
- AndroidKeyStoreRSASignatureSpi.java
- AndroidKeyStoreSecretKey.java
- AndroidKeyStoreSecretKeyFactorySpi.java
- AndroidKeyStoreSignatureSpiBase.java
- AndroidKeyStoreSpi.java
- AndroidKeyStoreUnauthenticatedAESCipherSpi.java
- ArrayUtils.java
- AttestationUtils.java
- DelegatingX509Certificate.java
- DeviceIdAttestationException.java
- KeyAttestationException.java
- KeyExpiredException.java
- KeyGenParameterSpec.java
- KeyInfo.java
- KeyNotYetValidException.java
- KeyPermanentlyInvalidatedException.java
- KeyProperties.java
- KeyProtection.java
- KeyStoreConnectException.java
- KeyStoreCryptoOperation.java
- KeyStoreCryptoOperationChunkedStreamer.java
- KeyStoreCryptoOperationStreamer.java
- KeyStoreCryptoOperationUtils.java
- KeymasterUtils.java
- KeystoreResponse.java
- ParcelableKeyGenParameterSpec.aidl
- ParcelableKeyGenParameterSpec.java
- SecureKeyImportUnavailableException.java
- StrongBoxUnavailableException.java
- UserAuthArgs.java
- UserNotAuthenticatedException.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
keystore/java/android/security/keystore/KeyStoreCryptoOperationStreamer.java
Java · 1,895 bytes/*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.security.keystore;
import android.security.KeyStore;
import android.security.KeyStoreException;
/**
* Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
* {@code update} and {@code finish} operations.
*
* <p>The helper abstracts away to issues that need to be solved in most code that uses KeyStore's
* update and finish operations. Firstly, KeyStore's update operation can consume only a limited
* amount of data in one go because the operations are marshalled via Binder. Secondly, the update
* operation may consume less data than provided, in which case the caller has to buffer the
* remainder for next time. The helper exposes {@link #update(byte[], int, int) update} and
* {@link #doFinal(byte[], int, int, byte[], byte[]) doFinal} operations which can be used to
* conveniently implement various JCA crypto primitives.
*
* @hide
*/
interface KeyStoreCryptoOperationStreamer {
byte[] update(byte[] input, int inputOffset, int inputLength) throws KeyStoreException;
byte[] doFinal(byte[] input, int inputOffset, int inputLength, byte[] signature,
byte[] additionalEntropy) throws KeyStoreException;
long getConsumedInputSizeBytes();
long getProducedOutputSizeBytes();
}