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.java115 String rawKey = input.getKey(); in performRestore() local
116 int pos = rawKey.indexOf(':'); in performRestore()
118 String prefix = rawKey.substring(0, pos); in performRestore()
122 stream.key = rawKey.substring(pos+1); in performRestore()
126 Log.w(TAG, "Couldn't find helper for: '" + rawKey + "'"); in performRestore()
132 Log.w(TAG, "Entity with no prefix: '" + rawKey + "'"); in performRestore()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DWrappedKeyTest.java73 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() local
75 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
84 assertEquals(rawKey, unwrappedKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
92 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() local
94 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NON_NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
103 assertEquals(rawKey, unwrappedKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
110 SecretKey rawKey = generateKey(); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local
112 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey()
DRecoverableKeyGeneratorTest.java118 byte[] rawKey = mRecoverableKeyGenerator.generateAndStoreKey( in generateAndStoreKey_returnsRawMaterialOfCorrectLength()
121 assertEquals(KEY_SIZE_BYTES, rawKey.length); in generateAndStoreKey_returnsRawMaterialOfCorrectLength()
/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()