/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
H A 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()
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
H A 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()
|
/aosp14/system/core/trusty/keymaster/set_attestation_key/ |
H A D | set_attestation_key.cpp | 86 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 D | Pin.java | 39 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 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()
|
H A D | AndroidKeyStoreBCWorkaroundProvider.java | 246 private void putMacImpl(String algorithm, String implClass) { in putMacImpl() 262 private void putSignatureImpl(String algorithm, String implClass) { in putSignatureImpl()
|
H A D | AndroidKeyStoreSecretKey.java | 34 @NonNull KeyMetadata metadata, @NonNull String algorithm, in AndroidKeyStoreSecretKey()
|
H A D | AndroidKeyStorePrivateKey.java | 34 long keyId, @NonNull Authorization[] authorizations, @NonNull String algorithm, in AndroidKeyStorePrivateKey()
|
H A D | AndroidKeyStoreEdECPrivateKey.java | 37 @NonNull String algorithm, in AndroidKeyStoreEdECPrivateKey()
|
H A D | AndroidKeyStoreXDHPrivateKey.java | 40 @NonNull String algorithm, in AndroidKeyStoreXDHPrivateKey()
|
H A D | AndroidKeyStorePublicKey.java | 40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey()
|
H A D | AndroidKeyStoreXDHPublicKey.java | 58 @NonNull String algorithm, in AndroidKeyStoreXDHPublicKey()
|
H A D | AndroidKeyStoreEdECPublicKey.java | 70 @NonNull String algorithm, in AndroidKeyStoreEdECPublicKey()
|
H A D | AndroidKeyStoreKey.java | 58 @NonNull String algorithm, in AndroidKeyStoreKey()
|
H A D | AndroidKeyStoreKeyAgreementSpi.java | 187 protected SecretKey engineGenerateSecret(String algorithm) in engineGenerateSecret()
|
/aosp14/frameworks/base/core/java/android/security/keystore/recovery/ |
H A 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()
|
/aosp14/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | TextDirectionHeuristics.java | 138 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 D | DefaultHttpClientTest.java | 131 private void authenticateDigestAlgorithm(String algorithm) throws Exception { in authenticateDigestAlgorithm()
|
/aosp14/frameworks/base/media/lib/signer/java/com/android/mediadrm/signer/ |
H A D | MediaDrmSigner.java | 134 String algorithm, byte[] wrappedKey, byte[] message) { in signRSA()
|
/aosp14/frameworks/base/keystore/java/android/security/keystore/ |
H A 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()
|
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
H A D | BlobStoreManagerShellCommand.java | 181 public String algorithm = BlobHandle.ALGO_SHA_256; field in BlobStoreManagerShellCommand.ParsedArgs
|
/aosp14/frameworks/base/core/java/android/util/jar/ |
H A D | StrictJarVerifier.java | 246 final String algorithm = DIGEST_ALGORITHMS[i]; in initEntry() local 505 String algorithm = DIGEST_ALGORITHMS[i]; in verify() local
|