Home
last modified time | relevance | path

Searched refs:MAC_KEY_LENGTH (Results 1 – 2 of 2) sorted by relevance

/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java81 public static final int MAC_KEY_LENGTH = 32; field in EncryptedDocument
109 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];
DVaultProvider.java20 import static com.example.android.vault.EncryptedDocument.MAC_KEY_LENGTH;
194 final byte[] rawMacKey = new byte[MAC_KEY_LENGTH]; in loadOrGenerateKeys()