Searched refs:aad (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DSecureBox.java325 private static byte[] aesGcmEncrypt(SecretKey key, byte[] nonce, byte[] plaintext, byte[] aad) argument
328 return aesGcmInternal(AesGcmOperation.ENCRYPT, key, nonce, plaintext, aad);
335 private static byte[] aesGcmDecrypt(SecretKey key, byte[] nonce, byte[] ciphertext, byte[] aad) argument
337 return aesGcmInternal(AesGcmOperation.DECRYPT, key, nonce, ciphertext, aad);
341 AesGcmOperation operation, SecretKey key, byte[] nonce, byte[] text, byte[] aad)
362 cipher.updateAAD(aad);
340 aesGcmInternal( AesGcmOperation operation, SecretKey key, byte[] nonce, byte[] text, byte[] aad) argument

Completed in 66 milliseconds