- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
29 lines
872 B
Java
29 lines
872 B
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import java.security.InvalidKeyException;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzgjw extends zzgjx {
|
|
public zzgjw(byte[] bArr, int i) throws InvalidKeyException {
|
|
super(bArr, i);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzgjx
|
|
public final int zza() {
|
|
return 12;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzgjx
|
|
public final int[] zzb(int[] iArr, int i) {
|
|
int length = iArr.length;
|
|
if (length != 3) {
|
|
throw new IllegalArgumentException(String.format("ChaCha20 uses 96-bit nonces, but got a %d-bit nonce", Integer.valueOf(length * 32)));
|
|
}
|
|
int[] iArr2 = new int[16];
|
|
zzgjv.zzb(iArr2, this.zza);
|
|
iArr2[12] = i;
|
|
System.arraycopy(iArr, 0, iArr2, 13, 3);
|
|
return iArr2;
|
|
}
|
|
}
|