Searched refs:padding (Results 1 - 10 of 10) 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)) {
/libcore/tools/docs/crypto/
H A Dformat_supported_algorithm_table.py86 # The mode and padding are in lists because we are going to collapse
91 name, mode, padding = algorithm['name'].split('/')
95 [padding],
99 # Sort the tuples by all items except padding, then collapse
100 # 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

Completed in 215 milliseconds