Home
last modified time | relevance | path

Searched defs:algorithm (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DMessageDigestPerfTest.java98 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()
DSignaturePerfTest.java90 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()
DKeyPairGeneratorPerfTest.java62 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/
DPasswordUtils.java53 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/
DPin.java39 public static boolean isSupportedDigestAlgorithm(String algorithm) { in isSupportedDigestAlgorithm()
48 public static int getDigestLength(String algorithm) { in getDigestLength()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreProvider.java151 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()
DAndroidKeyStoreBCWorkaroundProvider.java246 private void putMacImpl(String algorithm, String implClass) { in putMacImpl()
262 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
DAndroidKeyStoreSecretKey.java34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
DAndroidKeyStorePrivateKey.java34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
DAndroidKeyStoreEdECPrivateKey.java37 @NonNull String algorithm, in AndroidKeyStoreEdECPrivateKey()
DAndroidKeyStoreXDHPrivateKey.java40 @NonNull String algorithm, in AndroidKeyStoreXDHPrivateKey()
DAndroidKeyStorePublicKey.java40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
DAndroidKeyStoreXDHPublicKey.java58 @NonNull String algorithm, in AndroidKeyStoreXDHPublicKey()
DAndroidKeyStoreKey.java58 @NonNull String algorithm, in AndroidKeyStoreKey()
DAndroidKeyStoreEdECPublicKey.java70 @NonNull String algorithm, in AndroidKeyStoreEdECPublicKey()
DAndroidKeyStoreKeyAgreementSpi.java187 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyDerivationParams.java101 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/
DBlobHandle.java62 @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/
DDrmPlugin.h178 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/
Dndk_drm_fuzzer.cpp265 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/
DTextDirectionHeuristics.java138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl()
178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java131 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm()
/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp213 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/
DKeyProperties.java253 public static int toKeymasterAsymmetricKeyAlgorithm( in toKeymasterAsymmetricKeyAlgorithm()
279 public static int toKeymasterSecretKeyAlgorithm( in toKeymasterSecretKeyAlgorithm()
328 public static int toKeymasterDigest(@NonNull @KeyAlgorithmEnum String algorithm) { in toKeymasterDigest()

123