Home
last modified time | relevance | path

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

/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java79 public static final int DATA_KEY_LENGTH = 16; field in EncryptedDocument
106 if (dataKey.getEncoded().length != DATA_KEY_LENGTH) { in EncryptedDocument()
107 throw new IllegalArgumentException("Expected data key length " + DATA_KEY_LENGTH); in EncryptedDocument()
360 final byte[] iv = new byte[DATA_KEY_LENGTH];
DVaultProvider.java19 import static com.example.android.vault.EncryptedDocument.DATA_KEY_LENGTH;
175 final byte[] raw = new byte[DATA_KEY_LENGTH]; in loadOrGenerateKeys()
193 final byte[] rawDataKey = new byte[DATA_KEY_LENGTH]; in loadOrGenerateKeys()