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.java72 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata() local
74 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
83 assertEquals(rawKey, unwrappedKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nullMetadata()
91 SecretKey rawKey = generateKey(); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata() local
93 WrappedKey wrappedKey = WrappedKey.fromSecretKey(wrappingKey, rawKey, NON_NULL_METADATA); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
102 assertEquals(rawKey, unwrappedKey); in fromSecretKey_createsWrappedKeyThatCanBeUnwrapped_nonNullMetadata()
109 SecretKey rawKey = generateKey(); in fromSecretKey_returnsAKeyWithTheGenerationIdOfTheWrappingKey() local
111 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()