Searched refs:MAC_KEY_LENGTH (Results 1 – 2 of 2) sorted by relevance
81 public static final int MAC_KEY_LENGTH = 32; field in EncryptedDocument109 if (macKey.getEncoded().length != MAC_KEY_LENGTH) { in EncryptedDocument()110 throw new IllegalArgumentException("Expected MAC key length " + MAC_KEY_LENGTH); in EncryptedDocument()361 final byte[] mac = new byte[MAC_KEY_LENGTH];
20 import static com.example.android.vault.EncryptedDocument.MAC_KEY_LENGTH;194 final byte[] rawMacKey = new byte[MAC_KEY_LENGTH]; in loadOrGenerateKeys()