Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

OpenSSLCipher: add Ciphers to StandardNames

Change-Id: Ib990dd170d4c94ceea065748aceeb3bb4a297438
  • Loading branch information...
commit 5818245f0d132dc7fffd81d099ea7adb60be15f1 1 parent 9ac7276
@kruton kruton authored
Showing with 20 additions and 0 deletions.
  1. +20 −0 support/src/test/java/libcore/java/security/StandardNames.java
View
20 support/src/test/java/libcore/java/security/StandardNames.java
@@ -434,6 +434,26 @@ private static void provideCipherPaddings(String algorithm, String newPaddings[]
provide("SecretKeyFactory", "PBEWITHSHAAND40BITRC4");
provide("SecretKeyFactory", "PBEWITHSHAANDTWOFISH-CBC");
+ // Needed by our OpenSSL provider
+ provide("Cipher", "AES/CBC/NOPADDING");
+ provide("Cipher", "AES/CBC/PKCS5PADDING");
+ provide("Cipher", "AES/CFB/NOPADDING");
+ provide("Cipher", "AES/CFB/PKCS5PADDING");
+ provide("Cipher", "AES/CTR/NOPADDING");
+ provide("Cipher", "AES/CTR/PKCS5PADDING");
+ provide("Cipher", "AES/ECB/NOPADDING");
+ provide("Cipher", "AES/ECB/PKCS5PADDING");
+ provide("Cipher", "AES/OFB/NOPADDING");
+ provide("Cipher", "AES/OFB/PKCS5PADDING");
+ provide("Cipher", "DESEDE/CBC/NOPADDING");
+ provide("Cipher", "DESEDE/CBC/PKCS5PADDING");
+ provide("Cipher", "DESEDE/CFB/NOPADDING");
+ provide("Cipher", "DESEDE/CFB/PKCS5PADDING");
+ provide("Cipher", "DESEDE/ECB/NOPADDING");
+ provide("Cipher", "DESEDE/ECB/PKCS5PADDING");
+ provide("Cipher", "DESEDE/OFB/NOPADDING");
+ provide("Cipher", "DESEDE/OFB/PKCS5PADDING");
+
// removed LDAP
unprovide("CertStore", "LDAP");
Please sign in to comment.
Something went wrong with that request. Please try again.