| /frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
| D | MessageDigestPerfTest.java | 98 public void time(Algorithm algorithm) throws Exception { in time() 109 public void timeLargeArray(Algorithm algorithm) throws Exception { in timeLargeArray() 120 public void timeSmallChunkOfLargeArray(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeArray() 131 public void timeSmallByteBuffer(Algorithm algorithm) throws Exception { in timeSmallByteBuffer() 144 public void timeSmallDirectByteBuffer(Algorithm algorithm) throws Exception { in timeSmallDirectByteBuffer() 157 public void timeLargeByteBuffer(Algorithm algorithm) throws Exception { in timeLargeByteBuffer() 170 public void timeLargeDirectByteBuffer(Algorithm algorithm) throws Exception { in timeLargeDirectByteBuffer() 183 public void timeSmallChunkOfLargeByteBuffer(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeByteBuffer() 196 public void timeSmallChunkOfLargeDirectByteBuffer(Algorithm algorithm) throws Exception { in timeSmallChunkOfLargeDirectByteBuffer()
|
| D | SignaturePerfTest.java | 90 public void setUp(Algorithm algorithm) throws Exception { in setUp() 117 public void timeSign(Algorithm algorithm, Implementation implementation) throws Exception { in timeSign() 140 public void timeVerify(Algorithm algorithm, Implementation implementation) throws Exception { in timeVerify()
|
| D | KeyPairGeneratorPerfTest.java | 62 public void setUp(Algorithm algorithm, Implementation implementation) throws Exception { in setUp() 78 public void time(Algorithm algorithm, Implementation implementation) throws Exception { in time()
|
| /frameworks/base/services/backup/java/com/android/server/backup/utils/ |
| D | PasswordUtils.java | 53 public static SecretKey buildPasswordKey(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordKey() 67 public static String buildPasswordHash(String algorithm, String pw, byte[] salt, int rounds) { in buildPasswordHash() 109 public static byte[] makeKeyChecksum(String algorithm, byte[] pwBytes, byte[] salt, in makeKeyChecksum() 120 private static SecretKey buildCharArrayKey(String algorithm, char[] pwArray, byte[] salt, in buildCharArrayKey()
|
| /frameworks/base/core/java/android/security/net/config/ |
| D | Pin.java | 39 public static boolean isSupportedDigestAlgorithm(String algorithm) { in isSupportedDigestAlgorithm() 48 public static int getDigestLength(String algorithm) { in getDigestLength()
|
| /frameworks/base/keystore/java/android/security/keystore2/ |
| D | AndroidKeyStoreProvider.java | 151 private void putSecretKeyFactoryImpl(String algorithm) { in putSecretKeyFactoryImpl() 155 private void putKeyFactoryImpl(String algorithm) { in putKeyFactoryImpl() 217 @NonNull KeyStoreSecurityLevel iSecurityLevel, int algorithm) in makeAndroidKeyStorePublicKeyFromKeyEntryResponse() 316 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
|
| D | AndroidKeyStoreBCWorkaroundProvider.java | 246 private void putMacImpl(String algorithm, String implClass) { in putMacImpl() 262 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
|
| D | AndroidKeyStoreSecretKey.java | 34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
|
| D | AndroidKeyStorePrivateKey.java | 34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
|
| D | AndroidKeyStoreEdECPrivateKey.java | 37 @NonNull String algorithm, in AndroidKeyStoreEdECPrivateKey()
|
| D | AndroidKeyStoreXDHPrivateKey.java | 40 @NonNull String algorithm, in AndroidKeyStoreXDHPrivateKey()
|
| D | AndroidKeyStorePublicKey.java | 40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
|
| D | AndroidKeyStoreXDHPublicKey.java | 58 @NonNull String algorithm, in AndroidKeyStoreXDHPublicKey()
|
| D | AndroidKeyStoreKey.java | 58 @NonNull String algorithm, in AndroidKeyStoreKey()
|
| D | AndroidKeyStoreEdECPublicKey.java | 70 @NonNull String algorithm, in AndroidKeyStoreEdECPublicKey()
|
| D | AndroidKeyStoreKeyAgreementSpi.java | 187 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
|
| /frameworks/base/core/java/android/security/keystore/recovery/ |
| D | KeyDerivationParams.java | 101 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams() 108 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
|
| /frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
| D | BlobHandle.java | 62 @NonNull public final String algorithm; field in BlobHandle 92 private BlobHandle(String algorithm, byte[] digest, CharSequence label, long expiryTimeMillis, in BlobHandle() 110 public static @NonNull BlobHandle create(@NonNull String algorithm, @NonNull byte[] digest, in create()
|
| /frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
| D | DrmPlugin.h | 178 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setCipherAlgorithm() 186 const Vector<uint8_t>& sessionId, const String8& algorithm) { in setMacAlgorithm() 249 const String8& algorithm, in signRSA()
|
| /frameworks/av/media/ndk/fuzzer/ |
| D | ndk_drm_fuzzer.cpp | 265 std::string algorithm = kMacAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local 275 std::string algorithm = kMacAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local 286 std::string algorithm = kCipherAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local 300 std::string algorithm = kCipherAlgorithm[mFdp.ConsumeBool()]; in invokeDrmDecryptEncryptAPI() local
|
| /frameworks/base/core/java/android/text/ |
| D | TextDirectionHeuristics.java | 138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl() 178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
|
| /frameworks/base/core/tests/coretests/src/android/net/http/ |
| D | DefaultHttpClientTest.java | 131 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm()
|
| /frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
| D | MediaDrmSigner.java | 134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
|
| /frameworks/av/drm/libmediadrm/ |
| D | DrmHal.cpp | 213 DrmStatus DrmHal::setCipherAlgorithm(Vector<uint8_t> const& sessionId, String8 const& algorithm) { in setCipherAlgorithm() 219 DrmStatus DrmHal::setMacAlgorithm(Vector<uint8_t> const& sessionId, String8 const& algorithm) { in setMacAlgorithm() 255 DrmStatus DrmHal::signRSA(Vector<uint8_t> const& sessionId, String8 const& algorithm, in signRSA()
|
| /frameworks/base/keystore/java/android/security/keystore/ |
| D | KeyProperties.java | 253 public static int toKeymasterAsymmetricKeyAlgorithm( in toKeymasterAsymmetricKeyAlgorithm() 279 public static int toKeymasterSecretKeyAlgorithm( in toKeymasterSecretKeyAlgorithm() 328 public static int toKeymasterDigest(@NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterDigest()
|