Home
last modified time | relevance | path

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

/system/iot/attestation/at-factory-tool/
Datftman.py681 algorithm_list = self._GetAlgorithmList(target)
682 algorithm = self._ChooseAlgorithm(algorithm_list)
872 algorithm_list = []
874 algorithm_list.append(int(algorithm_string.split(':')[0]))
875 return algorithm_list
877 def _ChooseAlgorithm(self, algorithm_list): argument
890 if not algorithm_list:
892 if EncryptionAlgorithm.ALGORITHM_CURVE25519 in algorithm_list:
894 elif EncryptionAlgorithm.ALGORITHM_P256 in algorithm_list:
Datftman_unittest.py626 algorithm_list = atft_manager._GetAlgorithmList(mock_target)
627 self.assertEqual(2, len(algorithm_list))
628 self.assertEqual(1, algorithm_list[0])
629 self.assertEqual(2, algorithm_list[1])