what-the-bank/sources/org/bouncycastle/crypto/modes/AEADBlockCipher.java

34 lines
949 B
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package org.bouncycastle.crypto.modes;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.CipherParameters;
import org.bouncycastle.crypto.DataLengthException;
import org.bouncycastle.crypto.InvalidCipherTextException;
/* loaded from: classes6.dex */
public interface AEADBlockCipher {
int doFinal(byte[] bArr, int i) throws IllegalStateException, InvalidCipherTextException;
String getAlgorithmName();
byte[] getMac();
int getOutputSize(int i);
BlockCipher getUnderlyingCipher();
int getUpdateOutputSize(int i);
void init(boolean z, CipherParameters cipherParameters) throws IllegalArgumentException;
void processAADByte(byte b);
void processAADBytes(byte[] bArr, int i, int i2);
int processByte(byte b, byte[] bArr, int i) throws DataLengthException;
int processBytes(byte[] bArr, int i, int i2, byte[] bArr2, int i3) throws DataLengthException;
void reset();
}