Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java53 protected void engineSetPadding(String padding) in engineSetPadding() argument
55 if ((!"PKCS5Padding".equals(padding)) in engineSetPadding()
56 && (!"PKCS7Padding".equals(padding))) { in engineSetPadding()
57 throw new NoSuchPaddingException(padding); in engineSetPadding()
/libcore/benchmarks/src/benchmarks/regression/
DCipherBenchmark.java67 @Param private Padding padding; field in CipherBenchmark
101 + padding.toString(); in setUp()
DR.java1952 public static final int padding = 0; field in R
/libcore/ojluni/src/main/java/javax/crypto/
DNullCipherSpi.java50 public void engineSetPadding(String padding) {} in engineSetPadding() argument
DCipherSpi.java251 protected abstract void engineSetPadding(String padding) in engineSetPadding() argument
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java106 protected void engineSetPadding(String padding) throws NoSuchPaddingException { in engineSetPadding() argument
107 super.engineSetPadding(padding); in engineSetPadding()
320 protected void engineSetPadding(String padding) in engineSetPadding() argument
/libcore/luni/src/test/java/libcore/javax/crypto/
DMockCipherSpi.java208 protected void engineSetPadding(String padding) throws NoSuchPaddingException { in engineSetPadding() argument
209 if (!"FOO".equals(padding)) { in engineSetPadding()
DCipherTest.java1236 for (String padding : paddings) { in test_getInstance()
1237 final String algorithmName = algorithm + "/" + mode + "/" + padding; in test_getInstance()
/libcore/ojluni/src/main/java/sun/security/ssl/
DHandshakeMessage.java123 byte[] padding = new byte[count]; in genPad()
124 Arrays.fill(padding, (byte)b); in genPad()
125 return padding; in genPad()