// 
// Decompiled by Procyon v0.6.0
// 

package com.google.crypto.tink.aead;

import com.google.crypto.tink.internal.TinkBugException;

public final class PredefinedAeadParameters
{
    public static final AesGcmParameters AES128_GCM;
    public static final AesGcmParameters AES256_GCM;
    public static final AesEaxParameters AES128_EAX;
    public static final AesEaxParameters AES256_EAX;
    public static final AesCtrHmacAeadParameters AES128_CTR_HMAC_SHA256;
    public static final AesCtrHmacAeadParameters AES256_CTR_HMAC_SHA256;
    public static final ChaCha20Poly1305Parameters CHACHA20_POLY1305;
    public static final XChaCha20Poly1305Parameters XCHACHA20_POLY1305;
    public static final XAesGcmParameters XAES_256_GCM_192_BIT_NONCE;
    public static final XAesGcmParameters XAES_256_GCM_192_BIT_NONCE_NO_PREFIX;
    public static final XAesGcmParameters XAES_256_GCM_160_BIT_NONCE_NO_PREFIX;
    @Deprecated
    public static final XAesGcmParameters X_AES_GCM_8_BYTE_SALT_NO_PREFIX;
    
    private PredefinedAeadParameters() {
    }
    
    static {
        AES128_GCM = TinkBugException.exceptionIsBug(() -> AesGcmParameters.builder().setIvSizeBytes(12).setKeySizeBytes(16).setTagSizeBytes(16).setVariant(AesGcmParameters.Variant.TINK).build());
        AES256_GCM = TinkBugException.exceptionIsBug(() -> AesGcmParameters.builder().setIvSizeBytes(12).setKeySizeBytes(32).setTagSizeBytes(16).setVariant(AesGcmParameters.Variant.TINK).build());
        AES128_EAX = TinkBugException.exceptionIsBug(() -> AesEaxParameters.builder().setIvSizeBytes(16).setKeySizeBytes(16).setTagSizeBytes(16).setVariant(AesEaxParameters.Variant.TINK).build());
        AES256_EAX = TinkBugException.exceptionIsBug(() -> AesEaxParameters.builder().setIvSizeBytes(16).setKeySizeBytes(32).setTagSizeBytes(16).setVariant(AesEaxParameters.Variant.TINK).build());
        AES128_CTR_HMAC_SHA256 = TinkBugException.exceptionIsBug(() -> AesCtrHmacAeadParameters.builder().setAesKeySizeBytes(16).setHmacKeySizeBytes(32).setTagSizeBytes(16).setIvSizeBytes(16).setHashType(AesCtrHmacAeadParameters.HashType.SHA256).setVariant(AesCtrHmacAeadParameters.Variant.TINK).build());
        AES256_CTR_HMAC_SHA256 = TinkBugException.exceptionIsBug(() -> AesCtrHmacAeadParameters.builder().setAesKeySizeBytes(32).setHmacKeySizeBytes(32).setTagSizeBytes(32).setIvSizeBytes(16).setHashType(AesCtrHmacAeadParameters.HashType.SHA256).setVariant(AesCtrHmacAeadParameters.Variant.TINK).build());
        CHACHA20_POLY1305 = ChaCha20Poly1305Parameters.create(ChaCha20Poly1305Parameters.Variant.TINK);
        XCHACHA20_POLY1305 = XChaCha20Poly1305Parameters.create(XChaCha20Poly1305Parameters.Variant.TINK);
        XAES_256_GCM_192_BIT_NONCE = TinkBugException.exceptionIsBug(() -> XAesGcmParameters.create(XAesGcmParameters.Variant.TINK, 12));
        XAES_256_GCM_192_BIT_NONCE_NO_PREFIX = TinkBugException.exceptionIsBug(() -> XAesGcmParameters.create(XAesGcmParameters.Variant.NO_PREFIX, 12));
        XAES_256_GCM_160_BIT_NONCE_NO_PREFIX = TinkBugException.exceptionIsBug(() -> XAesGcmParameters.create(XAesGcmParameters.Variant.NO_PREFIX, 8));
        X_AES_GCM_8_BYTE_SALT_NO_PREFIX = PredefinedAeadParameters.XAES_256_GCM_160_BIT_NONCE_NO_PREFIX;
    }
}
