Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java405 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEmptyPlaintextEncryptsAndDecrypts() local
407 algorithm, encryptionKey, originalPlaintext); in testEmptyPlaintextEncryptsAndDecrypts()
413 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEmptyPlaintextEncryptsAndDecrypts()
420 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEmptyPlaintextEncryptsAndDecrypts()
455 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEncryptsAndDecryptsInterrupted() local
457 algorithm, encryptionKey, originalPlaintext); in testEncryptsAndDecryptsInterrupted()
464 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEncryptsAndDecryptsInterrupted()
471 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEncryptsAndDecryptsInterrupted()
557 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired() local
559 algorithm, encryptionKey, originalPlaintext); in testEmptyPlaintextEncryptsAndDecryptsWhenUnlockedRequired()
[all …]