/aosp_15_r20/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
H A D | JcaJceHelper.java | 36 String algorithm) in createCipher() 39 Mac createMac(String algorithm) in createMac() 42 KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 45 AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 48 AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 51 KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 54 KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 57 SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 60 KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 64 MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | DefaultJcaJceHelper.java | 37 String algorithm) in createCipher() 43 public Mac createMac(String algorithm) in createMac() 49 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 55 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 61 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 67 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 73 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 79 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 85 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 92 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | ProviderJcaJceHelper.java | 44 String algorithm) in createCipher() 50 public Mac createMac(String algorithm) in createMac() 56 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 62 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 68 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 74 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 80 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 86 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 92 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 99 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | NamedJcaJceHelper.java | 44 String algorithm) in createCipher() 50 public Mac createMac(String algorithm) in createMac() 56 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 62 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 68 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 74 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 80 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 86 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 92 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 99 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
/aosp_15_r20/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/util/ |
H A D | DefaultJcaJceHelper.java | 39 String algorithm) in createCipher() 45 public Mac createMac(String algorithm) in createMac() 51 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 57 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 63 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 69 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 75 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 81 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 87 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 94 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | JcaJceHelper.java | 38 String algorithm) in createCipher() 41 Mac createMac(String algorithm) in createMac() 44 KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 47 AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 50 AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 53 KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 56 KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 59 SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 62 KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 66 MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | ProviderJcaJceHelper.java | 46 String algorithm) in createCipher() 52 public Mac createMac(String algorithm) in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 76 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 82 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 88 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 94 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 101 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | NamedJcaJceHelper.java | 46 String algorithm) in createCipher() 52 public Mac createMac(String algorithm) in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 76 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 82 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 88 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 94 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 101 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
/aosp_15_r20/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
H A D | JcaJceHelper.java | 38 String algorithm) in createCipher() 41 Mac createMac(String algorithm) in createMac() 44 KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 47 AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 50 AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 53 KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 56 KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 59 SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 62 KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 66 MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | DefaultJcaJceHelper.java | 39 String algorithm) in createCipher() 45 public Mac createMac(String algorithm) in createMac() 51 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 57 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 63 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 69 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 75 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 81 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 87 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 94 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | NamedJcaJceHelper.java | 46 String algorithm) in createCipher() 52 public Mac createMac(String algorithm) in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 76 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 82 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 88 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 94 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 101 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
H A D | ProviderJcaJceHelper.java | 46 String algorithm) in createCipher() 52 public Mac createMac(String algorithm) in createMac() 58 public KeyAgreement createKeyAgreement(String algorithm) in createKeyAgreement() 64 public AlgorithmParameterGenerator createAlgorithmParameterGenerator(String algorithm) in createAlgorithmParameterGenerator() 70 public AlgorithmParameters createAlgorithmParameters(String algorithm) in createAlgorithmParameters() 76 public KeyGenerator createKeyGenerator(String algorithm) in createKeyGenerator() 82 public KeyFactory createKeyFactory(String algorithm) in createKeyFactory() 88 public SecretKeyFactory createSecretKeyFactory(String algorithm) in createSecretKeyFactory() 94 public KeyPairGenerator createKeyPairGenerator(String algorithm) in createKeyPairGenerator() 101 public MessageDigest createDigest(String algorithm) in createDigest() [all …]
|
/aosp_15_r20/device/linaro/dragonboard-kernel/android-6.1/ |
D | kernel_sbom.spdx.json | 147 "algorithm": "SHA1", string 157 "algorithm": "SHA1", string 167 "algorithm": "SHA1", string 177 "algorithm": "SHA1", string 187 "algorithm": "SHA1", string 197 "algorithm": "SHA1", string 207 "algorithm": "SHA1", string 217 "algorithm": "SHA1", string 227 "algorithm": "SHA1", string 237 "algorithm": "SHA1", string [all …]
|
/aosp_15_r20/device/linaro/dragonboard-kernel/android-5.15/ |
D | kernel_sbom.spdx.json | 145 "algorithm": "SHA1", string 155 "algorithm": "SHA1", string 165 "algorithm": "SHA1", string 175 "algorithm": "SHA1", string 185 "algorithm": "SHA1", string 195 "algorithm": "SHA1", string 205 "algorithm": "SHA1", string 215 "algorithm": "SHA1", string 225 "algorithm": "SHA1", string 235 "algorithm": "SHA1", string [all …]
|
/aosp_15_r20/device/linaro/dragonboard-kernel/android-6.6/ |
D | kernel_sbom.spdx.json | 164 "algorithm": "SHA1", string 174 "algorithm": "SHA1", string 184 "algorithm": "SHA1", string 194 "algorithm": "SHA1", string 204 "algorithm": "SHA1", string 214 "algorithm": "SHA1", string 224 "algorithm": "SHA1", string 234 "algorithm": "SHA1", string 244 "algorithm": "SHA1", string 254 "algorithm": "SHA1", string [all …]
|
/aosp_15_r20/device/linaro/dragonboard-kernel/android-mainline/ |
D | kernel_sbom.spdx.json | 149 "algorithm": "SHA1", string 159 "algorithm": "SHA1", string 169 "algorithm": "SHA1", string 179 "algorithm": "SHA1", string 189 "algorithm": "SHA1", string 199 "algorithm": "SHA1", string 209 "algorithm": "SHA1", string 219 "algorithm": "SHA1", string 229 "algorithm": "SHA1", string 239 "algorithm": "SHA1", string [all …]
|
/aosp_15_r20/prebuilts/r8/ |
H A D | r8.spdx.json | 73 "algorithm" : "SHA256", string 76 "algorithm" : "SHA1", string 96 "algorithm" : "SHA256", string 99 "algorithm" : "SHA1", string 119 "algorithm" : "SHA256", string 122 "algorithm" : "SHA1", string 142 "algorithm" : "SHA1", string 145 "algorithm" : "SHA256", string 165 "algorithm" : "SHA256", string 168 "algorithm" : "SHA1", string [all …]
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
H A D | CipherTest.java | 128 private static boolean isSupported(String algorithm, String provider) { in isSupported() 180 private static boolean isSupportedByBC(String algorithm) { in isSupportedByBC() 190 private static boolean isSupportedForWrapping(String algorithm) { in isSupportedForWrapping() 203 private synchronized static int getEncryptMode(String algorithm) { in getEncryptMode() 210 private synchronized static int getDecryptMode(String algorithm) { in getDecryptMode() 217 private static String getBaseAlgorithm(String algorithm) { in getBaseAlgorithm() 299 private static boolean isAsymmetric(String algorithm) { in isAsymmetric() 303 private static boolean isOnlyWrappingAlgorithm(String algorithm) { in isOnlyWrappingAlgorithm() 307 private static boolean isPBE(String algorithm) { in isPBE() 311 private static boolean isAEAD(String algorithm) { in isAEAD() [all …]
|
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
H A D | CipherTest.java | 120 private static boolean isSupported(String algorithm, String provider) { in isSupported() 172 private static boolean isSupportedByBC(String algorithm) { in isSupportedByBC() 186 private static boolean isSupportedForWrapping(String algorithm) { in isSupportedForWrapping() 199 private synchronized static int getEncryptMode(String algorithm) { in getEncryptMode() 206 private synchronized static int getDecryptMode(String algorithm) { in getDecryptMode() 213 private static String getBaseAlgorithm(String algorithm) { in getBaseAlgorithm() 295 private static boolean isAsymmetric(String algorithm) { in isAsymmetric() 299 private static boolean isOnlyWrappingAlgorithm(String algorithm) { in isOnlyWrappingAlgorithm() 303 private static boolean isPBE(String algorithm) { in isPBE() 307 private static boolean isAEAD(String algorithm) { in isAEAD() [all …]
|
/aosp_15_r20/external/sdk-platform-java/gax-java/gax/src/test/java/com/google/api/gax/retrying/ |
H A D | RetryAlgorithmTest.java | 48 RetryAlgorithm<Void> algorithm = in testCreateFirstAttempt() local 58 RetryAlgorithm<Void> algorithm = in testCreateFirstAttemptWithUnusedContext() local 69 RetryAlgorithm<Void> algorithm = in testCreateFirstAttemptWithContext() local 80 RetryAlgorithm<Void> algorithm = in testCreateFirstAttemptWithNullContext() local 91 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testNextAttempt() local 106 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testNextAttemptWithContext() local 121 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testShouldRetry() local 135 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testShouldRetry_usesTimedAlgorithm() local 151 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testShouldRetryWithContext() local 167 RetryAlgorithm<Object> algorithm = new RetryAlgorithm<>(resultAlgorithm, timedAlgorithm); in testShouldRetryWithContext_usesTimedAlgorithm() local [all …]
|
/aosp_15_r20/cts/tests/tests/keystore/src/android/keystore/cts/ |
H A D | KeyGeneratorTest.java | 270 public void testInitWithAlgParamsAndNullSecureRandom(KmType kmType, String algorithm) in testInitWithAlgParamsAndNullSecureRandom() 306 public void testDefaultKeySize(KmType kmType, String algorithm) throws Exception { in testDefaultKeySize() 412 public void testHmacKeySupportedSizes(KmType kmType, String algorithm) throws Exception { in testHmacKeySupportedSizes() 466 public void testHmacKeyOnlyOneDigestCanBeAuthorized(KmType kmType, String algorithm) in testHmacKeyOnlyOneDigestCanBeAuthorized() 528 public void testInitWithUnknownBlockModeFails(KmType kmType, String algorithm) { in testInitWithUnknownBlockModeFails() 548 public void testInitWithUnknownEncryptionPaddingFails(KmType kmType, String algorithm) { in testInitWithUnknownEncryptionPaddingFails() 568 public void testInitWithSignaturePaddingFails(KmType kmType, String algorithm) { in testInitWithSignaturePaddingFails() 587 public void testInitWithUnknownDigestFails(KmType kmType, String algorithm) { in testInitWithUnknownDigestFails() 616 KmType kmType, String algorithm) { in testInitWithKeyAlgorithmDigestMissingFromAuthorizedDigestFails() 652 KmType kmType, String algorithm) throws Exception { in testInitRandomizedEncryptionRequiredButViolatedFails() [all …]
|
/aosp_15_r20/external/tink/java_src/src/main/java/com/google/crypto/tink/subtle/ |
H A D | EngineFactory.java | 52 public JcePrimitiveT getInstance(String algorithm) throws GeneralSecurityException; in getInstance() 54 public JcePrimitiveT getInstance(String algorithm, List<Provider> preferredProviders) in getInstance() 68 public JcePrimitiveT getInstance(String algorithm) throws GeneralSecurityException { in getInstance() 73 public JcePrimitiveT getInstance(String algorithm, List<Provider> preferredProviders) in getInstance() 98 public JcePrimitiveT getInstance(String algorithm) throws GeneralSecurityException { in getInstance() 115 public JcePrimitiveT getInstance(String algorithm, List<Provider> preferredProviders) in getInstance() 134 public JcePrimitiveT getInstance(String algorithm) throws GeneralSecurityException { in getInstance() 150 public JcePrimitiveT getInstance(String algorithm, List<Provider> preferredProviders) in getInstance() 202 public JcePrimitiveT getInstance(String algorithm) throws GeneralSecurityException { in getInstance() 206 JcePrimitiveT getInstance(String algorithm, List<Provider> preferredProviders) in getInstance()
|
/aosp_15_r20/external/conscrypt/common/src/test/java/org/conscrypt/ |
H A D | MacTest.java | 77 String algorithm = entry[ALGORITHM_INDEX]; in knownAnswerTest() local 288 private SecretKeySpec findAnyKey(String algorithm) { in findAnyKey() 301 String algorithm = entry[ALGORITHM_INDEX]; in anyAlgorithmParametersThrows() local 342 private byte[] generateMacUsingUpdate(String algorithm, SecretKeySpec key, byte[] message) in generateMacUsingUpdate() 349 private byte[] generateMacUsingFinal(String algorithm, SecretKeySpec key, byte[] message) in generateMacUsingFinal() 355 private byte[] generateMac(String algorithm, SecretKeySpec key, ByteBuffer buffer) in generateMac() 360 private byte[] generateMac(String algorithm, SecretKeySpec key, ByteBuffer[] buffers) in generateMac() 369 private byte[] generateReusingMac(String algorithm, byte[] keyBytes, byte[] message) in generateReusingMac() 390 private byte[] generateReusingMacSameKey(String algorithm, SecretKeySpec key, byte[] message) in generateReusingMacSameKey() 403 private Mac getConscryptMac(String algorithm) throws Exception { in getConscryptMac() [all …]
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ |
H A D | MacTest.java | 81 String algorithm = entry[ALGORITHM_INDEX]; in knownAnswerTest() local 297 private SecretKeySpec findAnyKey(String algorithm) { in findAnyKey() 310 String algorithm = entry[ALGORITHM_INDEX]; in anyAlgorithmParametersThrows() local 351 private byte[] generateMacUsingUpdate(String algorithm, SecretKeySpec key, byte[] message) in generateMacUsingUpdate() 358 private byte[] generateMacUsingFinal(String algorithm, SecretKeySpec key, byte[] message) in generateMacUsingFinal() 364 private byte[] generateMac(String algorithm, SecretKeySpec key, ByteBuffer buffer) in generateMac() 369 private byte[] generateMac(String algorithm, SecretKeySpec key, ByteBuffer[] buffers) in generateMac() 378 private byte[] generateReusingMac(String algorithm, byte[] keyBytes, byte[] message) in generateReusingMac() 399 private byte[] generateReusingMacSameKey(String algorithm, SecretKeySpec key, byte[] message) in generateReusingMacSameKey() 412 private Mac getConscryptMac(String algorithm) throws Exception { in getConscryptMac() [all …]
|
/aosp_15_r20/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/ |
H A D | X509CertificateTest.java | 444 ServiceTester.test("CertificateFactory").withAlgorithm("X509").run((p, algorithm) -> { in testMismatchedAlgorithm() argument 464 .run((p, algorithm) -> { in testExplicitEcParams() argument 479 ServiceTester.test("CertificateFactory").withAlgorithm("X509").run((p, algorithm) -> { in testSigAlgName() argument 488 ServiceTester.test("CertificateFactory").withAlgorithm("X509").run((p, algorithm) -> { in testUnknownSigAlgOID() argument 503 .run((p, algorithm) -> { in unsupportedDigestType() argument 515 ServiceTester.test("CertificateFactory").withAlgorithm("X509").run((p, algorithm) -> { in invalidSignature() argument 524 tester.run((p, algorithm) -> { in testV1Cert() argument 560 tester.run((p, algorithm) -> { in testManyExtensions() argument 632 tester.run((p, algorithm) -> { in testBasicConstraints() argument 671 tester.run((p, algorithm) -> { in testLargeKeyUsage() argument [all …]
|