Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 3 of 3) sorted by relevance

/development/samples/Vault/src/com/example/android/vault/
DEncryptedDocument.java361 final byte[] mac = new byte[MAC_KEY_LENGTH]; field in EncryptedDocument.Section
366 f.readFully(mac); in read()
372 f.write(mac); in write()
375 public void setMac(byte[] mac) { in setMac() argument
376 if (mac.length != this.mac.length) { in setMac()
379 System.arraycopy(mac, 0, this.mac, 0, this.mac.length); in setMac()
382 public void assertMac(byte[] mac) throws DigestException { in assertMac() argument
383 if (mac.length != this.mac.length) { in assertMac()
387 for (int i = 0; i < mac.length; i++) { in assertMac()
388 result |= mac[i] ^ this.mac[i]; in assertMac()
DVaultProvider.java189 final Mac mac = Mac.getInstance("HmacSHA256"); in loadOrGenerateKeys() local
190 mac.init(key); in loadOrGenerateKeys()
196 System.arraycopy(mac.doFinal(BLOB_DATA), 0, rawDataKey, 0, rawDataKey.length); in loadOrGenerateKeys()
197 System.arraycopy(mac.doFinal(BLOB_MAC), 0, rawMacKey, 0, rawMacKey.length); in loadOrGenerateKeys()
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv127 …,platform/external/lzma,fake_VTWJLiuGS1SWVzGYDBD5Eg@fakeemail.com,Compile lzma for windows and mac.
284 …89538849d1,platform/external/squashfs-tools,fake_0Badg8rmRu2qWSu23UD7sg@fakeemail.com,Fix mac build
1377 …22,platform/cts,fake_9uudh6JDSVyPdIGknfzR8Q@fakeemail.com,Reintroduce wifi mac address cts tests f…
4908 …arfbuzz_ng,fake_uOVDDjnTTxyz5sHhwaXbhQ@fakeemail.com,[ci] Whitelist more symbols and unbreak mac CI
5762 …1,platform/system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,base: hopefully fix the mac build.
6151 …08e1,platform/system/core,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,libcutils: sdk(mac) build error
6164 …m/system/core,fake_LhnpdyFrQyG9IHO3R92JvQ@fakeemail.com,Add definition of off64_t for mac os builds
6977 …2,platform/system/core,fake_LhnpdyFrQyG9IHO3R92JvQ@fakeemail.com,libziparchive: fix mac os breakage
7323 …form/system/core,fake_TKtbFpDGTEGasvBhGDq5XA@fakeemail.com,libcutils: sdk(mac) build error (part …
7463 …,fake_VTWJLiuGS1SWVzGYDBD5Eg@fakeemail.com,adb: use a custom thread to poll for usb devices on mac.
[all …]