Home
last modified time | relevance | path

Searched refs:algorithms (Results 1 – 12 of 12) sorted by relevance

/system/tpm/trunks/
Dtpm_state_impl.cc102 capability_data.data.algorithms.count != 1) { in Initialize()
106 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_RSA) { in Initialize()
108 capability_data.data.algorithms.alg_properties[0].alg_properties; in Initialize()
121 capability_data.data.algorithms.count != 1) { in Initialize()
125 if (capability_data.data.algorithms.alg_properties[0].alg == TPM_ALG_ECC) { in Initialize()
127 capability_data.data.algorithms.alg_properties[0].alg_properties; in Initialize()
Dtpm_state_test.cc141 data.data.algorithms.alg_properties[0].alg = alg_id; in GetValidAlgorithmData()
142 data.data.algorithms.alg_properties[0].alg_properties = value; in GetValidAlgorithmData()
218 rsa_data_.data.algorithms.alg_properties[0].alg_properties = ~0U; in TEST_F()
219 ecc_data_.data.algorithms.alg_properties[0].alg_properties = ~0U; in TEST_F()
337 rsa_data_.data.algorithms.count = 0; in TEST_F()
343 ecc_data_.data.algorithms.count = 0; in TEST_F()
Dtpm_generated.h1072 TPM_ALG_ID algorithms[MAX_ALG_LIST_SIZE]; member
1121 TPML_ALG_PROPERTY algorithms; member
Dtpm_generated.cc3570 if (arraysize(value.algorithms) < value.count) { in Serialize_TPML_ALG()
3574 result = Serialize_TPM_ALG_ID(value.algorithms[i], buffer); in Serialize_TPML_ALG()
3597 if (arraysize(value->algorithms) < value->count) { in Parse_TPML_ALG()
3603 &value->algorithms[i], in Parse_TPML_ALG()
4170 result = Serialize_TPML_ALG_PROPERTY(value.algorithms, buffer); in Serialize_TPMU_CAPABILITIES()
4269 &value->algorithms, in Parse_TPMU_CAPABILITIES()
/system/keymaster/
Dsoft_keymaster_device.cpp401 keymaster_algorithm_t** algorithms, in get_supported_algorithms() argument
406 if (!algorithms || !algorithms_length) in get_supported_algorithms()
411 return km1_dev->get_supported_algorithms(km1_dev, algorithms, algorithms_length); in get_supported_algorithms()
423 *algorithms = in get_supported_algorithms()
424 reinterpret_cast<keymaster_algorithm_t*>(malloc(*algorithms_length * sizeof(**algorithms))); in get_supported_algorithms()
425 if (!*algorithms) in get_supported_algorithms()
427 std::copy(response.results, response.results + response.results_length, *algorithms); in get_supported_algorithms()
Dandroid_keymaster.cpp112 const keymaster_algorithm_t* algorithms = context_->GetSupportedAlgorithms(&algorithm_count); in SupportedAlgorithms() local
116 response->results = dup_array(algorithms, algorithm_count); in SupportedAlgorithms()
Dandroid_keymaster_test_utils.cpp745 keymaster_algorithm_t** algorithms, in get_supported_algorithms() argument
747 return unwrap(dev)->get_supported_algorithms(unwrap(dev), algorithms, algorithms_length); in get_supported_algorithms()
/system/keymaster/include/keymaster/
Dsoft_keymaster_device.h110 keymaster_algorithm_t** algorithms,
/system/tpm/trunks/generator/
Draw_structures.txt2685 The TCG maintains a registry of all algorithms that have an assigned algorithm ID. That registry is…
2686 definitive list of algorithms that may be supported by a TPM.
2708 The implementation of some algorithms is dependent on the presence of other algorithms. When there …
2972 This would be one of the algorithms specified in
4819 the protection algorithms (hash and symmetric) are
6779 code that limits the algorithms that may be used with the
8623 Some asymmetric algorithms may not support both sign and decrypt being SET in the same key.
9910 A TPMI_ALG_HASH is an interface type of all the hash algorithms implemented on a specific TPM. Table
9911 57 is a list of the hash algorithms that have an algorithm ID assigned by the TCG and does not indi…
9912 the algorithms that will be accepted by a TPM.
[all …]
Draw_structures_fixed.txt2687 The TCG maintains a registry of all algorithms that have an assigned algorithm ID. That registry is…
2688 definitive list of algorithms that may be supported by a TPM.
2710 The implementation of some algorithms is dependent on the presence of other algorithms. When there …
2966 This would be one of the algorithms specified in
4815 the protection algorithms (hash and symmetric) are
6804 code that limits the algorithms that may be used with the
8651 Some asymmetric algorithms may not support both sign and decrypt being SET in the same key.
9938 A TPMI_ALG_HASH is an interface type of all the hash algorithms implemented on a specific TPM. Table
9939 57 is a list of the hash algorithms that have an algorithm ID assigned by the TCG and does not indi…
9940 the algorithms that will be accepted by a TPM.
[all …]
Draw_commands.txt2986 TPM2_PCR_Event() may be executed before the hash algorithms have been tested. However, until
2987 the hash algorithms have been tested, the contents of a PCR may not be used in any command if
3172 This command causes the TPM to perform a test of the selected algorithms.
3175 The toTest list indicates the algorithms that software would like the TPM to test in anticipation of
3184 The TPM will return in toDoList a list of algorithms that are yet to be tested. This list is not th…
3185 algorithms that are scheduled to be tested but the algorithms/functions that have not been tested. …
3186 the algorithms on the toTest list are scheduled to be tested by this command.
3187 Making toTest an empty list allows the determination of the algorithms that remain untested without
3199 If none of the algorithms listed in toTest is in the toDoList, then no tests will be performed.
3249 list of algorithms that should be tested
[all …]
Draw_commands_fixed.txt2986 TPM2_PCR_Event() may be executed before the hash algorithms have been tested. However, until
2987 the hash algorithms have been tested, the contents of a PCR may not be used in any command if
3172 This command causes the TPM to perform a test of the selected algorithms.
3175 The toTest list indicates the algorithms that software would like the TPM to test in anticipation of
3184 The TPM will return in toDoList a list of algorithms that are yet to be tested. This list is not th…
3185 algorithms that are scheduled to be tested but the algorithms/functions that have not been tested. …
3186 the algorithms on the toTest list are scheduled to be tested by this command.
3187 Making toTest an empty list allows the determination of the algorithms that remain untested without
3199 If none of the algorithms listed in toTest is in the toDoList, then no tests will be performed.
3249 list of algorithms that should be tested
[all …]