Searched refs:padding (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
H A DMyCipher.java53 protected void engineSetPadding(String padding) argument
55 if ((!"PKCS5Padding".equals(padding))
56 && (!"PKCS7Padding".equals(padding))) {
57 throw new NoSuchPaddingException(padding);
/libcore/benchmarks/src/benchmarks/regression/
H A DCipherBenchmark.java67 @Param private Padding padding; field in class:CipherBenchmark
101 + padding.toString();
H A DR.java1952 public static final int padding = 0; field in class:R
/libcore/ojluni/src/main/java/javax/crypto/
H A DNullCipherSpi.java50 public void engineSetPadding(String padding) {} argument
H A DCipherSpi.java63 * padding scheme.
68 * <li>"<i>algorithm/mode/padding</i>" or
74 * provider-specific default values for the mode and padding scheme are used).
82 * of <i>algorithm/mode/padding</i>, or may decide to provide more generic
84 * <i>algorithm</i> or <i>algorithm/mode</i> or <i>algorithm//padding</i>
86 * in which case the requested mode and/or padding are set automatically by
100 * // pluggable mode and padding
107 * // specified "mode", with pluggable padding
114 * // specified "padding", with pluggable mode
115 * <code>Cipher.</code><i>algName//padding</
251 engineSetPadding(String padding) argument
[all...]
/libcore/tools/docs/crypto/src/java/libcore/java/security/
H A DListProviders.java56 // Ciphers come in algorithm/mode/padding combinations, and not all combinations are explicitly
110 for (String padding : CIPHER_PADDINGS) {
112 String name = s.getAlgorithm() + "/" + mode + "/" + padding;
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DMockCipherSpi.java208 protected void engineSetPadding(String padding) throws NoSuchPaddingException { argument
209 if (!"FOO".equals(padding)) {
H A DCipherTest.java433 // OAEP padding modes change the output and block size. SHA-1 is the default.
688 // OAEP padding modes change the output and block size. SHA-1 is the default.
1359 for (String padding : paddings) {
1360 final String algorithmName = algorithm + "/" + mode + "/" + padding;
1376 assertEquals("Ciphers seen with mode and padding but not base cipher",
1392 // specify the exact mode and padding they need and not
4135 * which uses no padding.
4141 fail("No padding mode delimiter: " + transformation);
4144 if (!paddingMode.toLowerCase().endsWith("padding")) {
4145 fail("No padding mod
[all...]
/libcore/tools/docs/crypto/
H A Dformat_supported_algorithm_table.py66 # The mode and padding are in lists because we are going to collapse
71 name, mode, padding = algorithm['name'].split('/')
75 [padding],
78 # Sort the tuples by all items except padding, then collapse
79 # items with all non-padding values the same (which will always be
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherSpiTest.java108 protected void engineSetPadding(String padding) throws NoSuchPaddingException { argument
109 super.engineSetPadding(padding);
453 protected void engineSetPadding(String padding) argument
H A DCipherOutputStream1Test.java226 protected void engineSetPadding(String padding) throws NoSuchPaddingException { argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java1113 protected void engineSetPadding(String padding) throws NoSuchPaddingException { argument

Completed in 277 milliseconds