Home | History | Annotate | Download | only in crypto

Lines Matching defs:transformation

93                 String transformation = entry.getKey();
100 && transformation.equals("AES/ECB/NoPadding")) {
106 cipher = Cipher.getInstance(transformation, p);
115 getBaseAlgorithm(transformation));
123 params = AlgorithmParameters.getInstance(getBaseAlgorithm(transformation));
132 + ", algorithm " + transformation
138 + ", algorithm " + transformation
154 String transformation = entry.getKey();
158 cipher = Cipher.getInstance(transformation, p);
167 getBaseAlgorithm(transformation));
176 if (transformation.startsWith("ChaCha20") && tag.length < 16) {
181 if (transformation.contains("GCM")) {
196 + ", algorithm " + transformation
205 + ", algorithm " + transformation
241 * Returns the underlying cipher name given a cipher transformation. For example,
244 private static String getBaseAlgorithm(String transformation) {
245 if (transformation.contains("/")) {
246 return transformation.substring(0, transformation.indexOf('/'));
248 return transformation;