Home
last modified time | relevance | path

Searched refs:secureRandom (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DTertiaryKeyGenerator.java33 public TertiaryKeyGenerator(SecureRandom secureRandom) { in TertiaryKeyGenerator() argument
36 mKeyGenerator.init(KEY_SIZE_BITS, secureRandom); in TertiaryKeyGenerator()
DRecoverableKeyStoreSecondaryKeyManager.java57 RecoveryController recoveryController, SecureRandom secureRandom) { in RecoverableKeyStoreSecondaryKeyManager() argument
59 mSecureRandom = secureRandom; in RecoverableKeyStoreSecondaryKeyManager()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/
DChunkEncryptor.java44 public ChunkEncryptor(SecretKey secretKey, SecureRandom secureRandom) { in ChunkEncryptor() argument
46 this.mSecureRandom = secureRandom; in ChunkEncryptor()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java73 SecureRandom secureRandom = new SecureRandom(); in newSessionId() local
75 secureRandom.nextBytes(sessionId); in newSessionId()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java71 BackupPasswordManager(Context context, File baseStateDir, SecureRandom secureRandom) { in BackupPasswordManager() argument
73 mRng = secureRandom; in BackupPasswordManager()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java192 SecureRandom secureRandom = new SecureRandom(); in generateKeyClaimant() local
194 secureRandom.nextBytes(key); in generateKeyClaimant()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java205 result.initialize(secureRandom(SYNTHETIC_PASSWORD_LENGTH), in create()
206 secureRandom(SYNTHETIC_PASSWORD_LENGTH)); in create()
235 result.salt = secureRandom(PASSWORD_SALT_LENGTH); in create()
366 value = secureRandom(mWeaverConfig.valueSize); in weaverEnroll()
763 final byte[] secdiscardable = secureRandom(SECDISCARDABLE_LENGTH); in createTokenBasedSyntheticPassword()
765 tokenData.weaverSecret = secureRandom(mWeaverConfig.valueSize); in createTokenBasedSyntheticPassword()
1107 byte[] data = secureRandom(SECDISCARDABLE_LENGTH); in createSecdiscardable()
1161 protected static byte[] secureRandom(int length) { in secureRandom() method in SyntheticPasswordManager
/frameworks/base/core/tests/coretests/src/android/net/
DSSLSessionCacheTest.java72 SecureRandom secureRandom) throws KeyManagementException { in engineInit() argument