Searched refs:secureRandom (Results 1 – 8 of 8) sorted by relevance
33 public TertiaryKeyGenerator(SecureRandom secureRandom) { in TertiaryKeyGenerator() argument36 mKeyGenerator.init(KEY_SIZE_BITS, secureRandom); in TertiaryKeyGenerator()
57 RecoveryController recoveryController, SecureRandom secureRandom) { in RecoverableKeyStoreSecondaryKeyManager() argument59 mSecureRandom = secureRandom; in RecoverableKeyStoreSecondaryKeyManager()
44 public ChunkEncryptor(SecretKey secretKey, SecureRandom secureRandom) { in ChunkEncryptor() argument46 this.mSecureRandom = secureRandom; in ChunkEncryptor()
73 SecureRandom secureRandom = new SecureRandom(); in newSessionId() local75 secureRandom.nextBytes(sessionId); in newSessionId()
71 BackupPasswordManager(Context context, File baseStateDir, SecureRandom secureRandom) { in BackupPasswordManager() argument73 mRng = secureRandom; in BackupPasswordManager()
192 SecureRandom secureRandom = new SecureRandom(); in generateKeyClaimant() local194 secureRandom.nextBytes(key); in generateKeyClaimant()
205 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
72 SecureRandom secureRandom) throws KeyManagementException { in engineInit() argument