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.java456 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEmptyPlaintextEncryptsAndDecrypts() local
458 algorithm, encryptionKey, originalPlaintext); in testEmptyPlaintextEncryptsAndDecrypts()
464 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEmptyPlaintextEncryptsAndDecrypts()
471 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEmptyPlaintextEncryptsAndDecrypts()
508 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEncryptsAndDecryptsInterrupted() local
510 algorithm, encryptionKey, originalPlaintext); in testEncryptsAndDecryptsInterrupted()
517 cipher.init(Cipher.ENCRYPT_MODE, encryptionKey); in testEncryptsAndDecryptsInterrupted()
524 int modulusLengthBytes = (TestUtils.getKeySizeBits(encryptionKey) + 7) / 8; in testEncryptsAndDecryptsInterrupted()
561 Key encryptionKey = key.getKeystoreBackedEncryptionKey(); in testEncryptsAndDecryptsUsingCipherStreams() local
563 algorithm, encryptionKey, originalPlaintext); in testEncryptsAndDecryptsUsingCipherStreams()
[all …]