Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java112 String rawKey = input.getKey(); in performRestore() local
113 int pos = rawKey.indexOf(':'); in performRestore()
115 String prefix = rawKey.substring(0, pos); in performRestore()
119 stream.key = rawKey.substring(pos+1); in performRestore()
123 Log.w(TAG, "Couldn't find helper for: '" + rawKey + "'"); in performRestore()
129 Log.w(TAG, "Entity with no prefix: '" + rawKey + "'"); in performRestore()
/frameworks/base/tools/obbtool/
Dpbkdf2gen.cpp60 unsigned char rawKey[KEY_BITS]; in main() local
63 ROUNDS, KEY_BITS, rawKey) != 1) { in main()
76 printf("%02x", rawKey[i]); in main()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java66 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped() local
68 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped()
77 assertEquals(rawKey, unwrappedKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped()
84 SecretKey rawKey = generateKey(); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local
86 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey()
DRecoverableKeyGeneratorTest.java102 byte[] rawKey = mRecoverableKeyGenerator.generateAndStoreKey( in generateAndStoreKey_returnsRawMaterialOfCorrectLength()
105 assertEquals(KEY_SIZE_BYTES, rawKey.length); in generateAndStoreKey_returnsRawMaterialOfCorrectLength()