Home
last modified time | relevance | path

Searched refs:paddings (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherWrapThread.java26 CipherWrapThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherWrapThread() argument
27 super(name, keys, modes, paddings); in CipherWrapThread()
DCipherRSAThread.java26 CipherRSAThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherRSAThread() argument
27 super(name, keys, modes, paddings); in CipherRSAThread()
DCipherPBEThread.java30 CipherPBEThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherPBEThread() argument
31 super(name, keys, modes, paddings); in CipherPBEThread()
DCipherSymmetricKeyThread.java28 CipherSymmetricKeyThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherSymmetricKeyThread() argument
29 super(name, keys, modes, paddings); in CipherSymmetricKeyThread()
DCipherThread.java40 CipherThread(String name, int[] keys, String[] modes, String[] paddings) { in CipherThread() argument
44 paddingModeAr = paddings; in CipherThread()
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java118 Set<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings() local
119 if (paddings == null) { in provideCipherPaddings()
120 paddings = new HashSet<>(); in provideCipherPaddings()
121 CIPHER_PADDINGS.put(algorithm, paddings); in provideCipherPaddings()
123 paddings.addAll(Arrays.asList(newPaddings)); in provideCipherPaddings()
/libcore/ojluni/src/main/java/java/util/
DBase64.java652 int paddings = 0; in outLength() local
678 paddings++; in outLength()
680 paddings++; in outLength()
683 if (paddings == 0 && (len & 0x3) != 0) in outLength()
684 paddings = 4 - (len & 0x3); in outLength()
685 return 3 * ((len + 3) / 4) - paddings; in outLength()