Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 11 of 11) 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/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java113 for (String padding : CIPHER_PADDINGS) { in main()
115 String name = s.getAlgorithm() + "/" + mode + "/" + padding; in main()
/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/libcore/javax/crypto/
DMockCipherSpi.java208 protected void engineSetPadding(String padding) throws NoSuchPaddingException { in engineSetPadding() argument
209 if (!"FOO".equals(padding)) { in engineSetPadding()
/libcore/tools/docs/crypto/
Dformat_supported_algorithm_table.py91 name, mode, padding = algorithm['name'].split('/')
95 [padding],
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java108 protected void engineSetPadding(String padding) throws NoSuchPaddingException { in engineSetPadding() argument
109 super.engineSetPadding(padding); in engineSetPadding()
489 protected void engineSetPadding(String padding) in engineSetPadding() argument
DCipherOutputStream1Test.java226 protected void engineSetPadding(String padding) throws NoSuchPaddingException { in engineSetPadding() argument
/libcore/ojluni/src/main/java/java/math/
DBigDecimal.java1354 long padding = (long) lhs.scale - augend.scale; in add() local
1355 if (padding != 0) { // scales differ; alignment needed in add()
1356 BigDecimal arg[] = preAlign(lhs, augend, padding, mc); in add()
1386 private BigDecimal[] preAlign(BigDecimal lhs, BigDecimal augend, long padding, MathContext mc) { in preAlign() argument
1387 assert padding != 0; in preAlign() local
1391 if (padding < 0) { // lhs is big; augend is small in preAlign()