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.java129 Set<String> paddings = CIPHER_PADDINGS.get(algorithm); in provideCipherPaddings() local
130 if (paddings == null) { in provideCipherPaddings()
131 paddings = new HashSet<>(); in provideCipherPaddings()
132 CIPHER_PADDINGS.put(algorithm, paddings); in provideCipherPaddings()
134 paddings.addAll(Arrays.asList(newPaddings)); in provideCipherPaddings()
/libcore/ojluni/src/main/java/java/util/
DBase64.java703 int paddings = 0; in decodedOutLength() local
729 paddings++; in decodedOutLength()
731 paddings++; in decodedOutLength()
734 if (paddings == 0 && (len & 0x3) != 0) in decodedOutLength()
735 paddings = 4 - (len & 0x3); in decodedOutLength()
742 return 3 * (int) ((len + 3L) / 4) - paddings; in decodedOutLength()