Home
last modified time | relevance | path

Searched refs:mKeyGenerator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyGenerator.java30 private final KeyGenerator mKeyGenerator; field in TertiaryKeyGenerator
35 mKeyGenerator = KeyGenerator.getInstance(KEY_ALGORITHM); in TertiaryKeyGenerator()
36 mKeyGenerator.init(KEY_SIZE_BITS, secureRandom); in TertiaryKeyGenerator()
45 return mKeyGenerator.generateKey(); in generate()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyGenerator.java67 private final KeyGenerator mKeyGenerator; field in RecoverableKeyGenerator
73 mKeyGenerator = keyGenerator; in RecoverableKeyGenerator()
101 mKeyGenerator.init(KEY_SIZE_BITS); in generateAndStoreKey()
102 SecretKey key = mKeyGenerator.generateKey(); in generateAndStoreKey()