Home
last modified time | relevance | path

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

/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java90 byte[] keyMaterial = new byte[32]; in testKeyStore_ImportWrappedKey()
91 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey()
104 keyMaterial, in testKeyStore_ImportWrappedKey() local
106 makeAuthList(keyMaterial.length * 8, KM_ALGORITHM_AES))); in testKeyStore_ImportWrappedKey()
153 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES()
154 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES()
167 keyMaterial, in testKeyStore_ImportWrappedKey_3DES() local
201 byte[] keyMaterial = kg.generateKey().getEncoded(); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
202 random.nextBytes(keyMaterial); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
207 keyMaterial, in testKeyStore_ImportWrappedKey_3DES_StrongBox() local
[all …]
DTransparentSecretKey.java31 public TransparentSecretKey(byte[] keyMaterial, String algorithm) { in TransparentSecretKey() argument
33 mKeyMaterial = keyMaterial.clone(); in TransparentSecretKey()
DBlockCipherTestBase.java1312 protected SecretKey importKey(byte[] keyMaterial) { in importKey() argument
1318 new KeyStore.SecretKeyEntry(new SecretKeySpec(keyMaterial, getKeyAlgorithm())), in importKey()