Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A 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()
H A 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()
H A 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()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A 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()
/aosp14/system/core/trusty/keymaster/set_attestation_key/
H A Dset_attestation_key.cpp86 keymaster_algorithm_t algorithm; member
113 keymaster_algorithm_t algorithm; member
118 static int set_attestation_key_or_cert_bin(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_bin()
136 static int set_attestation_key_or_cert_pem(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_pem()
172 static int set_attestation_key_or_cert_iecs(uint32_t cmd, keymaster_algorithm_t algorithm, in set_attestation_key_or_cert_iecs()
214 static int str_to_algorithm(keymaster_algorithm_t* algorithm, const xmlChar* algorithm_str) { in str_to_algorithm()
229 keymaster_algorithm_t algorithm; in set_attestation_key_or_cert() local
267 const xmlChar* algorithm = NULL; in process_xml() local
/aosp14/frameworks/base/core/java/android/security/net/config/
H A DPin.java39 public static boolean isSupportedDigestAlgorithm(String algorithm) { in isSupportedDigestAlgorithm()
48 public static int getDigestLength(String algorithm) { in getDigestLength()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A 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()
H A DAndroidKeyStoreBCWorkaroundProvider.java246 private void putMacImpl(String algorithm, String implClass) { in putMacImpl()
262 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
H A DAndroidKeyStoreSecretKey.java34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
H A DAndroidKeyStorePrivateKey.java34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
H A DAndroidKeyStoreEdECPrivateKey.java37 @NonNull String algorithm, in AndroidKeyStoreEdECPrivateKey()
H A DAndroidKeyStoreXDHPrivateKey.java40 @NonNull String algorithm, in AndroidKeyStoreXDHPrivateKey()
H A DAndroidKeyStorePublicKey.java40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
H A DAndroidKeyStoreXDHPublicKey.java58 @NonNull String algorithm, in AndroidKeyStoreXDHPublicKey()
H A DAndroidKeyStoreEdECPublicKey.java70 @NonNull String algorithm, in AndroidKeyStoreEdECPublicKey()
H A DAndroidKeyStoreKey.java58 @NonNull String algorithm, in AndroidKeyStoreKey()
H A DAndroidKeyStoreKeyAgreementSpi.java187 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
/aosp14/frameworks/base/core/java/android/security/keystore/recovery/
H A DKeyDerivationParams.java101 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt) { in KeyDerivationParams()
108 private KeyDerivationParams(@KeyDerivationAlgorithm int algorithm, @NonNull byte[] salt, in KeyDerivationParams()
/aosp14/frameworks/base/apex/blobstore/framework/java/android/app/blob/
H A 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()
/aosp14/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristics.java138 public TextDirectionHeuristicImpl(TextDirectionAlgorithm algorithm) { in TextDirectionHeuristicImpl()
178 private TextDirectionHeuristicInternal(TextDirectionAlgorithm algorithm, in TextDirectionHeuristicInternal()
/aosp14/frameworks/base/core/tests/coretests/src/android/net/http/
H A DDefaultHttpClientTest.java131 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm()
/aosp14/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/
H A DMediaDrmSigner.java134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
/aosp14/frameworks/base/keystore/java/android/security/keystore/
H A 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()
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
H A DBlobStoreManagerShellCommand.java181 public String algorithm = BlobHandle.ALGO_SHA_256; field in BlobStoreManagerShellCommand.ParsedArgs
/aosp14/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java246 final String algorithm = DIGEST_ALGORITHMS[i]; in initEntry() local
505 String algorithm = DIGEST_ALGORITHMS[i]; in verify() local

12