This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git

commit 9fc51476f91704d5d111fee20b3e3ef88bd65778
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Dec 12 07:51:48 2022 -0500

    Format
---
 .../crypto/cipher/OpenSslFeedbackCipher.java       | 46 ++++++++++------------
 1 file changed, 21 insertions(+), 25 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/crypto/cipher/OpenSslFeedbackCipher.java 
b/src/main/java/org/apache/commons/crypto/cipher/OpenSslFeedbackCipher.java
index b49ba49..3eed438 100644
--- a/src/main/java/org/apache/commons/crypto/cipher/OpenSslFeedbackCipher.java
+++ b/src/main/java/org/apache/commons/crypto/cipher/OpenSslFeedbackCipher.java
@@ -1,20 +1,20 @@
- /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+/*
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.commons.crypto.cipher;
 
 import java.nio.ByteBuffer;
@@ -44,20 +44,16 @@ abstract class OpenSslFeedbackCipher {
         this.padding = padding;
     }
 
-    abstract void init(int mode, byte[] key, AlgorithmParameterSpec params)
-            throws InvalidAlgorithmParameterException;
+    abstract void init(int mode, byte[] key, AlgorithmParameterSpec params) 
throws InvalidAlgorithmParameterException;
 
-    abstract int update(ByteBuffer input, ByteBuffer output)
-            throws ShortBufferException;
+    abstract int update(ByteBuffer input, ByteBuffer output) throws 
ShortBufferException;
 
-    abstract int update(byte[] input, int inputOffset, int inputLen, byte[] 
output, int outputOffset)
-            throws ShortBufferException;
+    abstract int update(byte[] input, int inputOffset, int inputLen, byte[] 
output, int outputOffset) throws ShortBufferException;
 
     abstract int doFinal(byte[] input, int inputOffset, int inputLen, byte[] 
output, int outputOffset)
             throws ShortBufferException, IllegalBlockSizeException, 
BadPaddingException;
 
-    abstract int doFinal(ByteBuffer input, ByteBuffer output) throws 
ShortBufferException,
-            IllegalBlockSizeException, BadPaddingException;
+    abstract int doFinal(ByteBuffer input, ByteBuffer output) throws 
ShortBufferException, IllegalBlockSizeException, BadPaddingException;
 
     abstract void updateAAD(byte[] aad);
 

Reply via email to