Searched refs:hashFunction (Results 1 – 3 of 3) sorted by relevance
71 HashFunction hashFunction = Hashing.sha512(); in calibrateMethod() local91 HashCode code1 = hashFunction.hashBytes(buffer); in calibrateMethod()93 HashCode code2 = hashFunction.hashBytes(buffer); in calibrateMethod()
983 Mac hashFunction = WifiConfigurationUtil.obtainMacRandHashFunction(uid); in testCalculatePersistentMacForConfiguration() local985 config, hashFunction); in testCalculatePersistentMacForConfiguration()1001 Mac hashFunction = mock(Mac.class); in testCalculatePersistentMacCatchesException() local1002 when(hashFunction.doFinal(any())).thenThrow(new ProviderException("error occurred")); in testCalculatePersistentMacCatchesException()1006 hashFunction)); in testCalculatePersistentMacCatchesException()
258 Mac hashFunction) { in calculatePersistentMacForConfiguration() argument259 if (config == null || hashFunction == null) { in calculatePersistentMacForConfiguration()264 hashedBytes = hashFunction.doFinal( in calculatePersistentMacForConfiguration()