Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

OpenSSLCipher: add Ciphers to StandardNames

Change-Id: Ib990dd170d4c94ceea065748aceeb3bb4a297438
  • Loading branch information...
commit 5818245f0d132dc7fffd81d099ea7adb60be15f1 1 parent 9ac7276
Kenny Root kruton authored
20 support/src/test/java/libcore/java/security/StandardNames.java
@@ -434,6 +434,26 @@ private static void provideCipherPaddings(String algorithm, String newPaddings[]
434 434 provide("SecretKeyFactory", "PBEWITHSHAAND40BITRC4");
435 435 provide("SecretKeyFactory", "PBEWITHSHAANDTWOFISH-CBC");
436 436
  437 + // Needed by our OpenSSL provider
  438 + provide("Cipher", "AES/CBC/NOPADDING");
  439 + provide("Cipher", "AES/CBC/PKCS5PADDING");
  440 + provide("Cipher", "AES/CFB/NOPADDING");
  441 + provide("Cipher", "AES/CFB/PKCS5PADDING");
  442 + provide("Cipher", "AES/CTR/NOPADDING");
  443 + provide("Cipher", "AES/CTR/PKCS5PADDING");
  444 + provide("Cipher", "AES/ECB/NOPADDING");
  445 + provide("Cipher", "AES/ECB/PKCS5PADDING");
  446 + provide("Cipher", "AES/OFB/NOPADDING");
  447 + provide("Cipher", "AES/OFB/PKCS5PADDING");
  448 + provide("Cipher", "DESEDE/CBC/NOPADDING");
  449 + provide("Cipher", "DESEDE/CBC/PKCS5PADDING");
  450 + provide("Cipher", "DESEDE/CFB/NOPADDING");
  451 + provide("Cipher", "DESEDE/CFB/PKCS5PADDING");
  452 + provide("Cipher", "DESEDE/ECB/NOPADDING");
  453 + provide("Cipher", "DESEDE/ECB/PKCS5PADDING");
  454 + provide("Cipher", "DESEDE/OFB/NOPADDING");
  455 + provide("Cipher", "DESEDE/OFB/PKCS5PADDING");
  456 +
437 457 // removed LDAP
438 458 unprovide("CertStore", "LDAP");
439 459

0 comments on commit 5818245

Please sign in to comment.
Something went wrong with that request. Please try again.